Skip to content

Instantly share code, notes, and snippets.

View derekeder's full-sized avatar

Derek Eder derekeder

View GitHub Profile
@stravid
stravid / category_aware_next_generator.rb
Created November 15, 2012 14:22
Category aware next attribute for a Jekyll post
module Jekyll
class CategoryAwareNextGenerator < Generator
safe true
priority :high
def generate(site)
site.categories.each_pair do |category_name, posts|
posts.sort! { |a, b| b <=> a }
@jpvelez
jpvelez / intro_r_tutorial.md
Created August 8, 2012 20:15
Intro to R Tutorial

WHAT IS THIS?

This is a step-by-step tutorial for getting started with R, a powerful programming language for data analysis and visualization. It is aimed at near complete beginners. You'll basically want to be comfortable with spreadsheets and with using your computer's command line.

I slapped this together quickly, so expect some weirdness. Feel free to email me with comments or questions at jpvelez | at | gmail.com

I learned the following stuff using the UCLA Statistic's Department great R tutorials, so check those out:

@ryanbriones
ryanbriones / gist:3292129
Created August 8, 2012 04:44
Chicago Open Data Hack Night R Demo in Incanter
;; a naive implementation of the R intro demo from Chicago Open Data Hack Night
;; using clojure and incanter
;;
;; Data and explanation here: http://gathers.us/events/open-gov-hack-night-organized-by-open-city-ebf93
;;
;; * Download incanter-latest (1.2 right now)
;; * run `script/repl`
;; * copy in code
(use '(incanter core io stats charts))
@myobie
myobie / mountain-lion-brew-setup.markdown
Created February 18, 2012 20:14
Get Mountain Lion and Homebrew to Be Happy

Get Mountain Lion and Homebrew to Be Happy

1) Install XCode 4.4 into /Applications

Get it from the App Store.

2) Install Command Line Tools

In XCode's Preferences > Downloads you can install command line tools.