node.js的安装下载了.tar.gz格式的源码,tar zxvf *.tar.gz$ cd node-*$ ./configure --prefix=/usr/local/node$ make$ make install配置Node.js$ cp /usr/local/node/bin/npm ...
分类:
Web程序 时间:
2014-07-14 08:17:10
阅读次数:
223
JDBC(Java Data Base Connectivity,java数据库连接)是一种用于执行SQL语句的Java API,可以为多种关系数据库提供统一访问,它由一组用Java语言编写的类和接口组成。JDBC 编程基本步骤一、装载驱动程序 String DriveName="net.sour....
分类:
数据库 时间:
2014-07-13 22:11:40
阅读次数:
368
PS::今天巴西又被虐了,做梦以为是3:1,醒来是3:0mysql> delimiter $$mysql> create procedure p3() -> MODIFIES SQL DATA -> BEGIN -> set @i=0; -> set @max=100; ...
分类:
其他好文 时间:
2014-07-13 21:32:50
阅读次数:
195
优化性能参数设置,在ngnix.conf中的http 层加上fastcgi参数如下:
http {
fastcgi_cache_path /usr/local/nginx/fastcgi_cache levels=1:2 keys_zone=TEST:10m inactive=5m;
fastcgi_connect_timeout=300;
fastcgi_send_timeout=30...
分类:
其他好文 时间:
2014-07-13 17:17:07
阅读次数:
218
这里记录下堆的相关操作。
op 1:
'''
@ data: the heap array
@ p : index of parent item
@ n : number of data
@@ Swap p and it's son items, make p the largest of them
'''
def swapForMaxHeap(data, n, p):
l...
分类:
其他好文 时间:
2014-07-13 17:07:15
阅读次数:
223
尽管指定了目的地,asmcmd cp命令还是在 +DATA/ASM 下创建文件...
分类:
其他好文 时间:
2014-07-13 16:47:51
阅读次数:
237
All relative paths in this config are relative to php's install prefix
Pid file
/usr/local/php/logs/php-fpm.pid
Error log file
/usr/local/php/logs/php-fpm.log
Log level
notice
Whe...
分类:
Web程序 时间:
2014-07-13 16:26:05
阅读次数:
248
[root@luozhonghua etc]# /usr/local/php/sbin/php-fpm start
Starting php_fpm Jul 12 09:41:02.077951 [ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool 'default'
...
分类:
其他好文 时间:
2014-07-13 16:20:24
阅读次数:
225
The Java Connections FrameWork is a group of class or method and interfacs in the java.util package. Its main purpose is to provide a unified framework for implementing common data structure. A collec...
分类:
编程语言 时间:
2014-07-13 13:43:20
阅读次数:
218
Design an algorithm and write code to find the first common ancestory of two nodes in a binary tree. Avoid storing additional nodes in data structure....
分类:
其他好文 时间:
2014-07-13 13:24:21
阅读次数:
279