This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |