[root@qycaishenye]#tail-f/data/caishenye/sa_9_0.logPHPWarning:mkdir():Nosuchfileordirectoryin/data/caishenye/sa_9_0.phponline18PHPFatalerror:Calltoundefinedfunctionmysql_pconnect()in/data/caishenye/sa_9_0.phponline25InteractivemodeenabledPHPWarning:mkdir():..
分类:
数据库 时间:
2014-05-27 04:00:48
阅读次数:
466
#!/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
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><ti..
分类:
其他好文 时间:
2014-05-27 03:41:43
阅读次数:
304
1.创建一个用户mandriva,其ID号为2002,基本组为distro(组ID为3003),附加组为linux[root@localhost~]#groupadd-g3003distro
[root@localhost~]#tail-1/etc/group
distro:x:3003:
[root@localhost~]#groupaddlinux
[root@localhost~]#tail-1/etc/group
linux:x:3004:[root@loca..
分类:
系统相关 时间:
2014-05-27 03:37:39
阅读次数:
409
完全按照海涛哥剑指offer里边的递归思路来写的,基本一样,仅作学习验证,努力锻炼,努力学习!code如下:
//Change a BSTree to a sorted double linklist
struct BSTreeNode
{
int value;
BSTreeNode *left;
BSTreeNode *right;
}head;
//Create a node of...
分类:
其他好文 时间:
2014-05-22 10:23:27
阅读次数:
237
问题描述
对一个单链表进行插入排序,head指向第一个结点。
代码
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/...
分类:
其他好文 时间:
2014-05-22 10:15:43
阅读次数:
233
三层已经学了一些时间了,开始觉得自己可以用C#写程序了,就用C#写了一个实现登陆的,真正再用在机房中,还是觉得很吃力的,所以,决定用vb.net敲了。下面是我用vb.net实现的登陆,可以给大家做一些参考。
这是构架的三层
数据库中的表T_User_DAL:UserI,Level,Password,Head,computer
首先看一下...
分类:
Web程序 时间:
2014-05-22 08:10:55
阅读次数:
319
grep -2 -iIr "err\|warn\|fail\|crit" /var/log/*
查找日志中的所有问题grep . filename >filename1 移除空行cat site.log | grep -i unica | tail
-n 10find /path -name \*....
分类:
其他好文 时间:
2014-05-22 03:42:01
阅读次数:
306
一、安装apache、subversion服务#yuminstallhttpdsubversionsubversion-develmod_dav_svn-y二、配置apache服务器#sed‘{/^$/d;/#/d}‘/etc/httpd/conf/httpd.conf
ServerTokensOS
ServerRoot"/etc/httpd"
PidFilerun/httpd.pid
Timeout60
KeepAliveOff
MaxKeepAliveRequests100
K..
分类:
其他好文 时间:
2014-05-20 21:09:14
阅读次数:
553
戳我去解题Given a linked list, remove thenthnode from
the end of list and return its head.For example, Given linked list:
1->2->3->4->5, and n = 2. Aft...
分类:
其他好文 时间:
2014-05-20 08:04:28
阅读次数:
291