Skip to content

Instantly share code, notes, and snippets.

var comeOn;
comeOn = function(){
}

Farewell!

@DannySu09
DannySu09 / Preferences.sublime-settings
Created July 25, 2014 05:08
sublime text 3 user_setting
{
"color_scheme": "Packages/Theme - itg.flat/itg.dark.tmTheme",
"font_size": 12,
"tab_size": 4,
"theme": "itg.flat.dark.sublime-theme",
"draw_white_space": "all",
"remember_open_files": true,
"folder_exclude_patterns": [".idea", ".sass-cache", "node_modules", ".git"],
"file_exclude_patterns": [".log", ".db", ".dat", ".DS_Store"],
"ignored_packages":
@DannySu09
DannySu09 / detect3d.js
Created August 6, 2014 06:41
Detect wether 3D is supported by current browser, but only work on webkit base browser.
// 检测是否支持3d
var detect3D = function(){
// 只在webkit浏览器下有效
if( !! (window.WebKitCSSMatrix && 'm11' in new WebKitCSSMatrix())) {
return true
}
return false;
}
@DannySu09
DannySu09 / .gitignore
Created August 20, 2014 02:07
.gitignore
## directory
.idea
.sass-cache
node_modules
bower_components
# mock data
mockData
// Generated by gfwlist2pac
// https://github.com/clowwindy/gfwlist2pac
var domains = {
"live.com": 1,
"ggpht.com":1,
"gimpshop.com": 1,
"directcreative.com": 1,
"speedpluss.org": 1,
"mingpaovan.com": 1,
var proxy = "SOCKS5 127.0.0.1:1081; DIRECT";
var direct = 'DIRECT;';
var cnips = [
[
16777216,
4294901760,
24
],