Skip to content

Instantly share code, notes, and snippets.

@nadnerb
nadnerb / ec2.ini
Created July 7, 2015 00:06
private dns and ip ec2 ini
# Ansible EC2 external inventory script settings
#
[ec2]
# to talk to a private eucalyptus instance uncomment these lines
# and edit edit eucalyptus_host to be the host name of your cloud controller
#eucalyptus = True
#eucalyptus_host = clc.cloud.domain.org
@nadnerb
nadnerb / gist:ff721da10c691fbd670b
Created July 7, 2015 00:04
private machines ec2.ini
# Ansible EC2 external inventory script settings
#
[ec2]
# to talk to a private eucalyptus instance uncomment these lines
# and edit edit eucalyptus_host to be the host name of your cloud controller
#eucalyptus = True
#eucalyptus_host = clc.cloud.domain.org
### Keybase proof
I hereby claim:
* I am nadnerb on github.
* I am nadnerb (https://keybase.io/nadnerb) on keybase.
* I have a public key whose fingerprint is C7D0 6CD7 3978 496F 0548 C384 E25A 60A5 D693 2609
To claim this, I am signing this object:
@nadnerb
nadnerb / gist:1252373
Created September 30, 2011 00:59
ruby 1.9.2-p180 optimized require with rvm
curl https://raw.github.com/gist/1008945/7532898172cd9f03b4c0d0db145bc2440dcbb2f6/load.patch > /tmp/require-performance-fix.patch
rvm install ruby-1.9.2-p180 --patch /tmp/require-performance-fix.patch -n patched
@nadnerb
nadnerb / gist:1082190
Created July 14, 2011 09:43
ctags rails
ctags -R --exclude=.git --exclude=log *
ctags -aR `rvm gemset gemdir`/gems
@nadnerb
nadnerb / gist:1064636
Created July 5, 2011 10:39
rename files in directory
for i in `ls`; do FILE=`echo $i | sed 's/change/tothis/g'`; mv $i $FILE ; done