Skip to content

Instantly share code, notes, and snippets.

View yefremov's full-sized avatar

Jeff yefremov

  • Riga, Latvia
View GitHub Profile
@yefremov
yefremov / introrx.md
Created February 29, 2016 13:51 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@yefremov
yefremov / stateful.js
Created September 14, 2013 12:46 — forked from foca/stateful.js
// Stateful is a simple implementation of the state pattern for javascript.
//
// Read more on this design pattern here:
// -> http://sourcemaking.com/design_patterns/state
//
// Initialize Stateful by passing it an object, the name of the initial state
// (defaults to "default"), and an optional hash of interfaces that will be
// applied for each state. If these interfaces are not passed, they default to
// the object's constructor's States property. So, for example:
//
@yefremov
yefremov / LICENSE.txt
Created November 6, 2011 13:53 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
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