This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TMPFILE=`mktemp /tmp/wave.XXXXXX` || exit 1 | |
| USERNAME=my_github_user_name | |
| PASSWORD=my_password | |
| curl -s --location -u $USERNAME:$PASSWORD https://github.com/waveaccounting/documentation/raw/master/devops/ssh_config | sed "s/USERNAME/$USERNAME/;/Identity/d" > $TMPFILE | |
| lead='BEGIN WAVE SERVERS' | |
| tail='END WAVE SERVERS' | |
| sed -i.bak -e "/$lead/,/$tail/{ | |
| /$lead/ { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/php -q | |
| <?php | |
| /** | |
| * Example that send notifications to Growl using the new GNTP/1.0 protocol | |
| * | |
| * PHP version 5 | |
| * | |
| * @category Networking | |
| * @package Net_Growl | |
| * @author Laurent Laville <[email protected]> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node 'puppet.ertw.com' inherits basenode { | |
| include apache | |
| include rvm | |
| rvm_system_ruby { | |
| 'ruby-1.9.3': | |
| ensure => 'present', default_use => true; | |
| 'ree': | |
| ensure => 'present', default_use => false; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-dss AAAAB3NzaC1kc3MAAACBALbrWIzmqYCkO/k5wWppEdFc6Np60Rhaf0RGrnG1ItJRBK8qrmrHxHpP9fR5qMd3EqziNKbZBh5/wETpsz4PcIUVCDBjKn7xAw3ulwnNC7/SmnoebK3xvgGp4ajxMxmjOBLqiSL8Py/2HSR1JCem5yXBjqtW1KN1jwg0/EowgxMZAAAAFQDDY2QYPEP6w4+YrXt08D05+gFDHwAAAIBKyCn1PnYB71z/lfJf7Ef19/aU/m/K+sLx3vzE5YtcAA8dwy3O+8YS4BpWBeb1WoN9EPqeAp3eTMXzp0eiYvblFRi8IBy1rsNUgAyj9qIeSO/j3Pvmsc5lQ3M6hGl2SBNw2yNjN8jr3YyL0Di2R2qytl38l8psJzGVL1MxYVD1mwAAAIBRUG9APL0UDveVEgOGp3plPrZYXD2wNbuzz8mXbsCIs1H0ZGoBeGeu7GBGdvwOfBPm1iCesR2ebrLiYTefWwTcPGFg9pSvTmTILzBykXbeUedI8u3jQ76zAJhGdYseotJgcx6b55ANXk0LqdcKIQKehC0qoVLDkVmdrcVhWqga2g== [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/lirc/hardware.conf | |
| # | |
| #Chosen Remote Control | |
| REMOTE="Windows Media Center Transceivers/Remotes (all)" | |
| REMOTE_MODULES="lirc_dev mceusb" | |
| REMOTE_DRIVER="" | |
| REMOTE_DEVICE="/dev/lirc0" | |
| REMOTE_SOCKET="" | |
| REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb" | |
| REMOTE_LIRCD_ARGS="" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <IRremote.h> | |
| IRsend irsend; | |
| void setup() | |
| { | |
| Serial.begin(9600); | |
| } | |
| unsigned long code; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias update_bashrc='curl https://raw.github.com/gist/xxxxxxxx/gistfile1.txt > ~/.bashrc' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NB: deploy:symlink is deprecated, don't hook into it! | |
| https://github.com/capistrano/capistrano/blob/master/lib/capistrano/recipes/deploy.rb | |
| deploy:migrations | |
| update_code | |
| strategy.deploy! | |
| finalize_update | |
| migrate | |
| create_symlink <-- hook in here | |
| restart <-- or here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ dig +trace airbrake.io | |
| ; <<>> DiG 9.8.3-P1 <<>> +trace airbrake.io | |
| ;; global options: +cmd | |
| . 100957 IN NS a.root-servers.net. | |
| . 100957 IN NS f.root-servers.net. | |
| . 100957 IN NS d.root-servers.net. | |
| . 100957 IN NS b.root-servers.net. | |
| . 100957 IN NS j.root-servers.net. | |
| . 100957 IN NS h.root-servers.net. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rbenv_gem "pg" do | |
| ruby_version "2.0.0-p247" | |
| options "--with-pg-config=/usr/pgsql-9.2/bin/pg_config" | |
| end |