Skip to content

Instantly share code, notes, and snippets.

View icodesign's full-sized avatar
:octocat:
mew~

icodesign icodesign

:octocat:
mew~
View GitHub Profile
@icodesign
icodesign / surge.conf
Created October 24, 2015 15:28 — forked from soffchen/surge.conf
surge.conf
[General]
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
dns-server = 119.29.29.29, 223.5.5.5, 114.114.114.114
loglevel = notify
[Proxy]
Proxy = custom
[Rule]
@icodesign
icodesign / gist:f55c6743c959f40ad0d8
Created May 5, 2015 08:29
Fix Xcode plugin compatibility issue
sudo find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode-beta.app/Contents/Info DVTPlugInCompatibilityUUID`
//: Playground - noun: a place where people can play
import UIKit
let sink = SinkOf<String> { input in
println(input)
return
}
sink.put("Hello")