Thanks!
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HADOOP_CODECS = { | |
'default': "org.apache.hadoop.io.compress.DefaultCodec", | |
'zlib': "org.apache.hadoop.io.compress.DefaultCodec", | |
'gzip': "org.apache.hadoop.io.compress.GzipCodec", | |
'bzip2': "org.apache.hadoop.io.compress.BZip2Codec", | |
'lz4': "org.apache.hadoop.io.compress.Lz4Codec", | |
'snappy': "org.apache.hadoop.io.compress.SnappyCodec" | |
} | |
def saveAsTextFile(self, location, codec='gzip'): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oration ~/C/tableau-repository (delta_deploys) ➜ git diff --name-only HEAD HEAD~2 | |
Shopify/Datasources/Storefront/Storefront Session Model.tds | |
lib/deploy.rb | |
script/deploy | |
oration ~/C/tableau-repository (delta_deploys) ➜ git diff --name-only HEAD~2 HEAD | |
Shopify/Datasources/Storefront/Storefront Session Model.tds | |
lib/deploy.rb | |
script/deploy |
- foo
- bar
- add first name and last name to all forms
- build listings form in hubspot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div.content-container > h1 { display: none; } | |
h2 { color: blue; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch -f --index-filter 'git update-index --remove public/images/posters/fc1cc0358623559b6935b22e56d136a3.jpg' | |
git filter-branch -f --index-filter 'git update-index --remove public/images/posters/f9dea1841c49c481ea6de11ad37b7c92.jpg' | |
. | |
. | |
. | |
rm -rf .git/refs/original/ && git reflog expire --all && git gc --aggressive --prune | |
git push --force --verbose --dry-run | |
git push --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Movie < ActiveRecord::Base | |
acts_as_taggable | |
has_one :download, :as => :resource, :dependent => :destroy | |
has_attached_file :poster, :styles => {:medium => "300x300>", :thumb => "100x100>"} | |
before_validation :download_remote_image, :if => :image_url_provided? | |
validates_associated :download | |
validates_presence_of :title | |
validates_numericality_of :year, :allow_nil => true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/hornairs/.rvm/gems/ruby-1.9.2-head@rails3/gems/actionpack-3.0.0.beta3/lib/action_view/helpers/url_helper.rb:30:in `url_options' | |
/Users/hornairs/.rvm/gems/ruby-1.9.2-head@rails3/gems/actionpack-3.0.0.beta3/lib/action_dispatch/routing/url_for.rb:131:in `url_for' | |
/Users/hornairs/.rvm/gems/ruby-1.9.2-head@rails3/gems/actionpack-3.0.0.beta3/lib/action_view/helpers/url_helper.rb:107:in `url_for' | |
/Users/hornairs/.rvm/gems/ruby-1.9.2-head@rails3/gems/actionpack-3.0.0.beta3/lib/action_dispatch/routing/route_set.rb:180:in `contact_path' | |
app/helpers/contacts_helper.rb:31:in `block (2 levels) in format_grid!' | |
vendor/plugins/gridify/lib/gridify/grid_finder.rb:63:in `call' | |
vendor/plugins/gridify/lib/gridify/grid_finder.rb:63:in `block (2 levels) in encode_records' | |
/Users/hornairs/.rvm/gems/ruby-1.9.2-head@rails3/gems/activemodel-3.0.0.beta3/lib/active_model/serializers/xml.rb:186:in `call' | |
/Users/hornairs/.rvm/gems/ruby-1.9.2-head@rails3/gems/activemodel-3.0.0.beta3/lib/active_model/serializers/xml.rb:186:in `block |
OlderNewer