1、编写脚本,名为nginx#!/bin/sh## nginx - this script
starts and stops the nginx daemon## chkconfig:- 85 15# description: Nginx is an
HTTP(S) server, HTTP(S) ...
分类:
其他好文 时间:
2014-06-13 13:10:40
阅读次数:
243
There are generally two methods to write DFS
algorithm, one is using recursion, another one is using stack. (reference from
Wiki Pedia)Pseudocode for ...
分类:
其他好文 时间:
2014-06-13 08:39:34
阅读次数:
218
当项目中需要用到第三方的jar时,通过mvn命令进行安装后使用window平台下的话
用cmd进入mvn所在的目录 一般情况下到bin文件夹 有个mvn命令umpay_sign_V40.jar是引用的第三方的包mvn
install:install-file -Dfile=d:\umpay_sign...
分类:
编程语言 时间:
2014-06-12 23:59:55
阅读次数:
426
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-06-12 18:32:00
阅读次数:
222
企业内部有很多系统是繁体的,由于各方面的原因,公司目前正在实行简体化,但各系统中又有数据间的交换,所以系统只能一个一个的更改,以防同时出现过多的问题。由于原先数据库只能存储繁体,而原先已存在的数据则可以不必转换为简体,照用就可以了。我们新的数据库均采用Chinese_PRC_BIN
collati....
分类:
数据库 时间:
2014-06-12 18:03:38
阅读次数:
320
Android框架:Src:主要完成Java代码的编写Gen:系统自动生成的源代码目录
R.java:默认有attr(属性)、drawable、layout、string
4个静态内部类Assets:资源目录Bin:输出文件夹Res:图片、布局文件、字符串、菜单等文件 Drawable:存放工程图片...
分类:
移动开发 时间:
2014-06-12 17:56:51
阅读次数:
402
vimsendmail.pl
#!/usr/bin/perl-w
useMIME::Lite;
subperl_sendmail{
my$mail_to=shift;
#my$mail_to="$_[0]";
my$from=shift;
#my$from="$_[1]";
my$subject=shift;
#my$subject="$_[2]";
my$data=shift;
#my$data="$_[3]";
$sendmail=MIME::Lite->new(
From=>$from,..
分类:
其他好文 时间:
2014-06-10 18:50:19
阅读次数:
310