(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.
| RegExp.quote = function(str) { | |
| return (str+'').replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1"); | |
| } | |
| function getSearchParameters() { | |
| var prmstr = window.location.search.substr(1); | |
| return prmstr != null && prmstr != "" ? transformToAssocArray(prmstr) : {}; | |
| } | |
| function transformToAssocArray( prmstr ) { |
| public function beforeFilter() { | |
| parent::beforeFilter(); | |
| $this->response->header('Access-Control-Allow-Origin','*'); | |
| $this->response->header('Access-Control-Allow-Methods','*'); | |
| $this->response->header('Access-Control-Allow-Headers','X-Requested-With'); | |
| $this->response->header('Access-Control-Allow-Headers','Content-Type, x-xsrf-token'); | |
| $this->response->header('Access-Control-Max-Age','172800'); | |
| } |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
#Software#
##Downloads##
| let mapleader="," | |
| " load plugins | |
| execute pathogen#infect() | |
| let g:EasyMotion_leader_key = '<Leader>' | |
| map <F2> :NERDTreeToggle<CR> | |
| let NERDTreeShowLineNumbers=1 | |
| let NERDTreeShowHidden=1 | |
| " General configuration |
TOC for Nov 27 2013 UTC +8 Singapore, Hackerspace SG, Vagrant + VirtualBox + PHPUnit workshop
Windows Users • Putty - SSH Download from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
| var app = angular.module('validationExample', []); | |
| app.controller('signupController', ['$scope', function($scope) { | |
| $scope.submitted = false; | |
| $scope.signupForm = function() { | |
| if ($scope.signup_form.$valid) { | |
| } else { | |
| $scope.signup_form.submitted = true; | |
| } |
This is a more wordy, narrative accompaniment to my pretty bare presentation about d3 that I gave to the jQuery DC Meetup.
Which is to say, d3 can be used for building things, but the 'atomic parts' are lower-level than bar graphs or projections or so on. This is a powerful fact. It also means that d3 is a good basis for simple interfaces, like Vega.js, that make its power accessible in other ways.
| <?php | |
| //add this file to Lib/Email folder | |
| App::uses('CakeEmail', 'Network/Email'); | |
| class PasswordEmail { | |
| private $emailConfig = 'gmail'; | |
| private $sender = '[email protected]'; | |
| private $from; |