有时候需要将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
#!/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
Google File System中文版Google Bigtable中文版Google
MapReduce中文版
分类:
其他好文 时间:
2014-05-26 19:48:38
阅读次数:
184
设置注释模板的入口:
Window->Preference->Java->Code Style->Code Template
然后展开Comments节点就是所有需设置注释的元素啦。现就每一个元素逐一介绍:文件(Files)注释标签:/*** @Title: ${file_name}*
@Packa...
分类:
编程语言 时间:
2014-05-26 18:20:15
阅读次数:
387
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