View consoleSave.js
(function(console){
console.save = function(data, filename){
if(!data) {
console.error('Console.save: No data')
return;
}
if(!filename) filename = 'console.json'
View raills_helper.rb
RSpec.configure do |config|
# If you're not using ActiveRecord, or you'd prefer not to run
# each of your examples within a transaction, remove the following
# line or assign false instead of true.
config.use_transactional_fixtures = false
# Clean up and initialize database before
# running test exmaples
config.before(:suite) do
# Truncate database to clean up garbage from
View application.rb
# config/application.rb
config.action_dispatch.default_headers.merge!('X-UA-Compatible' => 'IE=edge')
View keybase.md

Keybase proof

I hereby claim:

  • I am erdostom on github.
  • I am erdostom (https://keybase.io/erdostom) on keybase.
  • I have a public key whose fingerprint is 41EE 8B48 D8C3 7189 7FAB 5418 5944 38F1 AA77 42EA

To claim this, I am signing this object:

View gist:762e9ddc4e65199bcbe5

They gave out dark glasses that you could watch it with. Dark glasses! Twenty miles away, you couldn't see a damn thing through dark glasses. So I figured the only thing that could really hurt your eyes (bright light can never hurt your eyes) is ultraviolet light. I got behind a truck windshield, because the ultraviolet can't go through glass, so that would be safe, and so I could see the damn thing.

Time comes, and this tremendous flash out there is so bright that I duck, and I see this purple splotch on the floor of the truck. I said, "That's not it. That's an after-image." So I look back up, and I see this white light changing into yellow and then into orange. Clouds form and disappear again-- from the compression and expansion of the shock wave.

Finally, a big ball of orange, the center that was so bright, becomes a ball of orange that starts to rise and billow a little bit and get a little black around the edges, and then you see it's a big ball of smoke with flashes on the inside, with the heat of

View gist:7fe52b9f48df992f42e2
find . -wholename '*.git/config' -type f -print0 | xargs -0 sed -i '' 's/git@github.com:BEFORE/git@github.com:AFTER/g'
View rm_ds_store.sh
find . "-name" ".DS_Store" -exec rm {} \;
View Gemfile
source "http://rubygems.org"
gem 'jekyll', '~>1.4.2'
gem 'redcarpet'
gem 'sass', '3.2.10'
gem 'compass', '0.12.2'
View gist:9520980
#put in config/application.rb
#Heroku needs this
config.assets.initialize_on_precompile = false
View gist:7916450
#use in ~./bash_profile
alias cbase="curl -s https://coinbase.com/api/v1/prices/spot_rate | sed -n 's/.*amount"'":"\([0-9]*.[0-9]*\)".*$/Coinbase price: \1/pg'"'"