Skip to content

Instantly share code, notes, and snippets.

View lizy14's full-sized avatar

Zhaoyang Li lizy14

  • zhaoyangli@microsoft.com
View GitHub Profile
@lizy14
lizy14 / tunet-masks.txt
Created January 28, 2018 06:37
清华大学校园网 IP 地址段
59.66.0.0/16
101.5.0.0/16
101.6.0.0/16
118.229.0.0/19
166.111.0.0/16
183.172.0.0/15
202.112.39.2/32
219.223.168.0/21
219.223.176.0/20
@lizy14
lizy14 / tmux_local_install.sh
Last active December 15, 2017 12:07 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=2.6
@lizy14
lizy14 / map-apis.py
Last active January 28, 2018 06:42
Map APIs Aggregation
from flask import Flask
from flask import request
app = Flask(__name__)
BD_KEY = '0123456789abcdef'
GD_KEY = '0123456789abcdef'
GG_KEY = '0123456789abcdef'
import requests
import googlemaps