《贫民窟的百万富翁》(Slumdog Millionaire)提名:《本杰明·巴顿奇事》(The Curious Case of Benjamin Button),派拉蒙《福斯特对话尼克松》(Frost/Nixon),环球《米尔克》(Milk),焦点《朗读者》(The Reader),韦恩斯坦200...
分类:
其他好文 时间:
2014-06-19 00:34:19
阅读次数:
572
BACKGROUNDThe present invention relates generally to multithreaded programming and, more specifically, to mutual exclusion of readers and writers in a...
分类:
其他好文 时间:
2014-06-19 00:28:09
阅读次数:
260
XMLHttpRequest cannot load file~~~~~~~Origin 'null' is therefore not allowed access
最近在做框架的时候,需要加载.html文件和.json文件的时候出现了一下一个错误...
分类:
数据库 时间:
2014-06-16 20:26:18
阅读次数:
266
经常需要根据IP地址统计apache站点访问量,最基本的脚本.根据IP访问量降序排列:#!/bin/bash
#Script_name:access_count
acc_log=/usr/local/apache2/logs/access_log
/bin/awk‘{print$1}‘$acc_log|sort|uniq-c|sort-nr执行效果:[root@zabbix~]#shaccess_count
94989192.168.1..
分类:
移动开发 时间:
2014-06-16 18:18:50
阅读次数:
332
使用Ansifa提供的180MRAR文件。运行“快速安装.exe”安装软件免激活,安装后即可以使用。1、如果提示amtlib.dll文件有病毒,请将该破解文件加入排除。2、必要时删除”C:\ProgramFiles\CommonFiles\Adobe\caps”文件夹内所有的.db数据库文件,实在不放心可以把所有文件移到其它..
分类:
其他好文 时间:
2014-06-16 17:58:17
阅读次数:
193
一、题目1、Linux挂载Winodws共享文件夹2、查看http的并发请求数及其TCP连接状态:3、用tcpdump嗅探80端口的访问看看谁最高4、统计/var/log/下文件个数5、查看当前系统每IP连接数6、shell下32位随机密码生成7、统计出apache的access.log中访问量最多的5个IP8、如何查看二进制文..
分类:
系统相关 时间:
2014-06-16 17:05:49
阅读次数:
329
前两篇降了IO流中的字节流和字符流复制的例子,今天来总结一下IO流的规律
掌握好IO流的规律,再开发中会很好用
下面来总结一下:
1,明确源和目的
源:输入流 InputStream 和Reader
目的:输出流 OutputStream 和Writer
2,操作的数据是否是纯文本。
是:使用字符流
不是:使用字节流
3,当体系明确后,在明确要使用哪个具体的对...
分类:
编程语言 时间:
2014-06-16 14:49:13
阅读次数:
246
BACKGROUNDEmbodiments of this invention relate to RDMA (remote direct memory access) data transfer in a virtual environment.Traditional RDMA allows da...
分类:
其他好文 时间:
2014-06-16 13:10:49
阅读次数:
307
报错信息:password authentication failed Permission denied, please try again1 开启ubuntu上的ssh功能先安装,安装后就自动开启了.sudo apt-get install openssh-server openssh-clie...
分类:
其他好文 时间:
2014-06-15 14:05:28
阅读次数:
277
今天在Ubuntu下面使用adb安装软件包(成功):/sdk/platform-tools$ ./adb install ~/Downloads/com.douban.book.reader_31.apk 2271 KB/s (21646370 bytes in 9.304s) pkg: ...
分类:
数据库 时间:
2014-06-15 12:54:53
阅读次数:
1048