Skip to content

Instantly share code, notes, and snippets.

View andrewnicolalde's full-sized avatar

Andrew Nicolalde andrewnicolalde

View GitHub Profile
@andrewnicolalde
andrewnicolalde / tail_of_zshrc.sh
Created February 6, 2019 23:03
YubiKey SSH Fedora Gnome
if ! pgrep -u $USER -f "gpg-agent.*enable-ssh-support" > /dev/null
then
pkill gpg-agent
gpg-agent --homedir $HOME/.gnupg --daemon --enable-ssh-support
fi
SSH_AUTH_SOCK=$(gpgconf --list-dir agent-ssh-socket)

Keybase proof

I hereby claim:

  • I am andrewnicolalde on github.
  • I am andrewnicolalde (https://keybase.io/andrewnicolalde) on keybase.
  • I have a public key ASA7IO_8-sUqkfGWYXl9haVsd8pKJ0GsouktNNk6YuOW_go

To claim this, I am signing this object:

@andrewnicolalde
andrewnicolalde / monzo.py
Created November 12, 2017 10:03
The app itself
import requests
import json
import urllib
import sys
import locale
import babel.numbers
import decimal
import dateutil.parser
import datetime
@andrewnicolalde
andrewnicolalde / monzo
Created November 12, 2017 01:06
monzo bash script (run this)
python2 monzo.py "$@"