Skip to content

Instantly share code, notes, and snippets.

View madelinecr's full-sized avatar
:octocat:
Octocatting

Finn madelinecr

:octocat:
Octocatting
View GitHub Profile
@madelinecr
madelinecr / gist:989267
Created May 24, 2011 18:03
Gitignore File
config/database.yml
config/*.sphinx.conf
config/s3_credentials.yml
*~
*.cache
*.log
*.pid
tmp/**/*
.DS_Store
db/cstore/**
#include <sstream>
#include <string>
stringstream ss;
string tobeconverted;
int converted;
ss << tobeconverted;
ss >> converted;
I plan on using my free student micro plan for various student projects. I'm currently a Junior of Computer Science attending California State University, Chico. My current school project involves AI algorithm research and studying using Panda3D to visualize different locomotive behavior patterns.
def fib(x)
a,b = 0,1
x.times do
b,a=a,b+a
puts b
end
end
@madelinecr
madelinecr / gist:893997
Created March 30, 2011 07:19
poole.py
#!/usr/bin/python
# =============================================================================
#
# Poole - A damn simple static website generator.
# Copyright (C) 2009 Oben Sonne <obensonne@googlemail.com>
#
# This file is part of Poole.
#
# Poole is free software: you can redistribute it and/or modify
cslug@poppycock:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 37
Server version: 5.1.49-3 (Debian)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license