plink_path="C:/plink.exe"'plink.exe路径 username="username"'用户名 password="password"'密码 host="192.168.0.1"'Unix/Linux服务器地址 command="ls"'要执行的命令 SetoShell=...
分类:
其他好文 时间:
2014-06-27 21:52:26
阅读次数:
293
1.打开文件:函数原型: FILE * fopen(const char * path,const char * mode);返回值: 文件顺利打开后,指向该流的文件指针就会被返回。如果文件打开失败则返回NULL,并把错误代码存在errno 中。参数说明:参数path字符串包含欲打开的文件路径及.....
分类:
其他好文 时间:
2014-06-27 21:19:35
阅读次数:
327
转自:简述configure、pkg-config、pkg_config_path三者的关系 一、什么是configure 源码安装过程中大多会用到configure这个程序,一般的configure都是一个script,执行时可以传入必要参数告知配置项目。 configure程序它会根据传...
分类:
其他好文 时间:
2014-06-27 00:25:45
阅读次数:
310
为避免以下某个软件安装时不自动安装 build-essential 不妨先执行:sudo apt-get install build-essential[编辑]anjutaAnjuta DevStudio 的官方地址:http://anjuta.sourceforge.net/Anjuta是一个C/...
分类:
编程语言 时间:
2014-06-25 12:16:23
阅读次数:
324
目前我用的交叉编译器是TQ2440配套光盘中制作好了的,解压后需要如下配置:1.对于Fedora系统:修改/etc/profile文件,在其中添加交叉编译器的环境变量的设置。 对于Ubuntu系统,修改/etc/enviroment文件2.我用的是Fedora系统,修改PATH值,在其后添加上交叉编...
分类:
系统相关 时间:
2014-06-25 11:18:12
阅读次数:
212
下面是mybatis配置文件xxxx.xml缺失resultMap的错误:
严重: Servlet.service() for servlet [SpringMVC] in context with path [/ZHDM] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyB...
分类:
其他好文 时间:
2014-06-25 07:35:36
阅读次数:
261
【题目】
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find the total sum of all root-to-leaf numbers.
For example,
1
...
分类:
其他好文 时间:
2014-06-25 07:32:27
阅读次数:
209
def upload(url,params):
'''
上传文件到服务器,不适合大文件
@params url 你懂的
@params {"action":"xxx","@file","file_path"} 普通参数 key:value 文件key头部加@
'''
import os
import urllib2
BOUNDAR...
分类:
编程语言 时间:
2014-06-25 06:50:59
阅读次数:
298
查找包含BOM头的文件,命令如下:grep-r-I-l$‘^\xEF\xBB\xBF‘./这条命令会查找当前目录及子目录下所有包含BOM头的文件,并把文件名在屏幕上输出。但是,删除BOM头,网上找到的命令大多不能用,比较常见的命令是:grep-r-I-l$‘^\xEF\xBB\xBF‘/path|xargssed-i‘s/^\xEF\xBB\xBF//..
分类:
Web程序 时间:
2014-06-25 06:40:16
阅读次数:
266
packagecom.smilezl.learn.CalWord;importjava.io.IOException;importjava.util.StringTokenizer;importorg.apache.hadoop.conf.Configuration;importorg.apache.hadoop.fs.Path;importorg.apache.hadoop.io.Text;importorg.apache.hadoop.mapreduce.Job;importorg.apache.hado..
分类:
其他好文 时间:
2014-06-25 06:28:59
阅读次数:
242