Skip to content

Instantly share code, notes, and snippets.

View astaxie's full-sized avatar
🏠
Working from home

astaxie astaxie

🏠
Working from home
View GitHub Profile
package main
import (
"fmt"
"log"
"os"
"runtime"
"runtime/debug"
"runtime/pprof"
"strconv"
@astaxie
astaxie / markdown.css
Created October 22, 2012 07:51 — forked from zhimiaoli/markdown.css
github的markdown的样式
.markdown-body {
font-size: 14px;
line-height: 1.6;
}
.markdown-body > *:first-child {
margin-top: 0 !important;
}
.markdown-body > *:last-child {
margin-bottom: 0 !important;
}
@astaxie
astaxie / Makefile
Created July 3, 2012 06:17 — forked from border/Makefile
json example in golang
include $(GOROOT)/src/Make.inc
GOFMT=gofmt -spaces=true -tabindent=false -tabwidth=4
all:
$(GC) jsontest.go
$(LD) -o jsontest.out jsontest.$O
format:
$(GOFMT) -w jsontest.go