上一页 1 ··· 116 117 118 119 120 121 122 123 124 ··· 160 下一页
摘要: 事实上就是全局和局部的差别 假设能够用线程Hook实现就最好用线程Hook 由于Hook技术用的不好会大大减少整个Windows系统的性能 这也是为什么WinCE不支持HOOK的原因了 至于键盘HOOK用SetWindowsHookEx带WH_KEYBOARD參数就能够了 比方你做一个全局的键盘HO 阅读全文
posted @ 2017-05-19 16:45 clnchanpin 阅读(2161) 评论(0) 推荐(0)
摘要: 差分约束 题意倒是简单。难的是建立约束(建边)。能够初始化INF求最小。然后输出-dis[maxn]。也能够初始化-INF求最大,输出dis[maxn]。 求最大的时候: minn为最小。maxn为最大。 输入 u ,v len 建立约束为 u->v = len。最后在 minn和maxn之间还要建 阅读全文
posted @ 2017-05-19 15:34 clnchanpin 阅读(142) 评论(0) 推荐(0)
摘要: 手工刷ORACLE统计信息 select count(1) from LOG_TRX_DETAIL; select * from user_tab_statistics where table_name = 'LOG_TRX_DETAIL'; exec dbms_stats.gather_table 阅读全文
posted @ 2017-05-19 13:55 clnchanpin 阅读(160) 评论(0) 推荐(0)
摘要: 拖动实现图片移动效果 先写一个手势,注意图片的 userInteractionEnabled设置为yes UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selecto 阅读全文
posted @ 2017-05-19 12:19 clnchanpin 阅读(414) 评论(0) 推荐(0)
摘要: 这两天在完毕一个新的项目,因为是新的。所以。非常多都是又一次写的。当中发现自己犯了一个比較低级的错误。弄了大半天,原来是写的格式错误,详细例如以下。希望其它博友不要和我一样,导致浪费时间在改动BUG,更重要的是影响心情。 主要目的: 假设 A 等于 6 或者 A 等于 8 ,B等于 9 否则 B 等 阅读全文
posted @ 2017-05-19 11:23 clnchanpin 阅读(143) 评论(0) 推荐(0)
摘要: pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t*mutex)函数 传入的參数mutex用于保护条件,由于我们在调用pthread_cond_wait时,假设条件不成立我们就进入堵塞。可是进入阻塞这个期间,假设条件变量改变了的话,那我们就 阅读全文
posted @ 2017-05-19 10:38 clnchanpin 阅读(1818) 评论(0) 推荐(0)
摘要: NSURL *nurl=[[NSURL alloc] initWithString:[urlString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]; 阅读全文
posted @ 2017-05-19 09:26 clnchanpin 阅读(949) 评论(0) 推荐(0)
摘要: 开发环境是CocoStudio 1.4 + Cocos2dx 2.2 把项目文件放到Cocos2dx下的projects文件夹下就可以执行了 压缩包里面包括了 源码 和资源文件 执行效果: 初始化界面 购买界面 下载地址: 点击打开链接 初始化界面 购买界面 下载地址: 点击打开链接 阅读全文
posted @ 2017-05-19 08:43 clnchanpin 阅读(190) 评论(0) 推荐(0)
摘要: 1、定义Context 进入管理WEB应用的URL是http://localhost:8080/manager/html。 username与password的设置:打开tomcat安装文件夹中的conf子文件夹中的tomcat-users.xml文件。内容例如以下: <?xml version=' 阅读全文
posted @ 2017-05-18 21:14 clnchanpin 阅读(189) 评论(0) 推荐(0)
摘要: ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library 须要安装pcre包。 sudo apt-get update sudo apt-get install libpcre3 libpcre3-dev 你可能 阅读全文
posted @ 2017-05-18 20:21 clnchanpin 阅读(477) 评论(0) 推荐(0)
上一页 1 ··· 116 117 118 119 120 121 122 123 124 ··· 160 下一页