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

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

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

2010年4月23日

摘要: 我的ubuntu装的是ylmf,比较不稳定,只能做开发测试用,真正跑长时间的处理程序,一是cpu全速运转,影响我看网页什么的,所以还是把任务放到远程,不是的ssh,top看一下状况,比较好。 阅读全文
posted @ 2010-04-23 11:33 lexus 阅读(107) 评论(0) 推荐(0) 编辑

摘要: when you want run a server on 80 port your need root permissionhttp://stackoverflow.com/questions/550032/what-causes-python-socket-error 阅读全文
posted @ 2010-04-23 09:46 lexus 阅读(155) 评论(0) 推荐(0) 编辑

摘要: sudo passwd root 阅读全文
posted @ 2010-04-23 09:45 lexus 阅读(143) 评论(0) 推荐(0) 编辑

摘要: http://tobysh.blog.hexun.com/4595645_d.html linux下如何使用sftp命令。 fu.yatao-- sftp 是一个交互式文件传输程式。它类似于 ftp, 但它进行加密传输,比FTP有更高的安全性。下边就简单介绍一下如何远程连接主机,进行文件的上传和下载,以及一些相关操作。 举例,如远程主机的 IP 是 202.206.64.33或者是域名www.h... 阅读全文
posted @ 2010-04-23 07:57 lexus 阅读(212) 评论(0) 推荐(0) 编辑

2010年4月22日

摘要: as more as you can use pipeline,this will help you reduce the interivate times with redis 阅读全文
posted @ 2010-04-22 09:44 lexus 阅读(177) 评论(0) 推荐(0) 编辑

摘要: zset means sorted setit take with a score as sort standardswhen you use zadd() add a new element,you need specificed a score as rank stardandanother tip is when you use redis list type,always use rpus... 阅读全文
posted @ 2010-04-22 06:49 lexus 阅读(178) 评论(0) 推荐(0) 编辑

2010年4月20日

摘要: e.g.a=dict(a=1,b=2,c=3)r=redis.Redis()r.set("haha",a)r.hget("haha","b")#this will raise a exceptionthe right way is as follows:r.hmset("haha",a)#attenation:when you use this approach,if you use r.set(... 阅读全文
posted @ 2010-04-20 10:23 lexus 阅读(470) 评论(0) 推荐(0) 编辑

摘要: after git pull you need make,this is important,then use ./redis-server and in python client,type r.info(),you'll find you redis-server version is 1.3.8congratiouns!hahahahahha 阅读全文
posted @ 2010-04-20 09:40 lexus 阅读(176) 评论(0) 推荐(0) 编辑

2010年4月19日

摘要: make./redis-server 阅读全文
posted @ 2010-04-19 11:55 lexus 阅读(163) 评论(0) 推荐(0) 编辑

摘要: tar -czf test-redis-1.3.7.tar.gz test-redis-1.3.7scp test-redis-1.3.7.tar.gz mlzboy@192.168.1.7:/home/mlzboy/ 阅读全文
posted @ 2010-04-19 11:28 lexus 阅读(224) 评论(0) 推荐(0) 编辑

2010年4月18日

摘要: sudo apt-get install python-doc 阅读全文
posted @ 2010-04-18 15:11 lexus 阅读(344) 评论(0) 推荐(0) 编辑

摘要: 昨个在华美汉盛举办了py的聚会,总共两个话题,其它演讲者临时有事都没来,挺遗憾的,所以不到4点就结束了,会后和cnborn及conglin一块在北新街一带的馆子吃了晚饭,之后就早早的回住院处了,一天就这么过去了。和qingfeng交流了一下tt的日志获取方式及redis,发现大家都差不多在相同的时间关注相关的事情,redis最近还是挺火的,大家可以看看。 阅读全文
posted @ 2010-04-18 12:56 lexus 阅读(190) 评论(0) 推荐(0) 编辑

摘要: 我在virtual box中装ubuntu时发现的 阅读全文
posted @ 2010-04-18 12:50 lexus 阅读(242) 评论(0) 推荐(0) 编辑

2010年4月17日

摘要: print datetime.strptime("2010-04-01 00:04:57.277","%Y-%m-%d %H:%M:%S.%f")参考文章:http://docs.python.org/library/datetime.html#strftime-strptime-behaviorDirective Meaning Notes %a Locale’s abbreviated wee... 阅读全文
posted @ 2010-04-17 09:00 lexus 阅读(480) 评论(1) 推荐(0) 编辑

2010年4月16日

摘要: 之前被xrdp在ylmf下的设置整can了,后来重新装了一遍,就使用了正式的9.10就ok了。 阅读全文
posted @ 2010-04-16 18:28 lexus 阅读(137) 评论(0) 推荐(0) 编辑

摘要: 使用\\10.3.10.157\\d$来访问 阅读全文
posted @ 2010-04-16 17:53 lexus 阅读(267) 评论(0) 推荐(0) 编辑

摘要: 之前装过1.2.1在/data/db下产生了垃圾文件,把它们统统给我删了,1.4.1就o了 阅读全文
posted @ 2010-04-16 17:28 lexus 阅读(237) 评论(0) 推荐(0) 编辑

摘要: 前段时间和头表态,以后不做C#了,将精力主要放在python及linux,c上.结合亲身经历,谈一下我的体会. 阅读全文
posted @ 2010-04-16 08:53 lexus 阅读(2392) 评论(17) 推荐(1) 编辑

2010年4月15日

摘要: 有一个clonevdi工具http://www.alittletothewright.com/2009/11/expanding-virtualbox-dynamic-vdis/,见此处 阅读全文
posted @ 2010-04-15 17:59 lexus 阅读(178) 评论(0) 推荐(0) 编辑

摘要: http://imvoo.com/archives/205.html安装了Ubuntu后,连接经常被重置的解决办法 by Joseph under 软件应用 下载了Ubuntu 8.10,安装之后,用Firefox 3.03上网,连接经常被重置,丢包现象严重,于是到网上去查了一下解决方法。 解决:设置连接的MTU值。在网络连接上点右键,选择编辑连接,有线,编辑,在MTU那里填上1500(取得... 阅读全文
posted @ 2010-04-15 16:56 lexus 阅读(460) 评论(0) 推荐(0) 编辑

上一页 1 ··· 604 605 606 607 608 609 610 611 612 ··· 630 下一页