Skip to content

Instantly share code, notes, and snippets.

View henfee's full-sized avatar

Xubin Cao henfee

  • SWUFE
  • Chengdu
View GitHub Profile
@henfee
henfee / update_gfwlist.sh
Created February 25, 2019 14:46 — forked from VincentSit/update_gfwlist.sh
Automatically update the PAC for ShadowsocksX. Only tested on OS X. (Deprecated)
#!/bin/bash
# update_gfwlist.sh
# Author : VincentSit
# Copyright (c) http://xuexuefeng.com
#
# Example usage
#
# ./whatever-you-name-this.sh
#
# Task Scheduling (Optional)
@henfee
henfee / flaskwithcron.py
Created October 13, 2018 07:41 — forked from chadselph/flaskwithcron.py
flask with "cron"-like loop
from flask import Flask, render_template, jsonify, request
from threading import Timer, Thread
from time import sleep
app = Flask(__name__)
@app.route("/api/<method>")
def api(method):
data = {
@henfee
henfee / PlunkerInstallationGuide.md
Created October 7, 2017 13:35 — forked from WilHall/PlunkerInstallationGuide.md
Plunker Installation Guide