Skip to content

Instantly share code, notes, and snippets.

View mjamesruggiero's full-sized avatar

Michael Ruggiero mjamesruggiero

View GitHub Profile
@mjamesruggiero
mjamesruggiero / pivotal.rkt
Created February 4, 2017 01:05
"Current Pivotal Iteration" Script
#! /usr/bin/env racket
#lang racket
;;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;; pivotal
;;
;; what it does: pulls the current iteration,
;; echoes short story summary
;; binned by the first owner's name
;;
@mjamesruggiero
mjamesruggiero / khan.cljs
Last active April 12, 2017 19:27
Get unsolved exercises from your KA profile
;; assumes that you have a JSON file
;; corresponding to /api/v1/user/exercises?username=<your-username>
(ns khan.core
(:require [clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.data.json :as json]))
(defn get-json
[filepath]
(with-open [in-file (io/reader filepath)]