(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| docker ps -a|grep -v "CONTAINER ID"|awk '{print $1}'|xargs docker rm && docker images|grep -v REPOSITORY|awk '{print $3'}|xargs docker rmi | 
| require 'fog' | |
| bucket = 'bucket-name' | |
| credentials = { | |
| :provider => 'AWS', | |
| :aws_access_key_id => 'access_key_id', | |
| :aws_secret_access_key => 'secret_key', | |
| } | |
| fog = Fog::Storage.new(credentials) | 
Use node-inspector to debug hubot!
sudo npm install -g node-inspector
coffee --nodejs --debug $(which hubot)
| #!/bin/bash | |
| # | |
| # Install Postgres 9.1, PostGIS 2.0 and pgRouting on a clean Ubuntu 12.04 install (64 bit) | |
| # updated to PostGIS 2.0.1 | |
| # basics | |
| apt-get install python-software-properties | |
| apt-add-repository ppa:sharpie/for-science # To get GEOS 3.3.3 | |
| # install the following pacakages |