Kindergarten Election
Time Limit: 2 Seconds Memory Limit: 65536 KB
At the beginning of the semester in kindergarten, the n little kids (indexed from 1 to n, for convenience) in class need...
分类:
其他好文 时间:
2014-12-19 19:08:19
阅读次数:
213
You can use ngModel in your own directives, but there are a few things you'll need to do to get it working properly.ngModel itself is an directive. If...
分类:
Web程序 时间:
2014-12-19 07:02:29
阅读次数:
222
VB实现毫秒计时方案GetTickCount是最简单的获取时间的API函数,返回值是从开机到现在的时间,单位为毫秒。虽然它的返回值单位是毫秒,但是精度并不是1毫秒,误差大约在55毫秒左右,MSDN中这样说“If you need a higher resolution timer, use a mu...
分类:
其他好文 时间:
2014-12-19 00:30:55
阅读次数:
1169
In many ways, I think being a front end engineer is one of the most complicated jobs in computer science. Most traditional programming concepts don’t ...
分类:
其他好文 时间:
2014-12-18 18:10:45
阅读次数:
181
起初是看到千图网的登录链接 查看到的自己做的网站也看了下修改的办法就是TP3.2.2 的框架里具体路径是D:\www\ThinkPHP\Library\Think\View.class.php大概在93行 /** * 输出内容文本可以包括Html * @access private ...
分类:
Web程序 时间:
2014-12-18 15:08:58
阅读次数:
170
Asio(http://think-async.com)官方示例中给出了一个比较初步的日志服务,主要代码在basic_logger.hpp、logger_service.hpp、logger_service.cpp这3个文件。稍作改进(比如创建单独目录存放Log文件、格式化Log文件名以及每一行.....
分类:
其他好文 时间:
2014-12-18 14:46:04
阅读次数:
210
函数式编程语言
http://program-think.blogspot.com/2012/02/why-choose-python-4-fp.html
纯函数:输出完全依赖输入的函数,不能读写外部变量、没有IO
Python中的相关内置函数:
1. map(函数,迭代器)
将迭代器中的所有内容依次传递给函数,并返回一个迭代器
可以是list...
...
分类:
编程语言 时间:
2014-12-18 12:03:36
阅读次数:
191
英文原文:http://blog.garstasio.com/you-dont-need-jquery/selectors/愚人码头注:原作者的写这文章的意图是让我们抛弃jQuery,You Don’t Need jQuery!提倡我们使用原生的JavaScript,所以收集整理了jQuery语法对...
Dungeon Master Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uDescription You are trapped in a 3D dungeon and need to find the qu...
分类:
其他好文 时间:
2014-12-17 22:29:20
阅读次数:
224
在ThinkPHP 3.1及之前,分页功能可能是放在/Lib/Org/Util中的,到了ThinkPHP 3.2后,分页功能已经整合到了Library/Think中了。而且ThinkPHP 3.2已经采用了命名机制,所以创建一个分页对象可以有两种方法:$page = new Page();或者$pa...
分类:
Web程序 时间:
2014-12-17 18:04:27
阅读次数:
173