(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.
| You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
| ## Core Principles | |
| 1. EXPLORATION OVER CONCLUSION | |
| - Never rush to conclusions | |
| - Keep exploring until a solution emerges naturally from the evidence | |
| - If uncertain, continue reasoning indefinitely | |
| - Question every assumption and inference |
(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.
Multi-series bar chart rendered using React and D3.
| var passport = require('passport'), | |
| BitbucketStrategy = require('passport-bitbucket').Strategy, | |
| request = require('request'); | |
| module.exports = function (app) { | |
| var oauth = { | |
| consumer_key: process.env.BB_CONSUMER_KEY, | |
| consumer_secret: process.env.BB_CONSUMER_SECRET | |
| }; |
| --- a/socket.io/lib/manager.js Mon Nov 28 10:46:16 2011 -0500 | |
| +++ b/socket.io/lib/manager.js Mon Nov 28 10:49:24 2011 -0500 | |
| @@ -466,12 +466,13 @@ | |
| * @api private | |
| */ | |
| -Manager.prototype.onClientDisconnect = function (id, reason) { | |
| +Manager.prototype.onClientDisconnect = function (id, reason, local) { | |
| for (var name in this.namespaces) { | |
| this.namespaces[name].handleDisconnect(id, reason, typeof this.roomClients[id][name] !== 'undefined'); |
| /*! | |
| * Copyright (c) 2012 Eric Feminella, http://code.ericfeminella.com/license/LICENSE.txt | |
| */ | |
| ( function( _, Backbone ) | |
| { | |
| // convenience reference to the Backbone.Collection constructor | |
| var _initialize = Backbone.Collection.prototype.initialize; | |
| /* | |
| * The Backbone.PersistableCollection provides a simply abstraction which |
| <!DOCTYPE html> | |
| <html> | |
| <head></head> | |
| <body></body> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
| <script type="text/javascript"> | |
| // Define the SVG domain in a viewbox to get automatic resize to | |
| // window. This is a good alternative to d3.scale for simple stuff | |
| svg=d3.select("body") |
| (function(window,undefined){ | |
| // Prepare our Variables | |
| var | |
| document = window.document, | |
| $ = window.jQuery; | |
| // Wait for Document | |
| $(window).bind(function(){ | |
| // Prepare Variables |