会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
老游条的书架
记录一个程序员的成长之路~ ~
博客园
首页
新随笔
新文章
联系
管理
订阅
上一页
1
···
8
9
10
11
12
13
14
15
16
17
下一页
2012年11月7日
消息队列的设置
摘要: /etc/sysctl.conf修改kernel.msgmni=1000kernel.msgmax=81920kernel.msgmnb=163840MSGMNB每个消息队列的最大字节限制。该文件指定一个消息队列的最大长度(bytes)。MSGMNI 整个系统的最大数量的消息队列。该文件指定消息队列...
阅读全文
posted @ 2012-11-07 18:05 老游条
阅读(536)
评论(0)
推荐(0)
编辑
2012年9月21日
git 基本用法
摘要: git clone git@github.com:leinchu/event2game.gitgit show-branchgit remote add origin git@github.com:leinchu/event2game.gitcd /data/event2game/git add ....
阅读全文
posted @ 2012-09-21 14:54 老游条
阅读(112)
评论(0)
推荐(0)
编辑
2012年7月13日
剪贴板操作
摘要: function getClipboard() { if (window.clipboardData) { return window.clipboardData.getData("text"); } else { if (window.netscape) { try { netscape.secu...
阅读全文
posted @ 2012-07-13 11:33 老游条
阅读(217)
评论(0)
推荐(0)
编辑
2012年7月11日
使用Weinre调试Mobile Web
摘要: Debugging javascript on a mobile device can be maddening. As a novice, I usually have no idea what has gone wrong, and I am often frustrated with a bl...
阅读全文
posted @ 2012-07-11 17:20 老游条
阅读(273)
评论(0)
推荐(0)
编辑
2012年6月26日
javascript实现手机触摸屏左右(上下)滚动(javascript感知滑屏方向)
摘要: 现支持iOS、Android和电脑swipe swipeleft swiperight -1 -2 -3 -4 -5 -6 -7 -8 -9 ...
阅读全文
posted @ 2012-06-26 13:36 老游条
阅读(367)
评论(0)
推荐(0)
编辑
Javascript类,prototype研究。
摘要: 测试Javascript类pro = prototypepri = privatepub = public
阅读全文
posted @ 2012-06-26 11:00 老游条
阅读(179)
评论(0)
推荐(0)
编辑
打印touch事件,打印手机触摸事件
摘要: function printEvent(evt){ try { var tmp = ''; for(var i in evt) { tmp += i+':' var v = evt[i]+''; if(v=='[object HTMLDivElement]') { tmp...
阅读全文
posted @ 2012-06-26 09:35 老游条
阅读(188)
评论(0)
推荐(0)
编辑
2012年5月16日
ie9 ff11, javascript 数组处理的一个bug
摘要: 我也知道是bug,还是本来就是这样的看js代码:var ep={ title:"默认相册", desc:"快来上传照片吧", img:"http://pic.**m...403d0c295512c740_mb.jpg", link:"u1191122496/photo/show/82354307",...
阅读全文
posted @ 2012-05-16 20:11 老游条
阅读(147)
评论(0)
推荐(0)
编辑
2012年5月11日
样式表自动截断字符串、省略显示不出来的字符,不用服务器端处理,也不会出现乱码
摘要: 这里有很多的字,浏览器会帮你自动省略,ie6就支持了诀窍是,必须设定合适的宽度和高度,text-overflow: ellipsis才会起到作用
阅读全文
posted @ 2012-05-11 16:36 老游条
阅读(142)
评论(0)
推荐(0)
编辑
2012年4月3日
Web Sql Database 操作类,将查询语句作为参数传入。
摘要: 因为个人想开发 iphone native web app,所以想用HTML 5新特性,研究了两天,终于写了一个Web Sql Database 操作类。Author: LeinEmaill: lein_urg@163.com网上很多文章都不是通过传入参数的办法,而是写死代码的方法,这样就很难灵活运...
阅读全文
posted @ 2012-04-03 16:04 老游条
阅读(284)
评论(0)
推荐(0)
编辑
上一页
1
···
8
9
10
11
12
13
14
15
16
17
下一页
公告