1. Parcelable接口
Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must also have a static field called CREATOR, which...
分类:
移动开发 时间:
2016-03-30 12:59:27
阅读次数:
236
利用@media screen实现网页布局的自适应,IE9一下不支持 @media screen ...
分类:
Web程序 时间:
2016-03-28 13:37:13
阅读次数:
104
Chapter 4:Direct3D Initialzation
4.7 EXERCISES
1. Modify the previous exercise solution by disabling the ALT-ENTER functionality to switch between full screen and windowed mode;
use the IDXGIF...
分类:
其他好文 时间:
2016-03-27 01:52:07
阅读次数:
717
@media screen and (min-width: 1025px){ body { font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif; }}@media ...
分类:
其他好文 时间:
2016-03-26 22:14:23
阅读次数:
227
Parcelable接口:
Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must also have a static field called CREATOR, which is...
分类:
移动开发 时间:
2016-03-24 11:30:44
阅读次数:
189
最直接的方法就是使用如下属性设置: **这是离屏渲染(off-screen-rendering),消耗性能的** 给UIImage添加生成圆角图片的扩展API:这是on-screen-rendering ...
分类:
其他好文 时间:
2016-03-24 06:33:20
阅读次数:
334
建议在看的时候把Screen拉到最宽======让这行文字在一行显示=============================================== 1. 注意使用之前必须要先导入UIKit框架 2.使用 创建UIImagePckerController #define SCREEN_
分类:
移动开发 时间:
2016-03-21 18:12:08
阅读次数:
253
1.BOM(Browser Object Model),定义了操作浏览器的借口 2.常用的BOM对象:Window, History,Navigator,Screen, Location等 3.由于浏览器厂商的不同,Bom对象的兼容性极低。一般情况下,我只用其中的部分功能。 4.http://www
分类:
其他好文 时间:
2016-03-20 17:47:55
阅读次数:
118
几年前在developerWorks上面看到的文章,感觉非常实用,又简单整理了一下,转到这里,希望给看到的人带来一些帮助。文中提到的nohup和subshell方式一直在使用。 我们经常会碰到这样的问题,用 telnet/ssh 登录了远程的 Linux 服务器,运行了一些耗时较长的任务, 结果却由
分类:
系统相关 时间:
2016-03-20 16:01:38
阅读次数:
378
sysdig工具,可以有strace ,tcpdump,lsof的功能。 前台任务与后台任务,知识点:test.sh &,Ctrl+z,bg,shopt grep |huponexit,disown,nohup test.sh &,,screen与tmux, 或者用init(systemd,这是一个
分类:
系统相关 时间:
2016-03-19 14:39:38
阅读次数:
282