一。從命令到編輯模式a :当前单词后面插入Appendi :当前位置插入Inserto :当前行下新开一行插入Open new lineA :当前行尾插入AppendI :当前行首插入InsertO :当前行上新开一行插入Open new line比較常用就是i,a,o,I,A,O了,將來多試幾次就...
分类:
其他好文 时间:
2014-07-16 19:18:32
阅读次数:
168
调试程序时,有时需要同时使用多个Console,如一个Console运行Server,一个Console运行Client。而一般情况下Eclipse只有一个Console,这时就需要增加一个Console。点击Open Console(带加号的窗口),选择"5 New Console View",即...
分类:
系统相关 时间:
2014-07-16 19:04:32
阅读次数:
271
$.ajax( {type : 'post',url : url,data : data,async : false,//false代表只有在等待ajax执行完毕后才执行window.open('http://www.daimajiayuan.com')语句 success : function(d...
分类:
Web程序 时间:
2014-07-16 18:22:20
阅读次数:
219
在线语音合成的使用方法:首先下载相关的sdk,这个网址里有多种版本,我选择的Android。http://open.voicecloud.cn/index.php/services/voicebase?type=tts&tab_index=1需要注意的是,最好先创建应用,审核通过后会返回一个APPI...
分类:
移动开发 时间:
2014-07-16 18:18:33
阅读次数:
456
linux 检测远程端口是否打开检测远程端口是否打开常用telnet 110.101.101.101 80方式测试远程主机端口是否打开。除此之外还可以使用:方法1.nmap ip -p port 测试端口nmap ip 显示全部打开的端口根据显示close/open确定端口是否打开。方法2. nc ...
分类:
系统相关 时间:
2014-07-16 18:04:37
阅读次数:
315
Perl File Handling: open, read, write and close files#====================Opening filesSolution 1:Opening a file in perlopen FILE, "filename.txt" or d...
分类:
其他好文 时间:
2014-07-15 09:47:39
阅读次数:
222
出现Out of resources when opening file './xxx.MYD' (Errcode: 24)错误是因为打开的文件数超过了my.cnf的--open-files-limit。open-files-limit选项无法在mysql命令行直接修改,必须在my.cnf中设定,最...
分类:
数据库 时间:
2014-07-14 21:16:24
阅读次数:
247
数据库连接可以说是学习web最基础的部分,也是非常重要的一部分,今天我们就来介绍下数据库的连接为下面学习真正的web打下基础java中连接数据库一般有两种方式:1.ODBC——Open Database Connectivity(开放数据库连接性):基于C语言的一套数据库编程接口,主要功能是提供数据...
分类:
数据库 时间:
2014-07-14 18:51:36
阅读次数:
371
#!/usr/bin/pythonimportredefbuffer_line():buf=open("/etc/sae/buffer_1").read()ifnotbuf:return0else:returnint(re.findall("^\d*",buf)[0])defset_last_pos(pos):open("/etc/sae/buffer_1","w").write(str(pos))if__name__==‘__main__‘:appname={}fh=open("/data0/l7.acce..
分类:
编程语言 时间:
2014-07-14 16:41:57
阅读次数:
319
#coding=utf-8import osimport httplibimport socketdictlist ={};def ReadHost(): hosts = []; obn = open('d:/sss.txt', 'rb'); for line in obn: ...
分类:
其他好文 时间:
2014-07-14 16:01:28
阅读次数:
212