(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.
| <?php | |
| /** | |
| * @copyright 2012 TheHydroImpulse, Daniel Fagnan | |
| * @version 0.1 | |
| * @todo Add an overwite ability. Among other things. | |
| * @note Use this as you wish. Extend it, Mash it. Enjoy it. | |
| */ |
| $ cd ~/Downloads/redis-2.4.14 | |
| $ make test | |
| $ make |
| r.table("test").filter( function(doc) { | |
| return doc("adresses").contains(function(adress) { | |
| return adress("city").eq("Paris") | |
| }) | |
| }) | |
| /* | |
| { |
| var readline = require('readline'), | |
| _ = require('lodash'), | |
| charm = require('charm')(process.stdout), | |
| rl = readline.createInterface(process.stdin, process.stdout); | |
| var selected = 0; | |
| var choices = [ | |
| "foo", | |
| "bar", | |
| "javascript", |
| package analyse; | |
| import java.io.BufferedReader; | |
| import java.io.File; | |
| import java.io.FileReader; | |
| import java.io.IOException; | |
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; |
| package sandbox; | |
| import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE; | |
| import static java.nio.file.StandardWatchEventKinds.ENTRY_DELETE; | |
| import static java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY; | |
| import java.io.IOException; | |
| import java.nio.file.ClosedWatchServiceException; | |
| import java.nio.file.FileSystem; |
(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.
My notes for Dokku on Digital Ocean.
Install dokku-cli (gem install dokku-cli) for a more Heroku-like CLI experience (dokku config:set FOO=bar).
# List/run commands when not on Dokku server (assuming a "henroku" ~/.ssh/config alias)
ssh henroku dokku
ssh henroku dokku config:get my-app
| var source = require('vinyl-source-stream'); | |
| var gulp = require('gulp'); | |
| var gutil = require('gulp-util'); | |
| var browserify = require('browserify'); | |
| var reactify = require('reactify'); | |
| var watchify = require('watchify'); | |
| var notify = require("gulp-notify"); | |
| var scriptsDir = './scripts'; | |
| var buildDir = './build'; |
| var source = require('vinyl-source-stream'); | |
| var gulp = require('gulp'); | |
| var gutil = require('gulp-util'); | |
| var browserify = require('browserify'); | |
| var reactify = require('reactify'); | |
| var watchify = require('watchify'); | |
| var notify = require("gulp-notify"); | |
| var scriptsDir = './scripts'; | |
| var buildDir = './build'; |