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
#!/usr/bin/env ruby | |
# CSV file available at: http://dl.dropbox.com/u/24209319/Verite%20Spotify%20Playlist%20Voting-%20Foreign%20Languages.csv | |
require 'csv' | |
class Tally < Hash | |
def vote(key, x) | |
self[key] = 0 unless self[key] | |
self[key] += x |
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
# Disable Resume system-wide | |
defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false | |
# Disable the “reopen windows when logging back in” option | |
# This works, although the checkbox will still appear to be checked. | |
defaults write com.apple.loginwindow TALLogoutSavesState -bool false | |
defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false | |
via https://github.com/mathiasbynens/dotfiles/blob/master/.osx |
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
class ZombiesController < ApplicationController | |
before_filter :find_zombie | |
def show | |
render :action => :show | |
end | |
def find_zombie | |
@zombie = Zombie.find params[:id] | |
if @zombie.tweets.size == 0 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Domain Name: GLASSHELL.COM | |
Registrant: | |
PrivacyProtect.org | |
Domain Admin (contact@privacyprotect.org) | |
ID#10760, PO Box 16 | |
Note - All Postal Mails Rejected, visit Privacyprotect.org | |
Nobby Beach | |
null,QLD 4218 | |
AU |
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
{ | |
"location": { | |
"id": 1, | |
"city": "Seattle", | |
"state": "WA", | |
"coordinates": { | |
"lat": 47.603569, | |
"lng": -122.329453 | |
}, | |
"slug": "seattle", |
NewerOlder