This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum remove -y pptpd ppp | |
/etc/init.d/iptables stop | |
iptables --flush POSTROUTING --table nat | |
iptables --flush FORWARD | |
rm -rf /etc/pptpd.conf | |
rm -rf /etc/ppp | |
wget http://www.diahosting.com/dload/dkms-2.0.17.5-1.noarch.rpm | |
#wget http://www.diahosting.com/dload/kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm | |
wget http://www.diahosting.com/dload/pptpd-1.3.4-1.rhel5.1.i386.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
require 'rubygems' | |
require 'hpricot' | |
require 'fileutils' | |
require 'time' | |
require 'ya2yaml' | |
require 'nokogiri' | |
require 'cgi' | |
require 'chinese_pinyin' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by PhpStorm. | |
* User: Dray | |
* Date: 14-7-19 | |
* Time: 下午4:58 | |
*/ | |
$update_table = array( | |
'table1', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
username="" | |
passwd="" | |
host="" | |
db1="" | |
#连接数据库把表都拉出来 | |
mysql_tables=`mysql -h $host -u $username -p"$passwd" -e "use $db1; show tables; " | grep -vE "Tables_in_src_master"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./all.bash | |
# Building C bootstrap tool. | |
cmd/dist | |
# Building compilers and Go bootstrap tool for host, linux/386. | |
lib9 | |
libbio | |
libmach | |
misc/pprof | |
cmd/addr2line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* ---------------------------------------------------- */ | |
/* 程序名称: PHP探针-Yahei | |
/* 程序功能: 探测系统的Web服务器运行环境 | |
/* 程序开发: Yahei.Net | |
/* 联系方式: info@Yahei.net | |
/* Date: 1970-01-01 / 2012-07-08 | |
/* ---------------------------------------------------- */ | |
/* 使用条款: | |
/* 1.该软件免费使用. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin | |
export PATH | |
# SET FTP server you want back up to | |
FTP_HOST="" | |
FTP_USER="" | |
FTP_PASS="" | |
# Databases information |
NewerOlder