Skip to content

Instantly share code, notes, and snippets.

@superzhang
superzhang / README.md
Created October 31, 2015 15:23 — forked from oodavid/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@superzhang
superzhang / rmfy
Created May 20, 2015 01:15
人民法院资产网全部的法院链接
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
from mysqlmodule import cursor,connection
from pyquery import PyQuery as pq
class Rmfy(object):
def __init__(self):
self.origin_url = 'http://www.rmfysszc.gov.cn/'
self.province_url = {}