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

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

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 347 348 349 350 351 352 353 354 355 ··· 630 下一页

2012年6月7日

摘要: 通过扩展Django数据库API支持全文搜索本文为翻译内容,原文请查看http://www.mercurytide.com/ 介绍Django Django是一个开源的Web应用程序框架,引用创作者的话来说就是:“鼓励快速开发和干净、实效的设计”。它由Python编写,并提供各种组件以创 建高质量的Web应用程序,包括一个ORM(object-relational mapper)框架、一个支持全... 阅读全文
posted @ 2012-06-07 21:18 lexus 阅读(463) 评论(0) 推荐(0)

摘要: Extending Django’s database API to include full-text search | MercurytideExtending Django’s database API to include full-text searchWritten by Andrew Durdin. Published 17th August 2006Introducing Dja... 阅读全文
posted @ 2012-06-07 21:16 lexus 阅读(302) 评论(0) 推荐(0)

摘要: Linux iostat监测IO状态 - 一个故事@MySQL DBALinux iostat监测IO状态2010-03-1 | 13:13分类:Linux,技术细节|标签:Linux|22,421 viewsLinux系统出现了性能问题,一般我们可以通过top、iostat、free、vmstat等命令来查看初步定位问题。其中iostat可以给我们提供丰富的IO状态数据。1. 基本使用$iost... 阅读全文
posted @ 2012-06-07 08:23 lexus 阅读(193) 评论(0) 推荐(0)

2012年6月6日

摘要: 善泳者溺:最好並不是最好善泳者溺: 最好並不是最好 最近一名前奧運金牌選手在登山意外中喪生,令筆者惋惜不已。死者是法國第一位女子滑板滑雪奧運冠軍卡琳‧呂比(Karine Ruby),一九八八年呂比在長野奧運會的障礙滑雪賽嶄露頭角,勇奪金牌,四年之後又在鹽湖城冬季奧運會贏得一枚銀牌,並且曾經六次贏得滑板滑雪世界盃,她在都靈奧運會之後退休,跟著接受訓練,要成為登山領隊。誰料到這位具有鋼鐵般意志和體格的... 阅读全文
posted @ 2012-06-06 18:00 lexus 阅读(380) 评论(0) 推荐(0)

摘要: [转]Quake-III代码里神奇的浮点开方函数 雷Sir的日记雷Sir的主页广播相册喜欢二手活动发豆邮[转]Quake-III代码里神奇的浮点开方函数2010-09-30 19:42:18Quake-III Arena (雷神之锤3)是90年代的经典游戏之一。该系列的游戏不但画面和内容不错,而且即使计算机配置低,也能极其流畅地运行。这要归功于它3D引擎的开发者约翰-卡马克(John Carma... 阅读全文
posted @ 2012-06-06 17:21 lexus 阅读(775) 评论(0) 推荐(0)

摘要: 稳定婚姻问题算法_sunhaowen_百度空间稳定婚姻问题算法转自:http://teruterubouzu-laputa.spaces.live.com/话说在1962年,两个数学家David Gale 和Lloyd Shapley提出了下面的问题:给定若干个男生和同样多的女生,他们每个人都对所有的异性有一个心理的偏好次序。是否存在一种男女配对组合构成一种稳定的组合关系?这里稳定组合的意思是说,... 阅读全文
posted @ 2012-06-06 16:49 lexus 阅读(500) 评论(0) 推荐(0)

摘要: 稳定婚姻问题(Stable Marriage Problem) - 农夫三拳 - 博客稳定婚姻问题(Stable Marriage Problem)2008-09-12 20:14by农夫三拳,1685visits,收藏,编辑稳定婚姻是组合数学里面的一个问题。问题大概是这样:有一个社团里有n个女生和n个男生,每位女生按照她的偏爱程度将男生排序,同时每位男生也按照自己的偏爱程度将女生排序。然后将这n... 阅读全文
posted @ 2012-06-06 16:45 lexus 阅读(389) 评论(0) 推荐(0)

摘要: http://microjs.com/#introduction.jsintroduction.js¶Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not re... 阅读全文
posted @ 2012-06-06 16:42 lexus 阅读(238) 评论(0) 推荐(0)

摘要: 文件编码自动检测及编码转换 - 编码,编码转换,文件编码 - Java - ITeye论坛 主题:文件编码自动检测及编码转换 精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0) 作者 正文 zhang_xzhi_xjtu 等级: 二钻会员 zhang_xzhi_xjtu的博客 性别: 文章: 300 积分: 1110 来自: 杭州 发表时间:前天 < > 猎头职位... 阅读全文
posted @ 2012-06-06 12:40 lexus 阅读(485) 评论(0) 推荐(0)

摘要: Foundation: Rapid Prototyping and Building Framework from ZURBelcome to Foundation!Welcome to the Foundation documentation. Here you can learn what Foundation includes, as well as how to use it on mob... 阅读全文
posted @ 2012-06-06 09:09 lexus 阅读(352) 评论(0) 推荐(0)

摘要: File Modification Time | DaniWebThe functions are contained in module os. Function os.path.getmtime() gives you the last modified time in seconds since the beginning of 1/1/1970 (epoch). You have to... 阅读全文
posted @ 2012-06-06 09:07 lexus 阅读(254) 评论(0) 推荐(0)

摘要: Python datetime / time conversions « SaltyCrane Blog# timestamp to datetime object in local time timestamp = 1226527167.595983 dt_obj = datetime.fromtimestamp(timestamp) print repr(dt_obj) 阅读全文
posted @ 2012-06-06 08:38 lexus 阅读(260) 评论(0) 推荐(0)

摘要: 8.1. datetime — Basic date and time types — Python v2.7.3 documentationNote that normalization of negative values may be surprising at first. For example,>>>>>> from datetime import timedelta >>> d = ... 阅读全文
posted @ 2012-06-06 08:37 lexus 阅读(192) 评论(0) 推荐(0)

摘要: python -c "print 'a'" 阅读全文
posted @ 2012-06-06 06:08 lexus 阅读(267) 评论(0) 推荐(0)

摘要: Introduction to Python: File I/OAn Introduction to Python: File I/OFile I/OTable of ContentsLet's do things with files!File I/O in C/C++ required including several header files and defining a series ... 阅读全文
posted @ 2012-06-06 06:05 lexus 阅读(540) 评论(0) 推荐(0)

摘要: 一个错误def a(a,b): print a,blist=xrange(1,9)reduce(a,list)不是你想的1,22,33,4...... 阅读全文
posted @ 2012-06-06 05:58 lexus 阅读(185) 评论(0) 推荐(0)

摘要: 写了个Python脚本监控nginx进程 « Xiaoxia[PG]写了个Python脚本监控nginx进程接上一文用iptables让SSH服务对陌生人说不。还是有点担心这个学期内,nginx可能会因为系统各种原因而出现异常退出,导致Web服务暂停。所以,又来了一个方案。view plaincopy to clipboardprint?#!/usr/bin/envpythonimportos,s... 阅读全文
posted @ 2012-06-06 05:30 lexus 阅读(533) 评论(0) 推荐(0)

摘要: /etc/rc.local中加入的命令为什么不自动运行呢 - Linux系统管理 - ChinaUnix.net -你的 rc.local 在运行时未必有执行文件所需的路径 把路径写全是一下,比如 touch 在 /bin 中,则 /bin/touch /var/lock/subsys/local 另外,在 rc.local 里写 set > /tmp/set.txt 把当时环境变量导出,启动后... 阅读全文
posted @ 2012-06-06 05:27 lexus 阅读(383) 评论(0) 推荐(0)

摘要: 解决linux下/etc/rc.local开机器不执行的原因。 - montya - 博客园解决linux下/etc/rc.local开机器不执行的原因。前不久因项目需要写了开机启动其他程序的shell脚本,因工作忙,调试完给了技术支持人员,也没去注意过。到后来,有几台服务器突然被重启了,这时候领导问,怎么开机启动的脚本没起作用,还被批了一顿,哎,做事虎头蛇尾,活该!然后去查,一直没查到原因,手动... 阅读全文
posted @ 2012-06-06 05:24 lexus 阅读(315) 评论(0) 推荐(0)

摘要: 巧用 /etc/rc.local,开机时完成一些自动任务 - GNU/Linux,Windows的終結者 - KM大宝 - 和讯博客巧用 /etc/rc.local,开机时完成一些自动任务 [原创 2011-1-10 1:35:00] 字号:大 中 小在之前的帖子《你还在为 fcitx-sunpinyin 一顿一顿而发愁么?》中,我提到了一点关于 /etc/rc.local 的使用方法,那还可以用... 阅读全文
posted @ 2012-06-06 05:23 lexus 阅读(272) 评论(0) 推荐(0)

上一页 1 ··· 347 348 349 350 351 352 353 354 355 ··· 630 下一页