Skip to content

Instantly share code, notes, and snippets.

View ddddavidmartin's full-sized avatar

David Martin ddddavidmartin

View GitHub Profile
@ddddavidmartin
ddddavidmartin / gist:24b218d1fcb5df1dd8b6b4cf70b0ed87
Created November 4, 2017 06:54
python standardnotes_fs.py -vv ~/Dev/test_notes output
Silbersofa2:~/Dev/standardnotes-fs$ . env/bin/activate
(env) Silbersofa2:~/Dev/standardnotes-fs$ python standardnotes_fs.py -vv ~/Dev/test_notes
INFO : Using config directory "/Users/davidm/Library/Application Support/standardnotes-fs".
INFO : Loaded config file "/Users/davidm/Library/Application Support/standardnotes-fs/standardnotes-fs.conf".
INFO : Using sync URL "https://sync.standardnotes.org".
DEBUG : Starting new HTTPS connection (1): sync.standardnotes.org
DEBUG : https://sync.standardnotes.org:443 "POST /auth/sign_in HTTP/1.1" 200 None
INFO : Successfully logged into account "xxxx".
INFO : Config written to file "/Users/davidm/Library/Application Support/standardnotes-fs/standardnotes-fs.conf".
@ddddavidmartin
ddddavidmartin / keybase.md
Created May 18, 2017 20:48
keybase.io proof for github account

Keybase proof

I hereby claim:

  • I am ddddavidmartin on github.
  • I am david_martin (https://keybase.io/david_martin) on keybase.
  • I have a public key ASCFzLZecX9T5-eu5I-wVt9O_GpnVhHeiV3uJ56SC2T0Uwo

To claim this, I am signing this object:

@ddddavidmartin
ddddavidmartin / keybase.md
Created February 9, 2017 07:02
keybase.io proof for github identity

Keybase proof

I hereby claim:

  • I am githubbrowser on github.
  • I am david_martin (https://keybase.io/david_martin) on keybase.
  • I have a public key ASCFzLZecX9T5-eu5I-wVt9O_GpnVhHeiV3uJ56SC2T0Uwo

To claim this, I am signing this object:

@ddddavidmartin
ddddavidmartin / .gitconfig
Last active December 7, 2023 21:16 — forked from zdennis/.gitconfig
Git checkout alias that accepts regular expressions
[alias]
co = !"find_and_checkout_branch(){\
for last; do true; done ; \
pattern='^/.*/$' ;\
if [[ $# -eq 1 && $last =~ $pattern ]] ;\
then \
branch_pattern=`echo $last | sed -e 's/^\\///' -e 's/\\/$//'` ;\
branch=`git for-each-ref --sort=-committerdate --format='%(refname:short)' refs/heads/ | grep -E -i $branch_pattern | head -n1` ;\
if [[ $branch ]] ; then \
git checkout $branch ;\