有时候需要将j2se工程导出,这样可以在别处运作,就不必拘泥于开发感觉中才能运行了。具体做法如下:方法一:(工程没有引用外部jar包时,直接导出)选中工程---->右键,Export...--->Java--->JAR
file--->next-->选择jar file的路径及名称-->next--...
分类:
编程语言 时间:
2014-05-28 03:56:13
阅读次数:
217
1、PHP部分文件操作函数( fopen ,fread ,filesize,fwrite,fclose
)2、unlink() rmdir() 删除函数unlink(路径和文件名);rmdir(路径和目录名);fopen (路径和文件名,打开方式);fread
(打开的文件,结束位置);filesi...
分类:
Web程序 时间:
2014-05-28 03:52:18
阅读次数:
288
def meanstdev(numlist): 返回一个序列的均值和标准差;def
mindivnum(numlist,limit):找出一个整数list (numlist)的最小公倍数,寻找的范围为1~limit;def
dec2bin(num,digits):将num转化为2进制字符串,并保留低...
分类:
其他好文 时间:
2014-05-28 03:20:03
阅读次数:
212
1(1) fopen 打开文件函数 (R-只读 W-写入 A-读写) fopen
(路径和文件名,打开方式)2 fread 读取文件内容 (字节为单位)3(3) filesize 读取文件大小,字节为计量单位 filesize
(路径和文件名)4(4) fwrite 写入文件内容 fwrite .....
分类:
Web程序 时间:
2014-05-28 01:19:44
阅读次数:
228
#!/bin/bash# Program to output a go source file
with user informationCURRENT_TIME=$(date +"%x %r %Z")cat <<
EOF/* Author:$USER CreatedAt:$CURRENT_TIME...
分类:
其他好文 时间:
2014-05-27 17:49:29
阅读次数:
283
vim /etc/lightdm/lightdm.confFinally, edit the
file as shown below and save it.autologin-user=autologin-user-timeout=0
分类:
其他好文 时间:
2014-05-27 16:11:09
阅读次数:
222
(1)Refers to the "actual data" in a packet or
file minus all headers attached for transport and minus all descriptive
meta-data. In a network packet, ...
分类:
其他好文 时间:
2014-05-27 15:39:17
阅读次数:
277
private void installApk(String fileUri) { Intent
intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse("file://" + fileUr...
分类:
移动开发 时间:
2014-05-26 17:36:26
阅读次数:
290
如果应用程序使用用户可控制的数据,以危险的方式访问位于应用服务器或其它后端文件系统的文件或目录,就会出现路径遍历。攻击者可以将路径遍历序列放入文件名内,向上回溯,从而访问服务器上的任何文件,路径遍历序列叫“点-点-斜线”(..\)http://***/go.action?file=..\..\etc...
分类:
Web程序 时间:
2014-05-26 17:28:04
阅读次数:
1096
.tar 解包:tar xvf FileName.tar打包:tar cvf FileName.tar
DirName(注:tar是打包,不是压缩!)———————————————.gz解压1:gunzip FileName.gz解压2:gzip -d
FileName.gz压缩:gzip File...
分类:
系统相关 时间:
2014-05-26 16:49:29
阅读次数:
395