#!/bin/bash
process=8
PWD=`pwd`
DAT=`date`
ftpip="192.168.1.1"
user="ftp_username"
password="ftp_password"
local_dir="/home/"
getlist()
{
ftp-n$ftpip<<EOF|awk‘{print$9}‘|sed‘/^$/d‘>$PWD/list
user$user$password
cdfile/
dir
bye
EOF
}
copy()
{
if[-f$P..
分类:
系统相关 时间:
2014-05-27 03:55:34
阅读次数:
378
1.编译时出现No rule to make target
错误,尝试删除XXX/proj.android/obj/local/armeabi/objs这个文件夹。2.android.mk正确写法LOCAL_PATH
:= $(call my-dir)include $(CLEAR_VARS)LOC...
分类:
移动开发 时间:
2014-05-21 22:59:16
阅读次数:
374
Jni Error(app bug): accessed stale local
reference这个错误平常是 弱全局变量引起的时候 出现的一个错误,但是今天我却在另外一种情况下遇到了下面是错误截图出现错误的原因其他很简单
是因为自己的粗心引起的java层函数声明是这么写的 publicnati...
分类:
移动开发 时间:
2014-05-21 22:00:58
阅读次数:
390
Auth: jinDate:
20140520参考:http://www.redis.cn/article.html官网:http://redis.io/一、源码安装1.create
basedirmkdir -p /data/redismkdir -p /usr/local/redis/binmk...
分类:
其他好文 时间:
2014-05-21 21:54:30
阅读次数:
700
如果您的连接字符串是这样的或者这样的并且没有语法错误,建议尝试下边的方式试试也就是把server=127.0.0.1或server=local该为server=.\sqlexpress希望能够帮到遇到这种问题的朋友。
分类:
数据库 时间:
2014-05-21 06:21:36
阅读次数:
354
安装好mysql数据库后,直接在安装的目录下/usr/local/mysql下新建了一个目录data用于存放数据,建好后,直接去启动数据库,发现启动不了,出现如下报错:mysqld_safeStartingmysqlddaemonwithdatabasesfrom/usr/local/mysql/data/usr/local/mysql/libexec/mysqld:File‘./mysql-..
分类:
数据库 时间:
2014-05-21 01:32:42
阅读次数:
378
nagios监控设置monitor告警的用户名和密码默认在commands.cfg文件中定义:其中参数解释:Vimcommands.cfg文件:/usr/local/bin/sendEmail–fnagios@test.com–tyahoon@test.com–smail.test.com–u“fromnagios”–xunagios–xpp#3isoda–mhappy解释:-f表示发送者的邮箱-t表示?.
分类:
移动开发 时间:
2014-05-21 00:36:54
阅读次数:
333
1,下载安装lighttpd-1.4.34lighttpd官网下载最新稳定版本[root@localhostsoftware]#tar-zxvflighttpd-1.4.34.tar.gz[root@localhostsoftware]#cdlighttpd-1.4.34[root@localhostlighttpd-1.4.34]#./configure--prefix=/usr/local/lighttpd#安装默认模块[root@localhostlighttpd..
分类:
其他好文 时间:
2014-05-20 23:29:06
阅读次数:
313
函数作用域和声明提前varscope=‘global‘;functionf(){console.info(scope);//输出undefinedvarscope=‘local‘;console.info(scope);//输出local}上述代码等价于functionf(){varscope;console.info(scope);scope=‘local‘;console.info(scope);}将函数内的变量声明“提前”至函数..
分类:
Web程序 时间:
2014-05-20 22:02:15
阅读次数:
409
对nutch添加中文网站抓取功能。1、中文网页抓取A、调整mysql配置,避免存入mysql的中文出现乱码。修改${APACHE_NUTCH_HOME}/runtime/local/conf/gora.properties################################MySQLproperties################################gora.sqlstore.jdbc.driver=com..
分类:
Web程序 时间:
2014-05-20 19:17:55
阅读次数:
539