(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.
| /*** | |
| When you are too lazy to drag stuff (and 295 of them) | |
| ( An easy way to fill preferences in http://psd.bits-pilani.ac.in/ ) | |
| res : contents of getPBDetail which is loaded in http://psd.bits-pilani.ac.in/Student/ViewProblemBanks.aspx | |
| ***/ | |
| // #just_snippets |
| using AlphaGo | |
| using HttpServer | |
| using JSON | |
| config = Dict() | |
| function _deploy(f) | |
| handler= HttpHandler(f) | |
| server = Server(handler) | |
| run(server, 3000) |
| # 2048 for humans | |
| # --------------- | |
| # controls: | |
| # w: up | |
| # a: left | |
| # s: down | |
| # d: right | |
| # press enter | |
| mutable struct Board{T,N} <: AbstractArray{T,N} |
| /* | |
| Find first and follow sets in a grammar | |
| ======================================== | |
| ( why do programmers ever need a reason? :P ) | |
| */ | |
| function split_lr(rule){ | |
| return rule.split("===>") | |
| } |