defaults write com.apple.Finder AppleShowAllFiles YES在终端中执行以上命令,然后在Finder上alt+右键,点重新开启,就可以查看文件夹下的隐藏文件如果想重新隐藏,可以执行defaults write com.apple.Finder Apple...
分类:
其他好文 时间:
2014-10-01 02:48:10
阅读次数:
172
Android uses a file system that's similar to disk-based file systems on other platforms. This lesson describes how to work with the Android file system to read and write files with the FileAPIs....
分类:
其他好文 时间:
2014-10-01 02:01:01
阅读次数:
339
[root@nfstmp]#catwrite.logthisisaforwrite!adjakldadadkjalda[root@nfstmp]#catlog12345678910[root@nfstmp]#sed‘3r/tmp/write.log‘log123thisisaforwrite!adjakldadadkjalda45678910
分类:
其他好文 时间:
2014-10-01 00:47:51
阅读次数:
300
zabbix_agentd.confUserParameter=custom.vfs.dev.read.ops[*],cat/proc/diskstats|grep$1|head-1|awk‘{print$$4}‘UserParameter=custom.vfs.dev.read.ms[*],cat/proc/diskstats|grep$1|head-1|awk‘{print$$7}‘UserParameter=custom.vfs.dev.write.ops[*],cat/proc/diskstats|g..
分类:
其他好文 时间:
2014-10-01 00:40:10
阅读次数:
452
python修改文件内容,不需要read,write多个动作。最简单方法。...
分类:
编程语言 时间:
2014-09-30 21:14:45
阅读次数:
206
In linux, you can use the ncurses library to use the terminal as a text buffer: move the cursor around, and write text. It can also draw windows and o...
分类:
其他好文 时间:
2014-09-30 18:43:59
阅读次数:
154
参考资料:http://www.w3school.com.cn/js/index.asp? 一、教程 ????js是一种轻量级的编程语言,可插入html页面中,并由浏览器执行。 ????(1)简介 <script>
????document.write("<h1>标题一</h1>...
分类:
编程语言 时间:
2014-09-30 16:39:00
阅读次数:
190
Using write and read system call. Following is an example:blk.h:#include #include #include #include #include #include struct data{ char s[20]; i...
分类:
其他好文 时间:
2014-09-30 14:35:19
阅读次数:
153
1在webconfig设置了2程序上传中加入了if(fileUpload.PostedFile.ContentLength>1024*1024*5){Response.Write("");return;}验证代码,但只要附件超过webconfig页中设定的大小就会饶过上面的代码验证直接转到"无法显示...
分类:
Web程序 时间:
2014-09-30 13:00:32
阅读次数:
163
??
操作Collection以及Map的工具类:Collections
reverse(List):反转 List 中元素的顺序
shuffle(List):对 List 集合元素进行随机排序
sort(List):根据元素的自然顺序对指定 List 集合元素按升序排序
sort(List,Comparator):根据指定的 Comparator 产生的顺序对 List 集合元素进行排...
分类:
其他好文 时间:
2014-09-30 12:30:39
阅读次数:
202