Skip to content

Instantly share code, notes, and snippets.

View timonwong's full-sized avatar
😶

Timon Wong timonwong

😶
View GitHub Profile
@timonwong
timonwong / gist:3944850
Created October 24, 2012 08:37
msysgit "Git Bash Here" for directory background of explorer
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell]
@="Git Ba&sh Here"
; Change the directory, if necessary
"Icon"="F:\\Program Files (x86)\\Git\\etc\\git.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell\command]
; Change the directory, if necessary
@="wscript \"F:\\Program Files (x86)\\Git\\Git Bash.vbs\" \"%v\""
@timonwong
timonwong / gist:3898242
Created October 16, 2012 09:18
GIT: Push branches as well as tags
[remote "origin"] # Or whatever
push = :
push = +refs/tags/*:refs/tags/*
@timonwong
timonwong / markdown.css
Created October 10, 2012 03:25 — forked from leecade/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;
}
@timonwong
timonwong / github.css
Created October 10, 2012 02:10 — forked from KOBA789/github.css
Github Markdown CSS - for Markdown Editor Preview
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {