I hereby claim:
- I am hale on github.
- I am pghale (https://keybase.io/pghale) on keybase.
- I have a public key ASAZcHyS_piB4LcxmdM1WUgBGXOwPs7SHybbRbIRrVgGeAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
NOTE: Payment of a business registry fee and issuance of a business registry certificate do not necessarily entitle you to conduct business in the City of Palo Alto. As the owner or operator of a business, you must comply with all applicable zoning and public safety regulations and obtain all required permits.
THIS INFORMATION IS NOT A COMPLETE LISTING OF CLEARANCES THAT MIGHT BE REQUIRED
class NotOnTheListError < StandardError; end | |
module Security | |
module Bouncer | |
THE_LIST = %w(john disco_stu) | |
def enter(name) | |
unless THE_LIST.include?(name) | |
raise NotOnTheListError.new("Sorry #{name}, you're not on the list") | |
end |
module Security | |
module Bouncer | |
THE_LIST = %w(john) | |
def enter(name) | |
raise "Sorry #{name}, you're not on the list" unless THE_LIST.include?(name) | |
puts "Hey #{name}, come on through." | |
super(name) | |
end | |
end |
BSS | |
can permutate A into B given a list of swaps (FAILED - 1) | |
all together now (FAILED - 2) | |
#apply_swap! | |
works for 2 elements | |
works for 4 elements | |
#swaps | |
works for 2 elements | |
works for 3 elements |
#<NoMethodError: undefined method `+' for nil:NilClass> | |
[Worker(host:5dd14c30-3419-457a-9329-7eab37d07e39 pid:2)] RailsNlp::TextAnalyser#update_analysis completed after 0.5470 | |
[Worker(host:5dd14c30-3419-457a-9329-7eab37d07e39 pid:2)] 1 jobs processed at 1.7184 j/s, 0 failed ... | |
[Worker(host:5dd14c30-3419-457a-9329-7eab37d07e39 pid:2)] WebService#update_tank_indexes_without_delay completed after 0.0971 | |
[Worker(host:5dd14c30-3419-457a-9329-7eab37d07e39 pid:2)] 1 jobs processed at 9.2152 j/s, 0 failed ... |
diff --git a/app/models/guide_step.rb b/app/models/guide_step.rb | |
index da18e96..f36f8fb 100644 | |
--- a/app/models/guide_step.rb | |
+++ b/app/models/guide_step.rb | |
@@ -2,4 +2,10 @@ class GuideStep < ActiveRecord::Base | |
include TankerArticleDefaults | |
belongs_to :guide, :class_name => 'Guide', :foreign_key => 'article_id' | |
attr_accessible :article_id, :title, :content, :preview, :step | |
+ | |
+ delegate :category, :tags, :keywords, :to => :guide |
" My Bundles | |
Bundle 'gmarik/vundle' | |
Bundle 'MarcWeber/vim-addon-mw-utils' | |
Bundle 'tomtom/tlib_vim' | |
Bundle 'mileszs/ack.vim' | |
Bundle 'airblade/vim-rooter' | |
Bundle 'rizzatti/funcoo.vim' | |
Bundle 'rizzatti/dash.vim' | |
Bundle 'chriskempson/base16-vim' | |
Bundle 'tpope/vim-rails' |
(function() { | |
var Stripe, exports, key, _i, _len, | |
__hasProp = {}.hasOwnProperty, | |
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | |
_this = this; | |
this.Stripe = (function() { | |
function Stripe() {} |