Skip to content

Instantly share code, notes, and snippets.

from setuptools import setup, find_packages
setup(
name='django_cute_kittens',
version='0.1.1',
description='Add django kittens to your website',
long_description=open('README.rst').read(),
url='https://github.com/Wilduck/django-cute-kittens',
author='Erik Swanson',
author_email='theerikswanson@gmail.com',
function fibonacci_1(n::Integer)
if n in [0,1]
return 1
else
low = BigInt(1)
high = BigInt(1)
for i in 2:n
high,low = low,high
high = low + high
end
@swans-one
swans-one / playlist-analysis.R
Created August 31, 2013 16:58
Analysis of The Current's playlist data.
# Filename: playlist-analysis.R
library(data.table)
library(ggplot2)
library(xtable)
df <- read.csv("current_playlist_2006-2012.csv", stringsAsFactors = FALSE)
df.unclean <- df # so we can revert without re-reading during development
# What form the data is in: