//onepaege-scroll源码里对鼠标滚轮事件的处理$(document).bind('mousewheel DOMMouseScroll MozMousePixelScroll', function(event) {//DOMMouseScroll:ff,MozMosuePixelScro...
分类:
其他好文 时间:
2015-04-15 19:09:45
阅读次数:
166
结合RC4算法实现,简单分析一下BarMitzvahAttack攻击的原理,并以WEP破解过程来举例说明通用的破解方式。(个人觉得RC4早已经过时,要想避免该攻击,应该采用更好的加密算法,如:ccmp)另外,TLS协议是EAP协议的扩展,是一种身份认证机制,与具体的加密算法无关。WEP是业界破解较多...
分类:
其他好文 时间:
2015-04-15 16:56:01
阅读次数:
180
Givennnon-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.Fo...
分类:
移动开发 时间:
2015-04-15 16:50:03
阅读次数:
117
目录:标题栏 : ion-header-bar页脚栏 : ion-footer-barheader/footer : 样式及内容内容区 : ion-content滚动框 : ion-scroll拉动刷新 : ion-refresher滚动刷新 : ion-infinite-scroll脚本接口 : ...
分类:
Web程序 时间:
2015-04-15 16:40:48
阅读次数:
450
1.info.plist文件 设置View controller-based status bar appearance的值为no
2.在AppDelegate.m中添加如下代码
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) {
[application setStatusBarStyle:UI...
分类:
移动开发 时间:
2015-04-15 14:54:13
阅读次数:
302
problem:
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.
Above is a histo...
分类:
其他好文 时间:
2015-04-14 16:45:49
阅读次数:
88
View Controller的组合应用其实很常见了,比如说Tab bar controller和Navigation view controller的组合使用,像这种一般都是Navigation view controller作为Tab bar controller的一个child view co...
分类:
其他好文 时间:
2015-04-13 22:37:31
阅读次数:
127
使用js制作效果时,我们常常要获取某个元素在页面上的偏移量(例如tip提示框功能)。而获取偏移量可以直接获取相对于document的偏移量,也可以获取相对与视口的偏移量(viewpoint)加上页面滚动量(scroll)获得。1.获取相对与document的偏移量function getOffset...
分类:
Web程序 时间:
2015-04-12 22:23:51
阅读次数:
165
关于System Bars,之前写过几篇相关的文章:[Android]获取系统顶部状态栏(Status Bar)与底部导航栏(Navigation Bar)的高度[Android]状态栏的一些认识[Android]锁定屏幕 这三篇是按顺序写的,本来只是项目上的应用,其实并不需要深究的,查到方法并能....
分类:
移动开发 时间:
2015-04-12 20:46:56
阅读次数:
192
Unity3d中,UGUI提供了 Scroll Rect、Grid Layout Group、Mask这三个组件,我们用来实现滚动视图,这里用一个简易的背包作为示例。...
分类:
编程语言 时间:
2015-04-12 06:47:14
阅读次数:
241