功能]对于给定文件把它的内容从一种编码转换成另一种编码。[描述]-f encoding :把字符从encoding编码开始转换。-t encoding :把字符转换到encoding编码。-l :列出已知的编码字符集合-o file :指定输出文件-c :忽略输出的非法字符-s :禁止警告信息,但不...
分类:
其他好文 时间:
2014-08-22 15:59:38
阅读次数:
183
背景:pip安装一直不成功,很多模块用pip安装都不行,只好到github下载zip安装c:\Document and settings\> python e:\scrapy-0.24\setup.py install结果失败,提示[err2] no such file or directory: ...
分类:
其他好文 时间:
2014-08-22 15:56:18
阅读次数:
235
class?CreateFileUtil?{
??
??public?static?String?createTempFile(String?prefix,?String?suffix,?String?dirName)?{??
????File?tempFile?=?null;??
????if?(dirName?==?nul...
分类:
其他好文 时间:
2014-08-22 13:09:40
阅读次数:
293
linux shell 编程中使用到得if语句内判断参数 –b 当file存在并且是块文件时返回真 -c 当file存在并且是字符文件时返回真 -d 当pathname存在并且是一个目录时返回真 -e 当pathname指定的文件或目录存在时返回真 -f 当file存在并且是正规文件时返...
分类:
系统相关 时间:
2014-08-22 12:33:16
阅读次数:
267
一、关于属性查询由于要做属性查询,又重新玩起了arcmap中的select by attribute,有很多自己当初玩弄arcmap多年还不是很清楚的东西1,字段名(1)file geodatabase, shapefile, dBase table, coverage, INFO table-- ...
分类:
其他好文 时间:
2014-08-22 12:29:06
阅读次数:
219
select * from user_source t where upper(t.TEXT) like upper('%table1%')第二种方法类似于eclipse中的file searchselect * from user_dependencies g where g.referenced...
分类:
数据库 时间:
2014-08-22 12:25:36
阅读次数:
207
I'm not yet clear what I did, but I'm blogging it so it can be found if someone else has this issue.For whatever reason, last week both of my Vista 64...
fota在make中有个关键的目标target-files-package,该目标生成一个用于做升级包的zip文件。升级包中的内容是定义好的文件列表。同时有一个主要的脚本./build/tools/releasetools/ota_from_target_files,这个脚本可以根据不同的参数生成完...
分类:
移动开发 时间:
2014-08-22 12:10:46
阅读次数:
363
帮公司下载数据,体积很大,一台机器装不完,几台机器一起下的话,最后合并太麻烦(list的维护),于是就想到在服务器上插一块大的硬盘,设置为共享,然后把数据都下载到服务器的这块硬盘上。(由于一些限制,不能再服务器上同时开多个下载器,所以只能在本地多开几台机器)以前公司有一个网络硬盘,我把它映射到本地之...
分类:
其他好文 时间:
2014-08-22 10:47:45
阅读次数:
167
PHP禁止个别IP访问自己的网站,可以看看下面的方法。function get_ip_data(){ $ip=file_get_contents("http://ip.taobao.com/service/getIpInfo.php?ip=".get_client_ip()); $...
分类:
Web程序 时间:
2014-08-22 10:37:57
阅读次数:
237