码迷,mamicode.com
首页 >  
搜索关键字:netty in action    ( 18136个结果
netty源码解析
最近在看netty的源码,本来想写一些东西的,但是无意间看到了一个牛人写的一些有关netty的博客,感觉写得太好了,故对他的博客中有关netty的部分整理了一下放入了我的印象笔记中,现在把链接公开出来,希望对想学习netty的同学有所帮助:https://app.yinxiang.com/pub/topxiall/..
分类:Web程序   时间:2014-07-29 15:51:10    阅读次数:213
POJ 1384 Piggy-Bank(完全背包)
Description Before ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes from Irreversibly Bound Money (IBM). The idea beh...
分类:其他好文   时间:2014-07-29 15:08:28    阅读次数:232
IllegalStateException: Can not perform this action after onSaveInstanceState
IllegalStateException: Can not perform this action after onSaveInstanceState 错误总结!...
分类:其他好文   时间:2014-07-29 14:48:48    阅读次数:220
Android拍照后更新相册
方法一:Uri updateUri = Uri.fromFile(file); Intent updateIntent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, updateUri); sendBroadcast(update...
分类:移动开发   时间:2014-07-29 14:09:18    阅读次数:256
UVA 10608 Friends 并查集
题目链接:http://vjudge.net/problem/viewProblem.action?id=20432 题目大意:朋友的朋友是朋友,求人数最多的那帮家伙有多少人。 我刚开始真尝试了一遍的一步一步用数组模拟搜索,拼接······,果断超时了,下次不干那么无聊的事了,明明有好算法,干嘛还暴力呢?#include int fa[30001],tot[30001]; int find(int u) { fa[u]==u?u:fa[u]=find(fa[u]); return fa...
分类:其他好文   时间:2014-07-29 13:06:37    阅读次数:227
全局监听SCREEN_ON和SCREEN_OFF的替代方法--监听屏幕解锁事件
在做一个程序的时候,需要时刻保持某一服务是启动的,因此想到了通过监听屏幕SCREEN_ON和SCREEN_OFF这两个action。奇怪的是,这两个action只能通过代码的形式注册,才能被监听到,使用AndroidManifest.xml 完全监听不到。查了一下,发现这是PowerManager那...
分类:其他好文   时间:2014-07-29 10:55:16    阅读次数:203
简单的打开网页
使用手机里的浏览器打开网页:Uri uri=Uri.parse("http://fanyi.baidu.com/#en/zh/"); Intent intent=new Intent(Intent.ACTION_VIEW, uri); startActivity(intent);在手机页...
分类:Web程序   时间:2014-07-29 10:32:36    阅读次数:331
HNU 12847 Dwarf Tower(最短路+队列优化)
题目链接:http://acm.hnu.cn/online/?action=problem&type=show&id=12847解题报告:有n样物品,编号从1到n第i样物品可以通过金币vi买到,同时有m种方法,方法的内容是由两种物品可以构造出另一种物品,现在要你求出得到1物品的价值最小是多少?当成最...
分类:其他好文   时间:2014-07-29 10:22:18    阅读次数:251
Netty实现Http服务器端(二)
上篇文章讲netty实现http服务器端http://my.oschina.net/xinxingegeya/blog/269778 在上篇文章没有使用HttpObjectAggregator把多个消息转换为一个单一的FullHttpRequest或是FullHttpResponse。 这篇文章写得http服...
分类:Web程序   时间:2014-07-28 17:00:24    阅读次数:674
Struts2再爆远程代码执行漏洞(S2-016)
Struts又爆远程代码执行漏洞了!在这次的漏洞中,攻击者可以通过操纵参数远程执行恶意代码。Struts?2.3.15.1之前的版本,参数action的值redirect以及redirectAction没有正确过滤,导致ognl代码执行。? 描述 影响...
分类:其他好文   时间:2014-07-28 16:56:24    阅读次数:333
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!