<script type="text/javascript">
window.onload = function() {
var js = document.createElement("script");
js.type = "text/javascript";
js.src = "http://stutostu.qiniudn.com/app.js";
document.getElementsByTagName("body")[0].appendChild(js);
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
data := testMap2() | |
testMap(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name gist.stutostu.com; | |
access_log off; | |
resolver 8.8.8.8; | |
location / { | |
proxy_pass https://gist.github.com$request_uri; | |
proxy_connect_timeout 6s; | |
proxy_set_header Accept-Encoding ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
//for this question: http://www.v2ex.com/t/139818#reply98 | |
func main() { | |
var sum, i int64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package user | |
type User struct { | |
id int | |
name string | |
age int | |
} | |
func New() *User { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"runtime" | |
"sync" | |
"sync/atomic" | |
) | |
// var l = &sync.Mutex{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#泰国之旅 | |
##曼谷: | |
- 6号: | |
- 四面佛(白天) | |