码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
Android 之 BroadcaseReceiver
1.在AndroidManifest.xml中注册 2.在Activity中注册MyReceiver receiver = new MyReceiver();IntentFilter filter = ne...
分类:移动开发   时间:2014-05-09 16:24:54    阅读次数:432
jsp验证码
1、validimg.jsp 1 4 255) 9 fc = 255;10 if (bc > 255)11 bc = 255;12 int r = fc + random.nextInt(bc - fc);13 ...
分类:Web程序   时间:2014-05-09 09:11:19    阅读次数:487
nyoj
Distinct Count时间限制:3000 ms | 内存限制:65535 KB难度:3描述给一个长度为 n 的数列 {an} ,找出有多少个长度为 m 的区间,使区间中不含有重复的数字。输入多组测试数据。(200组)第 1 行有 2 个数,n,m。(1<=n,m<=10^5)接下来 1 行有 ...
分类:其他好文   时间:2014-05-09 09:01:05    阅读次数:411
查看端口占用情况(解除占用)
1>查看端口占用情况命令:netstat-aon|findstr:802>查看指定端口的占用情况netstat-aon|findstr"3000"result--------------------------------TCP0.0.0.0:30000.0.0.0:0LISTENING246243>用24624查看对应的进程tasklist|findstr"24624"4>结束该进程taskkill/f/t/imr..
分类:其他好文   时间:2014-05-09 07:08:46    阅读次数:297
cocos2dx学习笔记(5)——粒子特效CCParticleSystem
0.使用方法拿CCParticleExplosion举例。//创建CCParticleExplosion特效 CCParticleSystem*p1=CCParticleExplosion::create(); //设置特效贴图 p1->setTexture(CCTextureCache::sharedTextureCache()->addImage("cocos2dx.png")); //设置自动释放 p1->setAutoRemoveOnF..
分类:其他好文   时间:2014-05-09 07:05:56    阅读次数:288
嵌入式linux 内核关机函数实现
arch/arm/kernel/process.c实现pm_power_off=关机函数参考board-omap3touchbook.c文件中pm_power_off=omap3_touchbook_poweroff;staticvoidomap3_touchbook_poweroff(void) { intpwr_off=TB_KILL_POWER_GPIO; if(gpio_request_one(pwr_off,GPIOF_OUT_INIT_LOW,"DVIreset")<0..
分类:系统相关   时间:2014-05-09 07:03:00    阅读次数:470
rails 前台调试
<%=debug()%>
分类:其他好文   时间:2014-05-09 06:58:22    阅读次数:209
aptana增加svn插件
http://subclipse.tigris.org/update_1.8.x1,打开‘Help’->‘InstallnewSoftware’,点击"add"按钮,随便起个名字,把上面的url输入一下。2,在Subclipse下拉列表只选中Subclipse–RequiredSubversionClientAdapter–RequiredSubversionNativeLibraryAdapter(JavaHL)–St..
分类:其他好文   时间:2014-05-09 06:53:13    阅读次数:236
去链接的下划线
<pstyle="padding-left:35px;padding-top:6px;"><%=link_to(t(‘mypage.live_order_btn‘),{:action=>"course_order",:id=>course.id,:back_action=>params[:action]},:style=>"color:white;font-weight:bold;text-decoration:none;")%></p>text-d..
分类:其他好文   时间:2014-05-09 06:51:16    阅读次数:267
php socket接受大数据死循环,接收不全的问题
$per_len=20000;//每次读多少字节$no_read_len=$content_len;//未读的字节(总字节大小)$str=‘‘;while($len<$content_len){$read=socket_read($socket,$per_len,PHP_BINARY_READ);$str.=$read;$len+=strlen($read);//总共读了多少字节}http://hi.baidu.com/cuttinger/item/..
分类:Web程序   时间:2014-05-09 06:45:59    阅读次数:566
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!