(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.
| 'use strict'; | |
| // Generated on 2014-04-14 using generator-leaflet 0.0.14 | |
| var gulp = require('gulp'); | |
| var open = require('open'); | |
| var wiredep = require('wiredep').stream; | |
| // Load plugins | |
| var $ = require('gulp-load-plugins')(); |
| yum install gcc-c++ make openssl-devel python26 | |
| cd /usr/local/src/ | |
| wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz | |
| tar zxvf node-v0.10.28.tar.gz | |
| cd node-v0.10.28/ | |
| export PYTHON=/usr/bin/python26 | |
| $PYTHON ./configure | |
| make | |
| make install |
| require "sinatra" | |
| require "sinatra/reloader" | |
| require "redis-store" | |
| require 'redis-rack' | |
| class ApplicationController < Sinatra::Base | |
| configure :development do | |
| register Sinatra::Reloader | |
| end | |