Skip to content

Instantly share code, notes, and snippets.


Rajiv Abraham RAbraham

View GitHub Profile
RAbraham /
Last active Apr 21, 2016
PureScript Intro Meetup April 20


Primary Motivation

  • Dynamic Typing: Personally lost 10 hours or more.
  • Elegant code: No Defensive programming. Code with clear intent


Mac OS

RAbraham / spark-scala-worksheet
Last active Aug 3, 2021
Execute Apache Spark in a Scala IDE worksheet
View spark-scala-worksheet
package org.apache.spark.graphx
import org.apache.spark.SparkContext
import org.apache.spark.SparkContext._
import org.apache.spark.SparkConf
import org.apache.spark.rdd.RDD
import org.apache.spark._
object repl {
val sc = new SparkContext("local", "test") //> sc : org.apache.spark.SparkContext = org.apache.spark.SparkContext@3724af13
RAbraham / tabs_scraper
Created Dec 2, 2012
Scraping the toronto muncipal government website for upcoming meetings based on input search text
View tabs_scraper
import json
def search_toronto_site(text,committee,from_date,to_date,item_status):
from functools import partial
#from twill.commands import *
import twill.commands as crawler
search_page = ""