Skip to content

Instantly share code, notes, and snippets.

View liubiantao's full-sized avatar
🤑
Ad Space(广告位招租)

Haitao liubiantao

🤑
Ad Space(广告位招租)
View GitHub Profile
# 规则配置仅供参考,适用于 Surge Mac (1.1.0) 及其后续版本;
# 包含 Proxy Group、URL Rewrite 特性;
# 包含 Reject 规则,用于拦截广告、行为分析、数据统计;
# 屏蔽 Hao123、百度搜索,放行百度地图、百度外卖、百度音乐、百度云盘、百度百科。
# Surge for Mac 简明指南 http://bit.ly/1TATRaG
[General]
# warning, notify, info, verbose
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local
bypass-tun = 0.0.0.0/8, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
loglevel = notify
-- Custom implementation of 'show' for producing a more readable string
-- representation of BST's (convenient for debugging the 2nd CS4621 assignment).
-- The following data declaration is assumed:
--
-- data BST a = EmptyBST | Node (BST a) a (BST a)
--
-- *** I N S T R U C T I O N S ***
--
-- 1. Copy and paste the following lines at the bottom of your file 'BST.hs'.
-- 2. (Re)load 'BSTplus.hs' in GHCi.
@liubiantao
liubiantao / 0_reuse_code.js
Last active August 29, 2015 14:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console