Skip to content

Instantly share code, notes, and snippets.

View Roboneet's full-sized avatar

Neethu Mariya Joy Roboneet

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Roboneet
Roboneet / introrx.md
Created December 4, 2017 10:58 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@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
using AlphaGo
using HttpServer
using JSON
config = Dict()
function _deploy(f)
handler= HttpHandler(f)
server = Server(handler)
run(server, 3000)
@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}
/*
Find first and follow sets in a grammar
========================================
( why do programmers ever need a reason? :P )
*/
function split_lr(rule){
return rule.split("===>")
}