Windows下安装npm和express1.如果不能在线安装,可以下载npm的zip解压到本地,然后把下面的bin目录加入到path中。2.搞定npm后,执行了npm install express -g,dos的命令行一直卡着执行不下去,这个时候执行“npmconfig set registry...
分类:
Web程序 时间:
2014-07-07 17:09:34
阅读次数:
214
题目
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down...
分类:
其他好文 时间:
2014-06-30 11:10:34
阅读次数:
211
总结:新搭编译安装的 nginx+php+mysql环境,运行之前开发的项目遇到了没有安装pdo的问题
1.进入到php5的源码包里面,ext下面,找到pdo_mysql文件夹
首先执行:/usr/loca/php5/bin/phpize
2.进行编译。
./configure --with-php-config=/usr/local/php5/bin/php-config --with-...
分类:
数据库 时间:
2014-06-30 10:05:01
阅读次数:
216
Linux下Memcached的安装步骤,如果出现/usr/local/memcached/bin/memcached: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory异常在/etc/ld.so.conf中加入/usr/local/lib这一行,保存之后,再运行:/sbin/ldconfig –v更新一下配置即可。...
分类:
系统相关 时间:
2014-06-30 09:20:50
阅读次数:
320
本篇介绍从Solaris、Linux、Windows或VxWorks创建VxWorks启动盘的方法。
从Solaris或Linux创建启动盘
使用Solaris或Linux自带的工具/usr/bin/fdformat。它需要一个引导加载程序vxld.bin,位置为安装目录下的$WIND_BASE/host/$WIND_HOST_TYPE/bin/vxld.bin。
...
分类:
其他好文 时间:
2014-06-30 08:47:06
阅读次数:
200
使用sqoop-1.4.4.bin__hadoop-2.0.4-alpha将Oracle11g数据导入HBase0.96...
分类:
数据库 时间:
2014-06-30 08:21:16
阅读次数:
356
#!/bin/sh
#****************************************************************#
# ScriptName: gccall.sh
# Function: compile *.c in current dir
#***********************************************************...
分类:
其他好文 时间:
2014-06-30 08:05:59
阅读次数:
146
#!/bin/sh
#****************************************************************#
# ScriptName: gccmodify.sh
# Function: compile *.c which mtime is 0 (in 24 hours) in current dir
#*************************...
分类:
其他好文 时间:
2014-06-30 08:04:56
阅读次数:
168
题目
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operations permitte...
分类:
其他好文 时间:
2014-06-30 00:46:38
阅读次数:
262
1、域名查询接口采用HTTP,POST,GET协议:调用URL:http://panda.www.net.cn/cgi-bin/check.cgi参数名称:area_domain值为标准域名,例:hichina.com调用举例:http://panda.www.net.cn/cgi-bin/check.cgi?area_domain=teapic.com返回XML:<?xmlversion="1.0"encoding=..