安装curl官网上下载安装包 curl-7.37.0.tar.gz 解压tar -zxvf curl-7.37.0.tar.gz进入解压后的目录,指定安装目录./configure --prefix=/usr/local/curlmakemake install使用将curl命令加入环境变量vi /...
分类:
系统相关 时间:
2014-07-14 08:38:32
阅读次数:
339
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
1 public class Solution { 2 public String get(String a,String b) 3 { 4 5 if(a==""||b=="") return ""; 6 int len1=a.le...
分类:
其他好文 时间:
2014-07-13 22:05:47
阅读次数:
238
Properties类本身是Hashtable类的子类,也是按照key-value的形式存放数据的.
设置和取得属性:
public class PropertiesDemo01{
public static void main(String args[]){
Properties pro = new Properties() ; // 创建Properties对象
pro.setP...
分类:
编程语言 时间:
2014-07-13 20:45:05
阅读次数:
244
f:\linux\android\leon\workspace\qsettings\res\xml\settings_headers.xml
<Preference
android:key="profiles_settings"
android:title="@string/profiles_settings_title"
andro...
分类:
其他好文 时间:
2014-07-13 17:16:29
阅读次数:
260
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:
其他好文 时间:
2014-07-13 16:53:01
阅读次数:
189
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
Setup -> Keyboard对话框中将 Meta key改成: left...
分类:
其他好文 时间:
2014-07-13 16:02:19
阅读次数:
317
执行:
./configure --prefix=/usr/local/php --enable-fastcgi --enable-fpm
之后出现
Running FastCGI Process Manager checks
checking for php-fpm config file path... $prefix/etc/php-fpm.conf
checking for ...
分类:
其他好文 时间:
2014-07-13 13:50:43
阅读次数:
205
Map接口操作的是一对对象,即二元偶对象,Map接口中的每个元素都使用"key--value"的形式存储在集合中.
SortedMap接口是排序接口,只要是实现了此接口的子类,都属于排序的子类.TreeMap就是此接口的一个子类
Map接口常用的子类:
HashMap:无序存放,新的操作类,key不允许重复
Hahtable:无序存放,旧的操作类,key不允许重复
...
分类:
其他好文 时间:
2014-07-12 23:07:14
阅读次数:
310