今天见到了传说中拥有把妹之手的_ty,orz...想起了夏令营那段不堪回首(?)的日子....和那个欢快的(没有作业的)暑假.....今天的题好像很正常的样子...哎!Naive!!!eagleeggs写了太久然后放弃了,然后就没有把loop写完TAT然后蠢蠢的把squence的规律推错了....-...
分类:
其他好文 时间:
2014-07-16 20:35:27
阅读次数:
155
在Activity文件中加入下面的函数,实现点击空白处隐藏键盘: 1 @Override 2 public boolean onTouchEvent(MotionEvent event) 3 { 4 if(event.getAction()==Moti...
分类:
移动开发 时间:
2014-07-16 20:23:36
阅读次数:
147
1 public class Program 2 { 3 public event EventHandler ehdl=null; 4 public Program() 5 { 6 ehdl += Program_e...
分类:
其他好文 时间:
2014-07-16 19:50:25
阅读次数:
109
1. 什么是ticks
我们来看一下手册上面对ticks的解释:
A tick is an event that occurs for every N low-level statements executed by the parser within the declare block. The value for N is specified using ticks=N withi...
分类:
Web程序 时间:
2014-07-13 13:55:59
阅读次数:
269
获取某个栏目下的列表: {pc:content action="lists" catid="15" num="10" order="id DESC" return="info"} {loop $info $v} {$v['title']}{date('m-d',$v['inputt...
分类:
Web程序 时间:
2014-07-13 10:45:13
阅读次数:
253
时隔一个月,avalon的新版本终于出来了,本次更新带来强大的模块间通信机制,其他就往常一样FIX BUG。在文本绑定里,IE会对流离于DOM树外的文本节点的data属性赋值报错,需要添加一层判定 派发事件的逻辑,由DOC.createEvent("Event")必成DOC.createEvent(...
分类:
Web程序 时间:
2014-07-13 00:55:08
阅读次数:
420
考试的时候写的dfs找自环然后求平均值当时感觉复杂度不是太高结果Wa和T了一些后只有40分。。。正解是二分答案再将所有边减去答案后用SPFA找有无负环即可 1 #include 2 #include 3 #include 4 using namespace std; 5 #define N 6...
分类:
其他好文 时间:
2014-07-13 00:47:36
阅读次数:
293
解决在SharePoint 2010 部署自己Event Handler后,解决”Could not load file or assembly 'TIBCO.EMS, Version=1.0.700.12, Culture=neutral, PublicKeyToken=5b83db8ff05c64ba' or one of its dependencies. The system cannot find the file specified. “的问题...
分类:
其他好文 时间:
2014-07-12 21:37:56
阅读次数:
283
ngx_event_core_module模块属于事件模块,它是其它事件类模块的基础。它主要完成以下任务:
创建连接池决定使用哪些事件驱动机制初始化将要使用的事件模块
下面分析该模块的代码。
ngx_event_core_module的ngx_command_t数组定义如下:
/* ngx_event_core_module对7个配置项感兴趣 */
static ngx...
分类:
其他好文 时间:
2014-07-12 20:13:25
阅读次数:
330
一: 事件:初始化函数中://禁用回车 后退事件 document.onkeydown = function () { if (window.event && (window.event.keyCode == 13 || window.event.keyCode== 8)) { ...
分类:
Web程序 时间:
2014-07-12 16:12:02
阅读次数:
253