Skip to content

Instantly share code, notes, and snippets.

View stephencarr's full-sized avatar

Stephen Carr stephencarr

  • Yelp
  • Fredericton, NB
  • 16:10 (UTC -03:00)
View GitHub Profile
@sigra
sigra / Gemfile
Created January 2, 2015 15:10
Rails multiple currency support
gem 'eu_central_bank'
gem 'geocoder'
gem 'money-rails'
# for rate worker
gem 'sidekiq'
gem 'sidetiq'
gem 'sinatra', require: false
@elvanja
elvanja / deploy_discourse_to_heroku
Last active March 20, 2017 08:01
Helps deploy Discourse to Heroku with: * local asset precompiling * RedisCloud add-on * Autoscaler with Sidekiq add-on Details @ http://shcatula.wordpress.com/2013/07/08/deploying-discourse-to-heroku
#!/bin/sh
# http://stackoverflow.com/questions/3878624/how-do-i-programmatically-determine-if-there-are-uncommited-changes
require_clean_work_tree () {
# Update the index
git update-index -q --ignore-submodules --refresh
err=0
# Disallow unstaged changes in the working tree
if ! git diff-files --quiet --ignore-submodules --; then
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active June 13, 2024 10:59
A badass list of frontend development resources I collected over time.