Skip to content

Instantly share code, notes, and snippets.

View Roboneet's full-sized avatar

Neethu Mariya Joy Roboneet

View GitHub Profile
/*
Find first and follow sets in a grammar
========================================
( why do programmers ever need a reason? :P )
*/
function split_lr(rule){
return rule.split("===>")
}
@Roboneet
Roboneet / 2048.jl
Created January 25, 2019 19:44
2048 for humans
# 2048 for humans
# ---------------
# controls:
# w: up
# a: left
# s: down
# d: right
# press enter
mutable struct Board{T,N} <: AbstractArray{T,N}
using AlphaGo
using HttpServer
using JSON
config = Dict()
function _deploy(f)
handler= HttpHandler(f)
server = Server(handler)
run(server, 3000)
@Roboneet
Roboneet / ___lazyPSPref__.js
Last active April 27, 2018 16:01
An easy way to fill preferences in http://psd.bits-pilani.ac.in/
/***
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
@Roboneet
Roboneet / introrx.md
Created December 4, 2017 10:58 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.