1.自定义事件(1)一些组件提供了自定义事件,命名方式为{事件名称}.{组件名称}.amui,用户可以查看组件文档了解。使用这些事件,如: $('#myAlert').on('close.alert.amui',function(){ //do something; });(2)data-...
分类:
Web程序 时间:
2015-02-03 13:01:58
阅读次数:
307
转自:http://www.programering.com/a/MTNxYDMwATQ.htmlA few days ago a friend asked me about Unity3D inside Protobuf, was something to write this off until...
分类:
编程语言 时间:
2015-02-02 17:56:48
阅读次数:
730
下面是整个链接。http://www.winshy.com/2013/08/something_about_charlesproxy/?utm_source=rssCharles:移动端抓包工具安装使用和经验小结暂无评论从事移动互联网一年多的时间,等到去年才慢慢和开发打交道,由于创业公司人手不足,没...
分类:
其他好文 时间:
2015-02-02 17:41:10
阅读次数:
208
说到activity自身的生命周期
要区分几个概念
1 Activity 官方解释为 “An Activity is an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take ...
分类:
移动开发 时间:
2015-02-02 15:56:01
阅读次数:
260
脚本中echo显示内容带颜色显示,echo显示带颜色,需要使用参数-e 格式如下: echo -e "\033[字背景颜色;文字颜色m字符串\033[0m"例如: echo -e "\033[41;36m something here \033[0m" 其中41的位置代表底色, 36的位置是代...
分类:
系统相关 时间:
2015-02-01 17:39:02
阅读次数:
183
mysql 索引KEY与INDEX的区别:KEY is something on the logical level, describes your table and database design.INDEX is something on the physical level, helps i...
分类:
数据库 时间:
2015-01-30 14:59:44
阅读次数:
250
在WEB开发中,为了降低页面等待时间提高用户体验,我们往往会把一些浪费时间的操作放到新线程中在后台执行。简单的实现代码就是://代码一new Thread(()=>{//do something}).Start();可是对于一个请求量大的网址这样做是非常不现实的——每个操作都要开启一个新线程,终于会...
分类:
其他好文 时间:
2015-01-29 14:34:12
阅读次数:
160
上传文件的js通常写法:document.getElementById('#upload').onchange = function () { // do something};这样会产生一个问题:选择一个文件之后,再次选择一个文件将不会触发onchange事件(即使是不同的文件也不会)。解决...
分类:
Web程序 时间:
2015-01-25 17:59:25
阅读次数:
238
Visual Studio is being overly cautious. In debug mode, visual studio uses something called "Checked Iterators". Pointers are also iterators, but the c...
分类:
编程语言 时间:
2015-01-25 17:58:11
阅读次数:
448