(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.
| # Copyright (c) 2014 Justin W. Smith | |
| # Don't be evil! | |
| require 'base64' | |
| require 'socket' | |
| require 'optparse' | |
| options = {port: 443} | |
| optparser = OptionParser.new do |opts| |
| var ck = document.cookie; | |
| function getcookie(n) { | |
| var ar = n + "="; | |
| var al = ar.length; | |
| var cl = ck.length; | |
| var i = 0; | |
| while (i < cl) { | |
| j = i + al; | |
| if (ck.substring(i, j) == ar) { |