Skip to content

Instantly share code, notes, and snippets.

View vees's full-sized avatar

Rob Carlson vees

View GitHub Profile
@sdawncasey
sdawncasey / Fortune Teller
Created November 30, 2013 18:47
This is my first attempt to write a Python program that would take inputs and return a final result based on the values of the original responses. I'm a complete newbie and have only gone through the first 13 chapters of "Hello, World" by Sande (at this point). It's not pretty, but it works! :)
import time
print "This is a fortune teller. You will enter some information,"
print "and I will tell you your fortune."
time.sleep(1)
name = raw_input("What is your name? ")
print "Hi,",name, "let's get started with the questions."
time.sleep(1)
@nateware
nateware / s3update.py
Last active February 1, 2023 22:07
Check local files vs what's on S3, and upload any that have changed.
#!/usr/bin/env python
# Compare a file on S3 to see if we have the latest version
# If not, upload it and invalidate CloudFront
import fnmatch
import os
import boto
import pprint
import re
@mcwhittemore
mcwhittemore / Bookstrap.js
Last active December 12, 2015 05:48
Bootstrap jQuery plugin
;(function($, window, document, undefined) {
var namespace = "myPlugin";
var methods = {
init: function(options){}
}
$.fn[namespace] = function( method ) {
// Method calling logic