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

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

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 602 603 604 605 606 607 608 609 610 ··· 630 下一页

2010年5月2日

摘要: 由于bitbucket.org好像不支持代理,所以我又要把它改回来找到gedit ~/.bashrc将http_proxy前面加上#reference:http://hi.baidu.com/denghb/blog/item/c7cd828b959f3cd3fd1f10dd.html Ubuntu中apt及终端程序使用代理设置方法 2007年01月13日 星期六 13:56 因为在校园网内,... 阅读全文
posted @ 2010-05-02 08:11 lexus 阅读(281) 评论(0) 推荐(0) 编辑

摘要: 回去快11点了,口渴正好还有半瓶可乐,就喝了,结果睡的时候,虽然头晕,很累但就是脑子清醒着,关键是也不是很清醒,已经不能思考问题了,sigh~~~早上又不到六点就醒了,其实应该没睡饱,不过脑子已经半醒状态,肯定回不了笼了。 阅读全文
posted @ 2010-05-02 07:45 lexus 阅读(184) 评论(0) 推荐(0) 编辑

2010年5月1日

摘要: 今天主要将精力放在调试json上,python下的json的库很大,也看了一些文章,主要有这么一些库,demjson,simplejson,我之前比较过这两个,所以初步在这两个上用,后来发现生成的序列化后的中文还是不是中文而是类似/uxx343,\x3454等,这样不直观,可能也能用,,因为只想它序列化和反序化的操作是等价的就可以了,不过我还是想我看起来更直观一些,所以想找能直接看就是中文的,之后... 阅读全文
posted @ 2010-05-01 21:48 lexus 阅读(441) 评论(0) 推荐(0) 编辑

摘要: 要想確保一件事情,按時完成,中間可能會遇到不可預期的事情發生,如何盡可能的保證項目的按時完成,這就需要在出現意外的時候,使用一些額外的辦法,比如用錢,或是別的什麼減少自己花費在意外上的時間來保證這個項目的正常進行電腦是不可靠的,不要把你的數據放在一台電腦上,要把重要的東西,隨是提交放到網絡上。或是打印出來, 隨時考慮電腦會掛掉的狀況,對於項目代碼的各種模塊的依賴等,一定要配置在一個目錄下,能很方便... 阅读全文
posted @ 2010-05-01 14:47 lexus 阅读(165) 评论(0) 推荐(0) 编辑

摘要: sudo gedit /etc/apt/apt.conf当你在安装ubuntu server时,设置代理不小心弄错了,可以通过上面这条命令来修改,我就遇到这个问题,之后使用sudo apt-get install装东西装不上,因此想到了是在安装的时候出了一点refference:此文讲述了三种修改代理的方法http://hi.baidu.com/soberggg/blog/item/0c597b8... 阅读全文
posted @ 2010-05-01 10:15 lexus 阅读(158) 评论(0) 推荐(0) 编辑

摘要: 设置ssh:http://www.cnblogs.com/lexus/archive/2010/05/01/1725477.html设置代理:http://www.cnblogs.com/lexus/archive/2010/05/01/1725483.html安装easy_install:http://www.cnblogs.com/lexus/archive/2010/05/01/172547... 阅读全文
posted @ 2010-05-01 10:13 lexus 阅读(263) 评论(1) 推荐(0) 编辑

摘要: sudo gedit /etc/apt/apt.conf当你在安装ubuntu server时,设置代理不小心弄错了,可以通过上面这条命令来修改,我就遇到这个问题,之后使用sudo apt-get install装东西装不上,因此想到了是在安装的时候出了一点refference:此文讲述了三种修改代理的方法http://hi.baidu.com/soberggg/blog/item/0c597b8... 阅读全文
posted @ 2010-05-01 09:34 lexus 阅读(253) 评论(0) 推荐(0) 编辑

摘要: sudo gedit /etc/apt/apt.conf当你在安装ubuntu server时,设置代理不小心弄错了,可以通过上面这条命令来修改,我就遇到这个问题,之后使用sudo apt-get install装东西装不上,因此想到了是在安装的时候出了一点纰漏,结绳记事 阅读全文
posted @ 2010-05-01 09:33 lexus 阅读(149) 评论(0) 推荐(0) 编辑

摘要: sudo apt-get install python-setuptools 阅读全文
posted @ 2010-05-01 09:17 lexus 阅读(163) 评论(0) 推荐(0) 编辑

摘要: sudo easy_install virtualenvvirtualenv --no-site-packages new2(folder name)cd new2source bin/activatereferencehttp://inet6.blogspot.com/2010/02/virtualenv.html 阅读全文
posted @ 2010-05-01 09:12 lexus 阅读(248) 评论(0) 推荐(0) 编辑

摘要: (new3)mlzboy@mlzboy-laptop:~/bijia/sblity/src/new3$ ssh mlzboy@10.3.11.240ssh: connect to host 10.3.11.240 port 22: No route to host(new3)mlzboy@mlzboy-laptop:~/bijia/sblity/src/new3$ ssh mlzboy@10.3.... 阅读全文
posted @ 2010-05-01 09:11 lexus 阅读(259) 评论(0) 推荐(0) 编辑

摘要: i have two laptops one is fujishu6311,another is mac 466,both of them have prons & cons.fujishu is more focus on business,he is very strong,i fail down from half meater smany times,it's ok ,i have... 阅读全文
posted @ 2010-05-01 08:44 lexus 阅读(237) 评论(0) 推荐(0) 编辑

2010年4月30日

摘要: http://hi.baidu.com/zuiini/blog/item/2c7027faaa90ec8f9e5146bf.htmlroute -vlinux下查看网卡地址和网关 1、查看网卡地址的命令:ifconfig 2、查看dns的命令:route -n(destination Genmask都是0.0.0.0的那个) UBUNTU没有sysconfig目录,设置静态IP在/etc/netw... 阅读全文
posted @ 2010-04-30 11:37 lexus 阅读(304) 评论(2) 推荐(0) 编辑

摘要: limited:you cpu must support vt-x,(硬件虚似化) 阅读全文
posted @ 2010-04-30 08:36 lexus 阅读(180) 评论(0) 推荐(0) 编辑

2010年4月29日

摘要: cd /etc/sudo mv my-ib.cnf.inactive my-ib.cnf/etc/init.d/mysqld-ib start 阅读全文
posted @ 2010-04-29 18:33 lexus 阅读(152) 评论(0) 推荐(0) 编辑

摘要: sudo dpkg -r package_namesudo dpkg -i package_file.debsudo apt-get autoremove 要移除的软件包名sudo apt-get install 要安装的软件包名 阅读全文
posted @ 2010-04-29 18:24 lexus 阅读(175) 评论(0) 推荐(0) 编辑

摘要: 今天要做一个python里面内存效率的测试,所以需要查看当前运行的python unittest的内存占用情况,查了一下发现psutil可以帮助你做这个事情,这样的代码就可以工作,需要安装psutil,我用的sudo pip install psutil: 用的时候你可以实例化一个MemoryInfo()然后分多次调用它的print_usage方法。结绳记事。 阅读全文
posted @ 2010-04-29 17:10 lexus 阅读(187) 评论(0) 推荐(0) 编辑

摘要: sudo apt-get install sysstatitpub.net这个网站还不错 阅读全文
posted @ 2010-04-29 16:35 lexus 阅读(154) 评论(0) 推荐(0) 编辑

摘要: php,我不否定掉它,我只能说,我不会php,也不想学。java,这个东西,和ACE一样,学之者生,用之者死。.net,如果有那么多钱去买授权,倒不如给程序员买个好点的椅子。ruby,这个我也不否定,但如果让一个人接受它,却是很不容易。 阅读全文
posted @ 2010-04-29 11:39 lexus 阅读(152) 评论(0) 推荐(0) 编辑

摘要: 不巧同事问到这个中文显示的问题,结果就无意搜索到了  PieTTY 是由林弘德(Hung-Te Lin, piaip)以 PuTTY 源代码为基础,在 Windows 上发展的 Telnet/SSH 安全远端连线程式,修正与完整支援亚洲语系字符,可切换多种 Unicode 字符显示方式,提供简易 scp 上传界面,并增加透明视窗、无边框模式等视觉效果。PieTTY 与 PuTTY 同样采用 MI... 阅读全文
posted @ 2010-04-29 11:11 lexus 阅读(285) 评论(0) 推荐(0) 编辑

上一页 1 ··· 602 603 604 605 606 607 608 609 610 ··· 630 下一页