Skip to content

Instantly share code, notes, and snippets.

View steven2358's full-sized avatar

Steven Van Vaerenbergh steven2358

View GitHub Profile
require 'rubygems'
require 'mechanize'
FIRST_NAME = 'FIRST_NAME'
LAST_NAME = 'LAST_NAME'
PHONE = 'PHONE'
EMAIL = 'EMAIL@provider.com'
PARTY_SIZE = 2
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' }
@steven2358
steven2358 / shopping_carts.md
Last active August 29, 2015 14:05
Shopping Carts
@steven2358
steven2358 / cue_sheet_converter.py
Last active August 29, 2015 14:02
Convert a playlist in text format to a cue file
# Convert a playlist in text format to a cue file
# Author: steven2358
# Usage:
# 1. Make a playlist file "playlist.txt" using this format:
'''
Album Artist - Album Name
FileName.mp3
MM:SS:mm - Artist1 - Title1
MM:SS:mm - Artist2 - Title2
MM:SS:mm - Artist3 - Title3
@steven2358
steven2358 / desaturate.js
Created May 27, 2014 09:48
Desaturation bookmarklet
javascript:(function(){
if (document.body.parentNode.style.webkitFilter==='grayscale(1)'){
document.body.parentNode.style.webkitFilter='grayscale(0)'
} else {
document.body.parentNode.style.webkitFilter='grayscale(1)';
}
})();