THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
server { | |
server_name $domain_name; | |
root /var/www; | |
index index.html index.php; | |
access_log /var/log/nginx/access.log; | |
error_log /var/log/nginx/error.log; | |
# Cache static files for as long as possible | |
location ~* \.(?:xml|ogg|mp3|mp4|ogv|svg|svgz|eot|otf|woff|ttf|css|js|jpg|jpeg|gif|png|ico)$ { | |
try_files $uri =404; |
//needs import ("time") | |
m.Use(render.Renderer(render.Options{ | |
Directory: "templates", | |
Layout: "layout", | |
Funcs: []template.FuncMap{ | |
{ | |
"formatTime": func(args ...interface{}) string { | |
t1 := time.Unix(args[0].(int64), 0) | |
return t1.Format(time.Stamp) | |
}, |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
package main | |
import ( | |
"github.com/codegangsta/martini" | |
"net/http/pprof" | |
) | |
func main() { | |
m := martini.Classic() |
Go here to export playlists: http://groovebackup.com/ | |
Each playlist will look like this: | |
``` | |
"SongName","ArtistName","AlbumName" | |
"Oxford Comma","Vampire Weekend","Vampire Weekend" | |
"Le Vent Nous Portera","Noir Désir","Radio Bemba Sound System" | |
"Na neh na","Vaya Con Dios","Top 2000" | |
"Discordance","Paris Combo","Motifs" |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
# Rime schema | |
# encoding: utf-8 | |
schema: | |
schema_id: bopomofo | |
name: 正體 | |
version: "1.3" | |
author: 這樣 是 | |
- 佛振 <[email protected]> | |
- turtleknight(修正臺灣使用者輸入習慣) <[email protected]> |
Either copy the aliases from the .gitconfig
or run the commands in add-pr-alias.sh
Easily checkout local copies of pull requests from remotes:
git pr 4
- creates local branch pr/4
from the github upstream
(if it exists) or origin
remote and checks it outgit pr 4 someremote
- creates local branch pr/4
from someremote
remote and checks it out