这篇文章http://ayende.com/blog/3988/nhibernate-the-difference-between-get-load-and-querying-by-idOne
of the more common mistakes that I see people doing w...
分类:
系统相关 时间:
2014-05-29 02:45:27
阅读次数:
362
Crossbody designer bags are perfect for
students, business people and those who work on the go. It seems to be very
elegant, I worked with informally....
分类:
数据库 时间:
2014-05-28 23:02:58
阅读次数:
467
echo
192.168.10.69>>ip.list-------------------------------------------#!/bin/bash#注意if和[]之间的空格rm
-f ~/fanr/shell/DiskUsageAlert/out.printout=$(cat ~/f...
分类:
系统相关 时间:
2014-05-28 14:54:26
阅读次数:
391
1,对象内部的作用var a = 10;var AAA = function
(){ console.log(this.a);} var b = {a:2,bbb:AAA};b.bbb();
最后输出的是2,this指向的自己的对象。2,对象共享的问题var cat ={};cat.mous...
分类:
Web程序 时间:
2014-05-28 02:27:18
阅读次数:
296
一、统计脚本及代码 1 #!/bin/sh 2 3 root_dir=`pwd` 4
source_file="$root_dir"/operate0526.txt 5 single_file="$root_dir"/single0526.txt
6 result_file="$roo...
分类:
其他好文 时间:
2014-05-27 23:54:25
阅读次数:
524
1 #!/bin/bash 2 #查询 3 echo -e 4 for i in `cat
id.txt` 5 do 6 A=`mysql -h10 -uw -p2012 -Ne "select Id,Name,User_Logindate from
info where Id=$i"`...
分类:
数据库 时间:
2014-05-27 18:08:04
阅读次数:
341
#!/bin/bash# Program to output a go source file
with user informationCURRENT_TIME=$(date +"%x %r %Z")cat <<
EOF/* Author:$USER CreatedAt:$CURRENT_TIME...
分类:
其他好文 时间:
2014-05-27 17:49:29
阅读次数:
283
每天一个linux命令(13):less 命令less工
具也是对文件或其它输出进行分页显示的工具,应该说是linux正统查看文件内容的工具,功能极其强大。less的用法比起more更加的有弹性。
在more的时候,我们并没有办法向前面翻,只能往后面看,但若使用了less时,就可以使用[pageup...
分类:
其他好文 时间:
2014-05-26 18:26:11
阅读次数:
249
host = $host; $this->user = $user; $this->pwd
= $pwd; $this->db = $db; $this->charset = $charset; $this->conn =
get_conn(); } public function ge...
分类:
Web程序 时间:
2014-05-25 19:49:42
阅读次数:
317
dirname($sql);获取前缀路径 class mysql{ private $host
; private $user = "root"; private $pwd = ""; private $db = "bbs"; private
$charset = "utf8"; pri...
分类:
Web程序 时间:
2014-05-25 14:01:26
阅读次数:
343