Brandon's public fiddles
-
Redux example
Redux example taken from the official repository.
-
React Base Fiddle (JSX)
Starting point for creating JSFiddles with React. This uses React with Addons.
-
to_array_of_strings
Underscore 1.4.4, HTML, CSS, CoffeeScript
-
Directives: Sharing Controllers
AngularJS 1.0.3, HTML, CSS, CoffeeScript
-
MapReduce Example
We can see the basics of MapReduce working here, as we total the number of US patents for the past 50ish years.
-
Lo-Dash Expressive
Lo-Dash is great, but the way it reads is best suited for pure JavaScript. This just takes some of the more helpful methods and turns them into syntax that allows expressiveness in CoffeeScript.
-
Days To Rabbits
Rabbits reproduce fast. Crazy fast. A rabbit can produce 6 rabbits a month. When a rabbit reaches 6 months old, it too can start giving birth to 6 rabbits a month. Create a function that will accept a number of days and return how many rabbits we'd have. Assume we start with 2 rabbits for easy data validation and ignore all the incest. Also, assume 31 days are in a month. The day a rabbit is born is the zeroth day.
-
README First Development (RFD): JavaScript
Lo-Dash 2.2.1, HTML, CSS, JavaScript
-
README First Development (RFD): Coffeescript
README first development isn't a crazy new concept, but it's a simple and effective one: write your docs, and bam - now you have your specs.
-
Radial
From The Code Player, and modified for Fullscreen cards. Non-animating.
-
Javascript Concept: Hoisting
This shows a basic example of how variable hoisting works and how it can bite you in the ass.