Skip to content

Instantly share code, notes, and snippets.

View jeremypharo's full-sized avatar

Jeremy Pharo jeremypharo

View GitHub Profile
class AddOrderRefToPrimaryStoreCredits < ActiveRecord::Migration
def change
add_reference :primary_store_credits, :order
end
end
test
@jeremypharo
jeremypharo / gist:6286079
Created August 20, 2013 19:32
Embedded tweet code
<blockquote class="twitter-tweet"><p>Your yellow brick road awaits <a href="http://t.co/VG3fvZgBf2">http://t.co/VG3fvZgBf2</a></p>&mdash; Etsy (@Etsy) <a href="https://twitter.com/Etsy/statuses/369822645568954368">August 20, 2013</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
To start:
- canola oil
- 3 cloves garlic
- 1 onion
- salt/pepper
- ground ginger
- any type of "curry"-like blend (cumin, turmeric, cardamom, clove, etc.) or make your own
- red pepper flakes
- pinch of cayenne powder
@jeremypharo
jeremypharo / portfolio.css.scss
Created March 1, 2012 02:45
My portfolio site's css (er, scss)... Compiled, so difficult to see what's going on....
/*
*= require shared/reset
*/
/* =============================================================================
Primary styles
Author: Jeremy Pharo
Colors:
-------