//标题:红包大厅 UILabel* tmp_title=[[UILabel alloc] initWithFrame:CGRectMake(0 , 5, max_View.frame.size.width, 24)]; tmp_title.text=@"进入红包大厅"; [tmp...
分类:
其他好文 时间:
2015-12-30 10:34:00
阅读次数:
180
范例1:查看ipconfig -all命令的输出,并将将输出保存到文件tmp.log中:import subprocesshandle = open(r'd:\tmp.log','w')p=subprocess.Popen(['ipconfig','-all'], stdout=handle)if ...
分类:
编程语言 时间:
2015-12-29 20:58:29
阅读次数:
160
·登录MySQLmysql-h10.123.45.678-P3800-uqconnadmin-p大写P为端口,小写p为密码·查询出的数据如何导出到文件中?SELECT*FROMtablenameINTOOUTFILE‘/tmp/ze.txt‘;或者在服务器执行bash命令mysql-e"SELECT...">file_name比如:mysql-h10.123.456.789-P3000-uusername-pschem..
分类:
数据库 时间:
2015-12-28 18:52:13
阅读次数:
164
最近更新cydia的时候出现了sub-process/usr/libexec/cydia/cydo returned anerror code(2)的红字是怎么回事? 解决方法:删掉有关升级的东西,把var/lib/dpkg/updates里面的东西全删了(有很多序号的文件和一个tmp.i文件)
分类:
其他好文 时间:
2015-12-27 20:34:27
阅读次数:
916
接上一篇3配置oracle的环境变量ORACLE_BASE=/u01/app/oracle
TMP=/tmp
TMPDIR=/tmp
ORACLE_HOME=$ORACLE_BASE/product/12.1.0/dbhome_1
ORACLE_SID=orcl
exportORACLE_SIDORACLE_BASEORACLE_HOMETMPTMPDIR
PATH=$PATH:.:$ORACLE_HOME/bin
exportPATH四、解压oracle软件包准备安..
分类:
数据库 时间:
2015-12-27 08:31:54
阅读次数:
332
localhost/data/admin/ver.txt查看补丁member/mtypes.php?dopost=save&_FILES[mtypename][name]=.xxxx&_FILES[mtypename][type]=xxxxx&_FILES[mtypename][tmp_name][...
分类:
其他好文 时间:
2015-12-26 22:12:29
阅读次数:
306
顺序查找:int FindBySeq(int * ListSeq ,int ListLength, int KeyData){int tmp = 0;int length = ListLength;for(int i = 0;i key) high = mid - 1; //如果比key...
分类:
编程语言 时间:
2015-12-26 14:51:05
阅读次数:
190
#!/bin/bash
#自动配置bond
#byliuq
MODPROBE="/sbin/modprobe"
cd/etc/sysconfig/network-scripts
if[-fifcfg-eth0]
then
cpifcfg-eth0/tmp/ifcfg-eth0.bak
cpifcfg-eth1/tmp/ifcfg-eth1.bak
ETH0=eth0
ETH1=eth1
elif[-fifcfg-em0]
then
cpifcfg-em1/tmp/ifcfg-em1.bak
..
分类:
系统相关 时间:
2015-12-25 19:28:31
阅读次数:
206
.tcz文件是Tiny core linux 应用安装包文件启动Tiny core linux后,可以使用tce-load命令安装软件如: tce-load -i /tmp/bftpd.tcz转自:http://zhidao.baidu.com/question/499150237.html?si=...
分类:
系统相关 时间:
2015-12-25 17:13:56
阅读次数:
202
MYSQL my.conf# The following options will be passed to all MySQL clients[client]#password = your_passwordport = 3306socket = /tmp/mysql.sock# Here fol...
分类:
其他好文 时间:
2015-12-25 13:38:28
阅读次数:
201