Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
| app.constant("RouteManifest", { | |
| "/login" : { | |
| templateUrl: 'templates/login.html', | |
| controller: 'LoginController' | |
| }, | |
| "/home" : { | |
| templateUrl: 'templates/home.html', | |
| controller: 'HomeController' | |
| }, |
| /** | |
| * Example of using an angular provider to build an api service. | |
| * @author Jeremy Elbourn (@jelbourn) | |
| */ | |
| /** Namespace for the application. */ | |
| var app = {}; | |
| /******************************************************************************/ |
| 'use strict'; | |
| // Include gulp | |
| var gulp = require('gulp'); | |
| var _ = require('lodash'); | |
| // Include our plugins | |
| var gutil = require('gulp-util'); | |
| var flatten = require('gulp-flatten'); | |
| var modernizr = require('gulp-modernizr'); |
| // browserify | |
| var browserify = require('browserify'); | |
| var es6ify = require('es6ify'); | |
| // gulp stuff | |
| var gulp = require('gulp'); | |
| var livereload = require('gulp-livereload'); | |
| var source = require('vinyl-source-stream'); | |
| var jshint = require('gulp-jshint'); | |
| var livereload = require('gulp-livereload'); | |
| var watch = require('gulp-watch'); |
| tv4.asyncFetchSchemas = function (urls, callback) { | |
| var activeRequests = 0; | |
| var attemptedRequest = {}; | |
| if (!Array.isArray(urls)) urls = [urls]; | |
| function requestFinished(url) { | |
| activeRequests--; | |
| var missing = tv4.getMissingUris(); | |
| for (var i = 0; i < missing; i++) { |
(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.
| /* | |
| * Enhances 'require' from RequireJS with Promises API while preserving its original semantics. | |
| */ | |
| (function() { | |
| if (!Promise || !require) { | |
| return; | |
| } |