Skip to content

Instantly share code, notes, and snippets.

View iwillwen's full-sized avatar
🎮
Seeking anwser

Will Wen Gunn iwillwen

🎮
Seeking anwser
View GitHub Profile
@bumaociyuan
bumaociyuan / shadow.sh
Created February 18, 2016 01:58
极路由安装ss
#!/bin/sh
#
echo ''
echo '/*教程请参考:极路由Shadowsocks家庭无痛翻墙实践*/'
echo 'https://luolei.org/hiwifi-shadowsocks/'
echo 'by @foru17'
echo ''
echo ''
echo '那一天,'
echo '人类终于回想起了,'
@wiky
wiky / design.md
Created July 26, 2012 17:53
NanoDB Design (draft)

#NanoDB Design (draft)

定位:跨应用,跨平台

##Creating Database

####Memory Database

创建内存数据库,只需要提供库名(此名字用于标识数据库在内存中的名字)和数据源(数据源为空则是一个空数据库)。数据源的来源不关心,只要是完整的JSON数据对象即可。

@lemonhall
lemonhall / gist:3120320
Created July 16, 2012 03:38
FormData for XMLHttpRequest 2 - Polyfill for Web Worker (c) 2012 Rob W
/*
* FormData for XMLHttpRequest 2 - Polyfill for Web Worker (c) 2012 Rob W
* License: Creative Commons BY - http://creativecommons.org/licenses/by/3.0/
* - append(name, value[, filename])
* - toString: Returns an ArrayBuffer object
*
* Specification: http://www.w3.org/TR/XMLHttpRequest/#formdata
* http://www.w3.org/TR/XMLHttpRequest/#the-send-method
* The .append() implementation also accepts Uint8Array and ArrayBuffer objects
* Web Workers do not natively support FormData: