码迷,mamicode.com
首页 >  
搜索关键字:event    ( 11031个结果
Javascript中最常用的55个经典技巧
1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键 no 可用于Table2. 取消选取、防止复制3. onpaste="return false" 不准粘贴4. oncopy="return false;" oncut="re.....
分类:编程语言   时间:2015-12-08 22:09:00    阅读次数:278
禁用键盘事件
$(document).keydown(function (e) { e = e ? e : window.event; var keycode = e.which ? e.which : e.keyCode; if (keycode == 8) { //操作 return false; } })....
分类:其他好文   时间:2015-12-08 18:14:24    阅读次数:134
libev 宏展开
想看源码,宏太多,看着累,宏展开,再看,功力时间不够,先放下放上宏展开后的代码。libev4.20展开方示为./configure修改makefile文件,字符串替换CC为 CPP注意要把基础的CC定义保留makemv ev.o ev.cmv event.o event.cmake clean修改m...
分类:其他好文   时间:2015-12-07 22:33:06    阅读次数:402
httpd-2.4.9编译安装与配置(CGI、虚拟主机、https、deflate压缩)
1、准备好软件:pcre及pcre-develpcre是一个perl库,包含perl所兼容的正则表达式库。由于httpd服务具有CGI功能,而大多数的CGI都是基于perl的,所以需要安装这个库。apr-1.5.1apr是Apache可移植运行库,此库可以使httpd跨平台使用。是Apache必须依赖的库。httpd-2.4的event模块..
分类:Web程序   时间:2015-12-07 16:26:00    阅读次数:357
select&epoll
select&epollselect将进程挂入多个设备的阻塞队列中,扫描设备(相当长时间),监听数据。 O(n) 节省空间 通用性好(posix) 唤醒后自动扫描事件 文件:任意文件epoll提取设备,封装为event。 O(1) 消耗空间 仅在linux下使用 唤醒后自动得到事件队列 不能...
分类:其他好文   时间:2015-12-06 17:28:10    阅读次数:156
epoll
epollepoll - I/O event notification facilityepoll is a variant of poll(2) that can be used either as an edge-triggered or a level-triggered interface ...
分类:其他好文   时间:2015-12-06 17:27:52    阅读次数:172
Odoo calendar 提醒器
Odoo calendar 提供了一个提醒功能,它包含邮件通知以及web client弹窗功能 创建日历事件的时候,可以设置提醒器 Meeting [ calendar.event ] Reminder [ calendar.alarm] 包含 2种类型 Email Notification 然后再...
分类:其他好文   时间:2015-12-05 15:44:16    阅读次数:334
[VB.NET]调用API获取/设置键盘按键状态
1.调用GetAsyncKeyState()获取指定按键的状态,GetActiveKey()检索指定范围内的按键状态2.调用keybd_event()可合成一次击键事件,通常两次击键事件间需要设定时间间隔3.调用MapVirtualKey()获取指定按键的硬件扫描码,传入keybd_event()第...
分类:Windows程序   时间:2015-12-04 14:26:06    阅读次数:1038
SQL: See the TSQL underneath the sp_execute calls
When use SQL Server Profiler, on the Events Selection tab, check Show all events; Find the Store Procedures event, checkSP:StmtStarting and/or SP:Stmt...
分类:数据库   时间:2015-12-04 12:44:56    阅读次数:167
消除热块(hot block)
上篇日志提到了,那么高的负载,是存在数据块读竞争,下面介绍几个方法来消除块竟争查找块竟争SELECT p1 "file#", p2 "block#", p3 "class#"FROM v$session_waitWHERE event = 'read by other session';如果查出来是...
分类:其他好文   时间:2015-12-03 13:52:39    阅读次数:585
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!