<bodyclass="no-skin"topmargin="0"leftmargin="0"style=‘OVERFLOW:SCROLL;OVERFLOW-X:HIDDEN;OVERFLOW-Y:HIDDEN‘>
分类:
其他好文 时间:
2015-04-21 14:52:47
阅读次数:
129
Don’t Ignore That Error!Pete GoodliffeI was walking down the street one evening to meet some friends in a bar. We hadn’t shared a beer in some time, and I was looking forward to seeing them again. In m...
分类:
其他好文 时间:
2015-04-21 09:43:51
阅读次数:
170
一.菜单相关命令1.打开菜单M+~M+X menu-bar-open
分类:
系统相关 时间:
2015-04-20 22:08:58
阅读次数:
150
Apple 通过 iOS 7 的邮件(Mail)应用介绍了一种新的用户界面方案——向左滑动以显示一个有着多个操作的菜单。本教程将会向你展示如何制作一个这样的 Table View Cell,而不用因嵌套的 Scroll View 陷入困境。如果你还不知道一个可滑动的 Table View Cell ...
分类:
其他好文 时间:
2015-04-20 14:48:13
阅读次数:
251
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:
移动开发 时间:
2015-04-20 09:23:52
阅读次数:
238
1.sudo -i(no password,new user), su -(password)2.xdg-open(open file)3.putty(scroll)4.tar zxvf filename.tar.gz(release) tar zcvf filename.tar.gz(tar) ....
分类:
系统相关 时间:
2015-04-18 17:31:59
阅读次数:
249
window.onscroll = function (){ var marginBot = 0; if (document.compatMode === "CSS1Compat"){ marginBot = document.documentElement.scroll...
分类:
其他好文 时间:
2015-04-18 12:41:54
阅读次数:
97
$(window).scroll(function(){ // 当滚动到最底部以上n像素时, 加载新内容 if ($(document).height() - $(this).scrollTop() - $(this).height()<1) { get...
分类:
Web程序 时间:
2015-04-18 11:30:12
阅读次数:
139
临时对象(无法作为左值,即对象类型为const类型)产生的时期:1. 以值的方式给函数传参;2. 类型转换;3. 函数返回一个对象时;使用:string foo();void bar(string& s);bar(foo()); //编译错误bar("hello world"); //...
分类:
其他好文 时间:
2015-04-18 11:23:43
阅读次数:
144
类似QQ软件中,首页面消息和通话的两个按钮来回切换各自的内容,还是很常见的功能。(.bar-subheader是为了防止内容部分隐藏在header下) 设备消息 系统消息 ...
分类:
其他好文 时间:
2015-04-18 11:20:09
阅读次数:
162