浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 596 597 598 599 600 601 602 603 604 ··· 630 下一页

2010年6月3日

摘要: du -sh ./folder 阅读全文
posted @ 2010-06-03 10:14 lexus 阅读(648) 评论(0) 推荐(0) 编辑

摘要: http://www.tutorialspoint.com/python/python_files_io.htm 阅读全文
posted @ 2010-06-03 09:59 lexus 阅读(357) 评论(0) 推荐(0) 编辑

摘要: http://oldj.net/article/python-pickle/i like use jsonpy than py2.6 embedded json lib,beacause it is more friendly for unicodereferencehttp://oldj.net/article/python-pickle/some write style i record he... 阅读全文
posted @ 2010-06-03 09:58 lexus 阅读(357) 评论(0) 推荐(0) 编辑

2010年6月2日

摘要: sudo taskselchoice lamp suiteconfigurate apache port to 8080,because we use nginx as reverse proxy on 80 portso we need configure apache2 port to 8080http://hi.baidu.com/marshluca/blog/item/258a52dec1... 阅读全文
posted @ 2010-06-02 15:47 lexus 阅读(237) 评论(0) 推荐(0) 编辑

摘要: when you use some third part library,you want to print out these libraries debug info may help you dailogous,code as follows:import loggingfrom urllib3.connectionpool import logconsole = logging.Strea... 阅读全文
posted @ 2010-06-02 13:56 lexus 阅读(240) 评论(0) 推荐(0) 编辑

摘要: suod apt-get install evolutionsudo apt-get install evolution-mapi 阅读全文
posted @ 2010-06-02 13:51 lexus 阅读(226) 评论(0) 推荐(0) 编辑

摘要: http://www.7788sky.cn/post/asp_php_301_head_redirect.htmlreference link as abovePHP:在 index.php 的最顶部加入以下几行:<?phpheader("HTTP/1.1 301 Moved Permanently");header("Location: http://www.7788sky.cn/");e... 阅读全文
posted @ 2010-06-02 10:54 lexus 阅读(253) 评论(0) 推荐(0) 编辑

摘要: <font><font size="3"><span style="font-weight: bold;"> <span style="color: rgb(255, 0, 0);">每次修改.bashrc后,使用source ~/.bashrc(或者 . ~/.bashrc)</span><br style="color: rgb... 阅读全文
posted @ 2010-06-02 10:50 lexus 阅读(1258) 评论(0) 推荐(0) 编辑

摘要: sudo tasksel这个命令真是踏破铁鞋无觅处,之前只在安装的时候见过,一直想之后想调,总算是找到了,haha 阅读全文
posted @ 2010-06-02 10:48 lexus 阅读(233) 评论(0) 推荐(0) 编辑

摘要: <code><span class="pun">>>></span><span class="pln"> </span><span class="kwd">import</span><span class="pln"> urllib2 </span><span cla... 阅读全文
posted @ 2010-06-02 10:32 lexus 阅读(241) 评论(0) 推荐(0) 编辑

摘要: 又学习了,呵呵,昨天下雨,深夜洗个澡在小区溜达,想和心灵对对话,未果,好久没有这么安逸了,回去玩了会电脑睡觉. 阅读全文
posted @ 2010-06-02 08:52 lexus 阅读(255) 评论(0) 推荐(0) 编辑

2010年5月31日

摘要: when you use break jump out from for or while statement,if has else caluse,it will not exec,for example:>>> for i in xrange(0,11): print ielse: print "haha,%s"%i 012345678910haha,10>>&g... 阅读全文
posted @ 2010-05-31 14:48 lexus 阅读(205) 评论(0) 推荐(0) 编辑

摘要: cat 1.txt|sort|uniqreference:http://zhangyuexing.7ta.cn/Article/12289/1444/ 阅读全文
posted @ 2010-05-31 13:21 lexus 阅读(205) 评论(0) 推荐(0) 编辑

摘要: www.netcraft.com 阅读全文
posted @ 2010-05-31 11:46 lexus 阅读(167) 评论(0) 推荐(0) 编辑

摘要: 1.wget 2.tar -zxvf ...tar.gz3.sudo rm -rvf /data/db4.sudo mkdir -p /data/db5.sudo ./mongod --dbpath /var/lib/mongodb/ --port 12345 or ./mongod6.reference:http://www.mongodb.org/display/DOCS/Starting+a... 阅读全文
posted @ 2010-05-31 11:04 lexus 阅读(243) 评论(0) 推荐(0) 编辑

摘要: 如果只是在终端上进行日常维护,没有必要用中文 export LANG=en_US export LC_ALL=en_US 再做操作就会显示英文了 Ubuntu的server版本,支持中文意义不是很大,折腾console中文支持,还比较麻烦 referencehttp://ubuntuforums.org/showthread.php?t=934357 阅读全文
posted @ 2010-05-31 08:03 lexus 阅读(323) 评论(0) 推荐(0) 编辑

摘要: 安装ubuntu server版本全记录 1、下载ubuntu 6.06 server http://mirror.lupaworld.com/ubuntu/releases/6.06/ubuntu-6.06-server-i386.iso 刻盘 2、从光驱启动后,选择install LAMP。为了方便,最好将语言选择为英文,不然在命令行模式(tty)底下将会将汉字显示为方块,设置完毕再将语言设置... 阅读全文
posted @ 2010-05-31 07:42 lexus 阅读(328) 评论(0) 推荐(0) 编辑

摘要: Ubuntu Server 9.10安装时除非特殊原因,一定要选English,这样默认的语言就是English,到后面的控制台界面上显示时就不会有问题。如果选了中文,安装 完重启后在console上会显示小方块,根本没法看命令的提示。网上分析说问题的原因是console下缺少中文字体的支持,看来中国的Linux开发 者要加油呀。reference:http://blog.csdn.net/or... 阅读全文
posted @ 2010-05-31 07:40 lexus 阅读(187) 评论(0) 推荐(0) 编辑

摘要: http://www.linuxidc.com/Linux/2007-05/4065.htmcat<=>tactac 1.txt >tac1.txttail 1.txt == head tac1.txt 阅读全文
posted @ 2010-05-31 07:34 lexus 阅读(140) 评论(0) 推荐(0) 编辑

摘要: split -l 310000 inputfile outputprefixcat a.txt,b.txt > c.txt 阅读全文
posted @ 2010-05-31 07:24 lexus 阅读(242) 评论(0) 推荐(0) 编辑

上一页 1 ··· 596 597 598 599 600 601 602 603 604 ··· 630 下一页