Skip to content

Instantly share code, notes, and snippets.

Avatar

Dave Stern davestern

View GitHub Profile
View gist:11264135
### Keybase proof
I hereby claim:
* I am davestern on github.
* I am davestern (https://keybase.io/davestern) on keybase.
* I have a public key whose fingerprint is D002 3771 7643 3301 7A8D 6B6F E4FD 547E CC75 6242
To claim this, I am signing this object:
@davestern
davestern / .gitconfig
Created Mar 18, 2014
git stash with automatic date prepended
View .gitconfig
[alias]
stasht = !git stash save "[`date '+%Y-%m-%d %H:%M:%S'`] "
@davestern
davestern / hosts
Last active Oct 30, 2018
Ansible: how to set hostname before DNS assigned
View hosts
ec2-1-2-3-4.compute-1.amazonaws.com new_hostname=new-hostname.example.com
ec2-5-6-7-8.compute-1.amazonaws.com