This file contains hidden or 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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# From: ubuntu.org.cn Copyright: GPLv2 | |
import urllib | |
import re | |
from datetime import datetime | |
import socket | |
def findporxy(): | |
url = "http://www.proxycn.com/html_proxy/http-1.html" | |
f = urllib.urlopen(url) |
This file contains hidden or 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/sh | |
# Moyo <[email protected]> @ 2012/02/22 10:00 | |
# @url http://moyo.uuland.org/system/mysqlhotcopy-auto-sh/ | |
# DEFINED ~~ | |
# 需要备份的数据库列表(空格间隔) | |
dbns="mysql" | |
# 备份目录 | |
dbsf=/home/backup/database |
This file contains hidden or 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/sh | |
# Moyo <[email protected]> @ 2012/02/23 10:00 | |
# @url http://moyo.uuland.org/system/rsync-local-auto-sh/ | |
# DEFINED ~~ | |
# 脚本所在目录 | |
workbase=/home/backup/shell | |
# 需要备份的网站列表(文件名) | |
listf=web.rsync.list |
NewerOlder