linux安装oracle1.增大swap空间,内存大于8G后swap跟内存同等大小即可 mkdir /home/swap cd /home/swap dd if=/dev/zero of=swapfile bs=1G count=31 mkswap swapfile ...
分类:
数据库 时间:
2015-01-22 14:56:28
阅读次数:
283
1.题目(HARD)A non-empty zero-indexed array A of N integers is given. A pair of integers (P, Q), such that 0 ≤ P ≤ Q < N, is called asliceof array A. The...
分类:
其他好文 时间:
2015-01-22 01:38:03
阅读次数:
1345
在mac上,R读取复制的data。很简单,一行命令read.table(pipe("pbpaste"))
分类:
系统相关 时间:
2015-01-21 08:57:53
阅读次数:
196
/// /// Adds the specified window to the chain of clipboard viewers. Clipboard viewer windows receive a WM_DRAWCLIPBOARD message whenever the...
分类:
其他好文 时间:
2015-01-20 10:15:21
阅读次数:
142
linux与windows共享剪贴板(clipboard)的方法先说两句废话,其实linux和windows之间不需要共享剪贴板,直接在putty中,按住SHIFT+鼠标选择就可以了。但是作为一种hack行为或者不用鼠标实现复制功能,就需要这种方法了。组合:putty+tmux+vim+mobait...
分类:
Windows程序 时间:
2015-01-20 00:53:52
阅读次数:
1139
How to solve this HARD issue1. Problem: A non-empty zero-indexed array A consisting of N integers is given.Apeakis an array element which is larger th...
分类:
其他好文 时间:
2015-01-19 22:34:06
阅读次数:
266
1. 上题目:Task descriptionA non-empty zero-indexed array A consisting of N integers is given.A triplet (X, Y, Z), such that 0 ≤ X 0)18 {19 ...
分类:
其他好文 时间:
2015-01-19 18:44:27
阅读次数:
295
Implement regular expression matching with support for '.' and
'*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire inp...
分类:
编程语言 时间:
2015-01-19 17:17:43
阅读次数:
142
1.播放声音的时候,如果是2d声音,确实可以显得声音很大,而且全屏都一样,没有空间衰减的概念,但是如果是3d声音,会有空间的概念,不过声音太小了 cnm,烦,一个音乐这么蛋疼 看了一下代码,如果是3d音效,默认被放到Vector3.zero中,改动了一下代码,变成了在技能释放的位置,但是觉得还是小。...
分类:
其他好文 时间:
2015-01-19 12:13:46
阅读次数:
137
要求
由用户随意给定一元二次方程系数a、b、c,计算一元二次方程的解
源码
import cmath #包含复数运算
import math
import sys
def get_float(msg, allow_zero):
x = No...
分类:
编程语言 时间:
2015-01-19 09:20:40
阅读次数:
186