Skip to content

Instantly share code, notes, and snippets.

View erdostom's full-sized avatar

Tamas Erdos erdostom

View GitHub Profile
@erdostom
erdostom / gist:7fe52b9f48df992f42e2
Created July 24, 2014 14:09
Update your .git repo information after renaming your profile / organization
find . -wholename '*.git/config' -type f -print0 | xargs -0 sed -i '' 's/git@github.com:BEFORE/git@github.com:AFTER/g'
@erdostom
erdostom / rm_ds_store.sh
Created May 28, 2014 16:49
Delete .DS_Store files recursively
find . "-name" ".DS_Store" -exec rm {} \;
@erdostom
erdostom / Gemfile
Created April 1, 2014 21:55
jekyll gemfile for yeoman
source "http://rubygems.org"
gem 'jekyll', '~>1.4.2'
gem 'redcarpet'
gem 'sass', '3.2.10'
gem 'compass', '0.12.2'
@erdostom
erdostom / gist:9520980
Created March 13, 2014 02:37
heroku line in application.rb
#put in config/application.rb
#Heroku needs this
config.assets.initialize_on_precompile = false
@erdostom
erdostom / gist:7916450
Created December 11, 2013 19:07
Alias for checking Coinbase BTC spot rate on *NIX systems. Copy and paste into ~/.bash_profile and restart terminal. Use with the command 'cbase'
#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'"'"