码迷,mamicode.com
首页 >  
搜索关键字:generator    ( 2586个结果
Python高级编程之生成器(Generator)与coroutine(四):一个简单的多任务系统
啊,终于要把这一个系列写完整了,好高兴啊在前面的三篇文章中介绍了Python的Python的Generator和coroutine(协程)相关的编程技术,接下来这篇文章会用Python的coroutine技术实现一个简单的多任务的操作系统代码如下,可看注释 1 #-*-coding:utf-8 -....
分类:编程语言   时间:2015-06-12 00:47:59    阅读次数:305
win7 安装express
1.以管理员身份打开cmd(避免出错)npm install -g express-generator@4Start the server:npm start链接,github官网说明https://github.com/strongloop/express
分类:Windows程序   时间:2015-06-12 00:42:16    阅读次数:141
JS实现简单的图片轮换效果
<!doctypehtml> <htmllang="en"> <head> <metacharset="UTF-8"> <metaname="Generator"content="EditPlus"> <metaname="Author"content=""> <metaname="Keywords"content=""> <metaname="Description"content=""> <title&g..
分类:Web程序   时间:2015-06-11 07:08:31    阅读次数:230
mybatis对mysql进行分页
Mybatis对mysql数据库分页 在generator中加入插件,下载地址http://download.csdn.net/detail/shunlongjin/6937045 自动生成java对象和mapper后,可以对数据库进行分页处理,具体代码如下...
分类:数据库   时间:2015-06-10 17:29:38    阅读次数:154
Android ORM之GreenDao学习
GreenDao 文章来源:小小懒羊羊个人知识管理库 GreenDao是Android当中的高性能ORM框架。(其他的有OrmLite等) 项目地址:https://github.com/greenrobot/greenDAO 同时GreenDao还有一个子项目为GreenDao Code Generator: GreenDao的核心类及其工作如下: 使用初...
分类:移动开发   时间:2015-06-10 15:46:53    阅读次数:188
<转载>Win x86-64 - Download & execute (Generator)
#Title: Obfuscated Shellcode Windows x86/x64 Download And Execute [Use PowerShell] - Generator#length: Dynamic ! depend on url and filename#Date: 20 J...
分类:Windows程序   时间:2015-06-09 19:48:02    阅读次数:239
js简单的贪吃蛇小游戏
<!doctypehtml> <htmllang="en"> <head> <metacharset="UTF-8"> <metaname="Generator"content="EditPlus"> <metaname="Author"content=""> <metaname="Keywords"content=""> <metaname="Description"content=""> <title&g..
分类:Web程序   时间:2015-06-09 17:42:42    阅读次数:196
二维码之qrencode生成
从github下载的qrencode没有QRCodeGenerator文件,需要引入//// QR Code Generator - generates UIImage from NSString//// Copyright (C) 2012 http://moqod.com Andrew Kopa...
分类:Web程序   时间:2015-06-09 16:38:46    阅读次数:258
HDU ACM 1014 Uniform Generator
分析:题意是一个生成随机数的函数,Seed[x+1] = ( seed[x] + STEP ) % MOD,seed是生成出来的随机数,seed[0]是哪个数并不重要,后面证明。STEP就是每次往前一个所加的值,再模上MOD得到下一个随机数。  判断这个随机生成函数的好坏的依据是如果能够产生0~MOD-1内的所有数,就是一个好的,否则坏(因此该題也可以用模拟,用HASH表)。  根据同余特性,...
分类:其他好文   时间:2015-06-06 14:58:54    阅读次数:127
php yield
yield特性一般跟生成器generator紧密联系在一起GeneratorimplementsIterator{/* Methods */publicmixedcurrent(void)publicmixedkey(void)publicvoidnext(void)publicvoidrewind...
分类:Web程序   时间:2015-06-06 14:52:21    阅读次数:4792
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!