Skip to content

Instantly share code, notes, and snippets.

项超 cloudaice

Block or report user

Report or block cloudaice

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cloudaice
cloudaice / md5_example.go
Created Apr 29, 2014
Golang use md5 lib
View md5_example.go
package main
import (
"crypto/md5"
"fmt"
"time"
)
var secret string
@cloudaice
cloudaice / for.go
Created Apr 29, 2014
测试CPU使用情况
View for.go
package main
import (
"runtime"
)
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
forfunc := func() {
@cloudaice
cloudaice / ssh.go
Created Apr 29, 2014
Golang 使用ssh连接服务器
View ssh.go
package main
import (
"io/ioutil"
"log"
"net"
"code.google.com/p/go.crypto/ssh"
)
View redistest.go
package main
import (
"fmt"
"github.com/garyburd/redigo/redis"
"os"
"runtime"
"sync"
"time"
)
@cloudaice
cloudaice / main.go
Created Aug 1, 2013
Go 时间驱动 协程库
View main.go
package main
import "fmt"
import "time"
import "runtime"
func main(){
runtime.GOMAXPROCS(8)
channel := make(chan string)
@cloudaice
cloudaice / world_location_map.json
Last active Apr 14, 2016
update file at utctime 2016-04-14 10:00:39.468129
View world_location_map.json
{
"Taipei,Taiwan": "TW",
"Vancouver": "CA",
"SF,/,BOS,/,NYC,/,LA": "BO",
"Omaha,NE": "NE",
"China,Canton,Guangzhou": "CN",
"Arkansas": "US",
"Beijing,China": "CN",
"Waco,TX": "US",
"Ancona,Italy": "IT",
@cloudaice
cloudaice / location_map.json
Last active Apr 14, 2016
update file at utctime 2016-04-14 10:00:51.535982
View location_map.json
{
"china,canton,guangzhou": "guangdong",
"shenzhen,guangdong,china": "guangdong",
"china,,\u82cf\u5dde": "jiangsu",
"peking,china": "beijing",
"pudong,district,,shanghai,,china": "shanghai",
"beijing,.china": "beijing",
"huadu,district,guangzhou,guangdong,china": "guangdong",
"beihang,university,,beijing,,china": "beijing",
"shanghai,china": "shanghai",
@cloudaice
cloudaice / readme.md
Last active Dec 17, 2015
update users file 2
View readme.md

Github Users

View example.py
import tornado.ioloop
import tornado.web
import tornado.escape
import tornado.options
import tornado.httputil
import jinja2
import pyjade.compiler
import coffeescript
import markdown
@cloudaice
cloudaice / github-china.md
Last active Dec 17, 2015
Activity chinese github users
View github-china.md

Github上活跃的中国开发者

You can’t perform that action at this time.