Skip to content

Instantly share code, notes, and snippets.

View nbomberger's full-sized avatar

Nathaniel Bomberger nbomberger

View GitHub Profile
#!/usr/bin/ruby
# Markdown to Evernote, RubyCocoa edition
# by Brian Gernhardt
# Adapted from Martin Kopichke's "Markdown to Evernote" service
# https://gist.github.com/kopischke/1009149
# Which was adapted from Brett Terpstra’s original
# http://brettterpstra.com/a-better-os-x-system-service-for-evernote-notes-with-multimarkdown/
/* Better styles for embedding GitHub Gists */
.gist{font-size:13px;line-height:18px;margin-bottom:20px;width:100%}
.gist pre{font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important}
.gist-meta{font-family:Helvetica,Arial,sans-serif;font-size:13px !important}
.gist-meta a{color:#26a !important;text-decoration:none}
.gist-meta a:hover{color:#0e4071 !important}
#!/usr/bin/ruby
# Markdown to Evernote, RubyCocoa edition
# by Brian Gernhardt
# Adapted from Martin Kopichke's "Markdown to Evernote" service
# https://gist.github.com/kopischke/1009149
# Which was adapted from Brett Terpstra’s original
# http://brettterpstra.com/a-better-os-x-system-service-for-evernote-notes-with-multimarkdown/
[user]
name = Joe User
email = [email protected]
[branch]
autosetupmerge = true
[branch "master"]
remote = origin
merge = refs/heads/master
@nbomberger
nbomberger / README.md
Last active December 18, 2015 06:09 — forked from xoebus/README.md

imsg

Send iMessages from the Command Line


Install

Just run the following in your shell:

git remote add --track master upstream git://github.com/upstreamname/projectname.git
# configuration for osx clipboard support
set-option -g default-command "reattach-to-user-namespace -l sh"
@nbomberger
nbomberger / template
Last active December 17, 2015 00:09 — forked from Gen2ly/template
This is a Bash script template with colors. I replaced the '\e' with '\x1B' to make it work with OSX's terminal colors.
#!/bin/bash
# Description of script
# Required program(s)
req_progs=(prog1 prog2)
for p in ${req_progs[@]}; do
hash "$p" 2>&- || \
{ echo >&2 " Required program \"$p\" not installed."; exit 1; }
done
@nbomberger
nbomberger / template-basic
Created May 4, 2013 21:58 — forked from Gen2ly/template-basic
This is a Bash script template.
#!/bin/bash
# Description of script
# Display usage if no parameters given
if [[ -z "$@" ]]; then
echo " ${0##*/} <input> - description"
exit
fi
# Required program(s)