码迷,mamicode.com
首页 >  
搜索关键字:read    ( 19693个结果
自己编写的一个巡检Linux进程的Shell脚本
#/bin/bashHINT(){read -p "Press Enter tocontiune:"}CHECK_A(){ ps -ef |grep cxiang|awk '{for(i=1;itext3 //删除text1中前面的空行处理导到text3中 grep -vwf text3 text2...
分类:系统相关   时间:2015-05-17 20:14:05    阅读次数:223
Qt error: Exception at 0x58083aea,: read access violation at: 0x0, flags=0x0 (first
用Qt5时,刚开始还好呢,结果需要添加东西时就报错了,如下: error: Exception at 0x58083aea, code: 0xc0000005: read access violation at: 0x0, flags=0x0 (first chance) 找了好久没解决,最后师兄给发现了,原来是我定义了一个动作:QAction *saveFileAction 创建了一个子...
分类:数据库   时间:2015-05-17 18:45:06    阅读次数:211
python写的的简单的爬虫小程序
import reimport urllibdef getHtml(url):page=urllib.urlopen(url)html=page.read()return htmldef getpic(html):s=r'src="(.*?\.jpg)" pic_ext'piclist=re.fin...
分类:编程语言   时间:2015-05-17 18:28:38    阅读次数:149
adb push、adb install 和强制安装
1.adb push XXX.apk 目录是将apk发送到手机指定的目录adb push test.apk /sdcard/test/test.apk2.adb install 电脑中apk的路径是安装电脑中的apk到手机adb install /Users/test/test.apk 3.强制安装 有时候会出现Read-only的错误,我们可以使用强制安装命令来安装apk adb insta...
分类:数据库   时间:2015-05-17 15:22:01    阅读次数:409
NIO 02 (转)
本文转自:http://weixiaolu.iteye.com/blog/1479656SelectionKey.OP_ACCEPT // 服务端监听,并注册OP_ACCEPT事件后,就已准备好接受客户端的连接了SelectionKey.OP_READ // 可读事件,通过该通道与客户端或服务端进行...
分类:其他好文   时间:2015-05-16 20:31:04    阅读次数:118
C#中的文件操作2
1. 读取文件的方法: 1. 声明一个文件流: 目的是为了内存与文件之间的桥梁,可以进行数据的往来。 FileStream fs = new FileStream(filename,FileMode.Open,FileAccess.Read,FileShare.None); 4个参数的意义 ...
分类:Windows程序   时间:2015-05-16 19:58:26    阅读次数:184
【leetcode】Count and Say
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or 11.11 is read off ...
分类:其他好文   时间:2015-05-16 19:55:50    阅读次数:97
std read write
#include #include #include #include #include #include #define BUFFSIZE 4096int main(void){ int n; char buf[BUFFSIZE]; while((n=read(STDIN_FILENO,buf,B...
分类:其他好文   时间:2015-05-16 13:20:39    阅读次数:122
Sqlite3文件数据库与内存数据库的性能差异
这不是一个有说服力的测试,算是我的体验吧通过pandas.read_csv函数将总共1.44GB的164个csv文件依次(转为dataframe对象,并新增2条series,再将该dataframe通过pandas.to_sql函数写成1.23GB的sqlite数据库文件,从导入第四个文件后,就越来...
分类:数据库   时间:2015-05-16 01:25:24    阅读次数:658
spring tiles界面为空白
Caused by: org.apache.jasper.JasperException: /WEB-INF/views/admin_template.jsp(3,62) Unable to read TLD "META-INF/tld/tiles-jsp.tld" from JAR file "f...
分类:编程语言   时间:2015-05-15 19:40:41    阅读次数:146
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!