Hat tip: @LyttleR
Feeds 4-6
- 8 chicken thighs (boned or otherwise) - tbh any chicken will do but leg/drumstick/thighs are best, can even jerk an entire chicken
- Handfull of molasses (unrefined) sugar
| class Book < ActiveRecord::Base | |
| has_many :user_books | |
| has_many :users, :through => :user_books | |
| end | |
| class UserBook < ActiveRecord::Base | |
| belongs_to :book | |
| belongs_to :user | |
| end |
| ruby script/plugin install http://svn.liverail.net/svn/plugins/railsdav |
| <html class="js canvas canvastext no-geolocation rgba hsla multiplebgs | |
| borderimage borderradius boxshadow opacity cssanimations csscolumns | |
| cssgradients cssreflections csstransforms csstransforms3d | |
| csstransitions video audio localstorage sessionstorage webworkers | |
| applicationcache fontface"> |
| if (Modernizr.localstorage) { | |
| localStorage.setValue('my_key','my_value') | |
| } else { | |
| document.cookie = 'my_key=my_value; expires=Thu, 2 Aug 2011 21:40:00 UTC; path=/' | |
| } |
| /* for browsers supporting localStorage */ | |
| .localstorage p { | |
| color:blue; | |
| } | |
| /* for browsers not supporting localStorage */ | |
| .no-localstorage p { | |
| color:red; | |
| } |
| self.frame = CGRectMake(0.0f, 0.0f, 200.0f, 150.0f); | |
| [UIView beginAnimations:@"Zoom" context:NULL]; | |
| [UIView setAnimationDuration:0.5]; | |
| self.frame = CGRectMake(0.0f, 0.0f, 1024.0f, 768.0f); | |
| [UIView commitAnimations]; |
| function getAverageColourAsRGB (img) { | |
| var canvas = document.createElement('canvas'), | |
| context = canvas.getContext && canvas.getContext('2d'), | |
| rgb = {r:102,g:102,b:102}, // Set a base colour as a fallback for non-compliant browsers | |
| pixelInterval = 5, // Rather than inspect every single pixel in the image inspect every 5th pixel | |
| count = 0, | |
| i = -4, | |
| data, length; | |
| // return the base colour for non-compliant browsers |
| def is_controller(string) | |
| str = string.split("#") | |
| str.length == 1 ? string == controller_name : string == "#{controller_name}##{action_name}" | |
| end |
| { | |
| "directory": "vendor/assets/components" | |
| } |