转自:http://blog.chinaunix.net/uid-26000296-id-3575475.html 1 function ergodic(){ 2 for file in `ls $1` 3 do 4 if [ -d $1"/"$file ] 5 then 6...
分类:
其他好文 时间:
2014-07-16 16:47:36
阅读次数:
206
上头要求设置TCP备案检查,给了个WEBSERVICE接口。查了2天,才确认还是python比较好用,我这水平也就写个脚本把数据导出,过滤检索还是用的shell。写此文备忘。WEBSERVICE接口脚本如下:#!/usr/bin/python#coding:utf-8importcodecsimportsudsdefmain(file_name,out_file):url=..
分类:
编程语言 时间:
2014-07-16 16:39:51
阅读次数:
219
Searching
To open the search panel for the active file, press
Ctrl + F. Someoptions and actions available through this panel can be controlled from thekeyboard:
Toggle Regular Expression...
分类:
其他好文 时间:
2014-07-16 16:32:20
阅读次数:
187
$("#uploader").plupload({
/*常规设置*/
runtimes:‘html5,flash,silverlight,html4‘,
url:‘hyzx/seller/commPicUpload.action‘,
/*最大文件限制b,kb,mb,gb,tb*/
max_file_size:‘1mb‘,
/*是否生成唯一文件名,如果为true会为上传的文件唯一的文件名。*/
unique_names:true,
/*..
分类:
Web程序 时间:
2014-07-16 16:29:00
阅读次数:
339
可以这样做:方法1:sed -i 's/被替换的内容/要替换成的内容/' file 方法2:sed 's/被替换的内容/要替换成的内容/g' file > file.outmv file.out file 这里注意:不能这样做:sed 's/被替换的内容/要替换成的内容/g' file > file...
分类:
其他好文 时间:
2014-07-16 16:07:56
阅读次数:
301
CComponent:path:framework/base/CComponent.phpoverview:This file contains the foundation classes for component-based and event-driven programming. ...
分类:
其他好文 时间:
2014-07-16 16:03:00
阅读次数:
180
导入数据前要先创建表空间导入命令 imp file= full=y 回车输入用户名密码 可能有的表空间 不存在要创建/*分为四步 *//*第1步:创建临时表空间 */create temporary tablespace user_temp tempfile 'D:\oracle\oradata\O...
分类:
数据库 时间:
2014-07-16 15:58:13
阅读次数:
272
protected void WriteLog(string message) { lock (lockObject) { var file = System.IO.File.AppendText...
分类:
编程语言 时间:
2014-07-16 13:51:46
阅读次数:
213
一、如何获取动态生成的class 字节码结合生成的class文件是一个学习cglib的比较好的方法。在cglib中,生成的class文件默认只存储在内存中,我们可以在代码中加入下面语句来获取class file。System.setProperty(DebuggingClassWriter.DEBU...
分类:
其他好文 时间:
2014-07-16 13:38:25
阅读次数:
454
知道 大家都知道用poi读取xls 当时有时候 必须要读取xlsx 现在我把我做测试的demo分享给大家
package com.lt.main;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.sql.Connection;
import ja...
分类:
其他好文 时间:
2014-07-16 13:22:18
阅读次数:
197