Skip to content

Instantly share code, notes, and snippets.

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;
color: #333;
}
#
# Working with branches
#
# Get the current branch name (not so useful in itself, but used in
# other aliases)
branch-name = "!git rev-parse --abbrev-ref HEAD"
# Push the current branch to the remote "origin", and set it to track
# the upstream branch
publish = "!git push -u origin $(git branch-name)"
@jjedMoriAnktah
jjedMoriAnktah / gist:5302506
Created April 3, 2013 15:59
Sort and keep only the unique lines selected in Sublime Text 2
// Key bindigs
{ "keys": ["ctrl+alt+u"], "command": "run_macro_file", "args": {"file": "Packages/User/keep_only_uniq_items.sublime-macro"} }
// The macro code
[
{
"args":
{
"case_sensitive": false
// swap the keybindings for paste and paste_and_indent
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" }