I hereby claim:
- I am waltz on github.
- I am waltz (https://keybase.io/waltz) on keybase.
- I have a public key whose fingerprint is A539 2476 A679 F421 EA69 2493 8EF9 751B 097F 371C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| module Taggable | |
| module ClassMethods | |
| def taggable *tags | |
| tags.each do |tag_type| | |
| attr_accessible :"#{tag_type}_string", :"#{tag_type}_array" | |
| has_many tag_type, -> { order(name: :asc) }, as: :taggable, dependent: :destroy | |
| if "#{tag_type}_string".in? self.column_names or :"#{tag_type}_string".in? self.instance_methods | |
| before_save :"format_#{tag_type}_string", if: lambda {|m| m.send("#{tag_type}_string_changed?")} | |
| after_save :"save_#{tag_type}", if: lambda {|m| m.send("#{tag_type}_string_changed?")} |
| $ bundle exec rspec | |
| WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.8.0 | |
| /Users/minifast/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/shoulda-matchers-3.0.1/lib/shoulda/matchers/integrations/libraries/rails.rb:20:in `integrate_with': uninitialized constant ActiveSupport::TestCase (NameError) | |
| from /Users/minifast/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/shoulda-matchers-3.0.1/lib/shoulda/matchers/integrations/configuration.rb:48:in `block (2 levels) in apply' | |
| from /Users/minifast/.rbenv/versions/2.2.2/lib/ruby/2.2.0/set.rb:283:in `each_key' | |
| from /Users/minifast/.rbenv/versions/2.2.2/lib/ruby/2.2.0/set.rb:283:in `each' | |
| from /Users/minifast/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/shoulda-matchers-3.0.1/lib/shoulda/matchers/integrations/configuration.rb:48:in `block in apply' | |
| from /Users/minifast/.rbenv/versions/2.2.2/lib/ruby/2.2.0/set.rb:283:in `each_key' | |
| from /Users/minifast/.rbenv/versions/2.2.2/lib/ruby/2.2.0/set.rb:283:in `each' | |
| from /Users/minifas |
| require 'shoulda-matchers' | |
| Shoulda::Matchers.configure do |config| | |
| config.integrate do |with| | |
| with.test_framework :rspec | |
| with.library :rails | |
| end | |
| end |
| Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f } |
| var gulp = require('gulp'); | |
| var browserify = require('browserify'); | |
| gulp.task('watchify', function() { | |
| gulp.watch('client.js', function(file) { | |
| browserify() | |
| .add(file); | |
| }); | |
| }); |
| path.js:8 | |
| throw new TypeError('Path must be a string. Received ' + | |
| ^ | |
| TypeError: Path must be a string. Received undefined |
| const HelloWorld = () => (<div>Hello world</div>); |
| const possibleBalance = (program, targetValue) => { | |
| program = program.split(''); | |
| for (let i = program.length; i > 0; i--) { | |
| let currentSum = 0; | |
| currentSum = sum(program.slice(0, i)); | |
| if (currentSum >= targetValue) { | |
| return program.length - i; |
| const findWord = rules => { | |
| let word = rules.join('').replace(/\>/g, '').split('').filter((v, i, a) => a.indexOf(v) === i); | |
| console.log('base characters:', word); | |
| let done = false; | |
| while (!done) { | |
| done = true; | |