Intent.ACTION_AIRPLANE_MODE_CHANGED; //关闭或打开飞行模式时的广播Intent.ACTION_BATTERY_CHANGED; //充电状态,或者电池的电量发生变化 //电池的充电状态、电...
分类:
移动开发 时间:
2015-01-26 01:16:56
阅读次数:
182
本文由本人首次发布在infoq中文站上:http://www.infoq.com/cn/articles/java-multithreaded-programming-mode-two-phase-termination。转载请注明作者: 黄文海 出处:http://viscent.iteye.co...
分类:
编程语言 时间:
2015-01-25 23:58:51
阅读次数:
372
本文由本人首次发布在infoq中文站上:http://www.infoq.com/cn/articles/java-multithreaded-programming-mode-immutable-object。转载请注明作者: 黄文海 出处:http://viscent.iteye.com。多线程...
分类:
编程语言 时间:
2015-01-25 23:55:15
阅读次数:
243
用org-mode写cnblogs博客用org-mode写cnblogs博客Table of Contents1 使用org-mode写cnblogs博客1.1 测试写代码的效果1 使用org-mode写cnblogs博客感谢csophys 的博客和插件,只需要下载org2cnblogs ,配置非常...
分类:
其他好文 时间:
2015-01-25 23:49:17
阅读次数:
252
本文由黄文海首次发布在infoq中文站上:http://www.infoq.com/cn/articles/Java-multithreaded-programming-mode-active-object-part1。转载请注明作者: 黄文海 出处:http://viscent.iteye.com...
分类:
编程语言 时间:
2015-01-25 23:47:45
阅读次数:
312
;;;;;;;;;;;;;;;;;;;;; tabbar ;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'tabbar)
(tabbar-mode 1)
(global-set-key [(meta j)] 'tabbar-forward)
(global-set-key [(meta k)] 'tabbar-backward)
(set-face-attr...
分类:
系统相关 时间:
2015-01-25 22:36:28
阅读次数:
296
Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Update (2014-11-02):The si...
分类:
其他好文 时间:
2015-01-25 22:19:38
阅读次数:
171
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
1. lscpulscpu命令可以用来查询处理器cpu的详细信息,只需要简单地输入lscpu即可,如下所示,它本身也没有提供更多选项和功能可供选择。____FCKpd___0nbsp;lscpuArchitecture:x86_64CPUop-mode(s):32-bit,64-bitByteOrd...
分类:
系统相关 时间:
2015-01-25 17:53:07
阅读次数:
281
1.android 四种读写文件模式
Context.MODE_PRIVATE:私有模式,覆盖原有文件内容
Context.MODE_APPEND:追加模式,在原有文件内容后面追加
Context.MODE_WORLD_READABLE:能够被其他应用读取内容
Context.MODE_WORLD_WRITEABLE:能够被其他应用写入内容
如果要其他应用读和写,2者相加 Contex...
分类:
移动开发 时间:
2015-01-25 16:43:46
阅读次数:
246