git clone path/to/test/repo.git
git config push.default matching
git branch -a
* master
Surround these with : e.g. :calling: | |
+1 | |
-1 | |
bulb | |
calling | |
clap | |
cop | |
feet |
#!/bin/bash | |
# imgur script by Bart Nagel <[email protected]> | |
# version 2 | |
# I release this as public domain. Do with it what you will. | |
# Required: curl | |
# | |
# Optional: xsel or xclip for automatically putting the URL on the X selection | |
# for easy pasting |
www.ulillillia.us | |
├── aboutme | |
│ ├── TVmovies.shtml | |
│ ├── aboutmefavorites.html | |
│ ├── aboutmehome.html | |
│ ├── aboutmemajorfears.html | |
│ ├── aboutmemysteriousdreams.html | |
│ ├── developedsystems.shtml | |
│ ├── dreams | |
│ │ ├── computer01.shtml |
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
cp ~/.gnupg/pubring.gpg /path/to/backups/
cp ~/.gnupg/secring.gpg /path/to/backups/
cp ~/.gnupg/trustdb.gpg /path/to/backups/
#!/usr/bin/ruby | |
# Instructions | |
# - Install optipng + libjpeg (http://mxcl.github.com/homebrew/) | |
# - Put this file in a directory of images | |
# - Open in TextMate + run it (cmd+r) | |
# Config |
#!/bin/bash | |
#### | |
# Split MySQL dump SQL file into one file per table | |
# based on http://blog.tty.nl/2011/12/28/splitting-a-database-dump | |
#### | |
if [ $# -lt 1 ] ; then | |
echo "USAGE $0 DUMP_FILE [TABLE]" | |
exit |
/* | |
Ratings Stars | |
(with as little code as possible) | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; | |
} | |
.rating > span { |
Created from the plain text reference card on orgmode.org Download this file, and open it in Emacs org-mode!
#!/bin/bash | |
# imgur script by Bart Nagel <[email protected]> | |
# version 2 | |
# I release this as public domain. Do with it what you will. | |
# Required: curl | |
# | |
# Optional: xsel or xclip for automatically putting the URL on the X selection | |
# for easy pasting |