Skip to content

Instantly share code, notes, and snippets.

Ram Joshi ramjoshi

Block or report user

Report or block ramjoshi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ramjoshi on github.
  • I am ramjoshi ( on keybase.
  • I have a public key whose fingerprint is FB3A E5A3 09A7 1DFF 20E0 1346 1A7A 577C AF54 634A

To claim this, I am signing this object:

ramjoshi /
Created Mar 5, 2014
Python script to get the top 100 songs scrobbled on in all the metros in U.S and associated stats and track info.
#Fetches the top 100 songs scrobbled in all the metros in U.S and associated stats and track info.
import urllib
import urllib2
from lxml import etree
import os
import cpickle as pickle
import pickle
ramjoshi / rdp.js
Created Jul 26, 2012 — forked from rhyolight/rdp.js
Ramer-Douglas-Peucker line filtering algorithm in JavaScript
View rdp.js
function findPerpendicularDistance(point, line) {
var pointX = point[0],
pointY = point[1],
lineStart = {
x: line[0][0],
y: line[0][1]
lineEnd = {
x: line[1][0],
y: line[1][1]
You can’t perform that action at this time.