Skip to content

Instantly share code, notes, and snippets.

/home/pills/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.0/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method': undefined method `_reflect_on_association' for class `Class' (NameError)
from /home/pills/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.0/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method_chain'
from /home/pills/.rvm/gems/ruby-2.1.0/bundler/gems/squeel-f5a810ca2713/lib/squeel/adapters/active_record/4.1/reflection_extensions.rb:11:in `singleton class'
from /home/pills/.rvm/gems/ruby-2.1.0/bundler/gems/squeel-f5a810ca2713/lib/squeel/adapters/active_record/4.1/reflection_extensions.rb:8:in `block in included'
from /home/pills/.rvm/gems/ruby-2.1.0/bundler/gems/squeel-f5a810ca2713/lib/squeel/adapters/active_record/4.1/reflection_extensions.rb:7:in `class_eval'
from /home/pills/.rvm/gems/ruby-2.1.0/bundler/gems/squeel-f5a810ca2713/lib/squeel/adapters/active_record/4.1/reflection_extensions.rb:7:in `included'
from /home/pills/.rvm/gems/ruby-2.1.0/bundler/gems/squeel-f5a8
$ meteor
Refreshing package metadata. This may take a moment.
Installing Meteor 0.8.3:
* 'meteor' build tool (version cef2bcd356)
* Package updates: accounts-base accounts-oauth accounts-password accounts-ui
accounts-ui-unstyled blaze blaze-tools deps facebook facts github google
html-tools htmljs less livedata meetup meteor meteor-developer minimongo
mongo-livedata oauth oauth1 oauth2 observe-sequence reload-safetybelt
showdown spacebars spacebars-compiler spacebars-tests spiderable stylus
templating test-helpers test-in-browser tinytest twitter ui underscore-tests
torquebox run
[WARNING] jvm-knob.yml has not been deployed. Starting TorqueBox anyway.
Booting AS7 from configuration /home/pills/.rvm/gems/jruby-9.0.0.0.pre1/gems/torquebox-server-3.1.2-java/jboss/standalone/configuration/standalone.xml
/home/pills/.rvm/gems/jruby-9.0.0.0.pre1/gems/torquebox-server-3.1.2-java/jboss/bin/standalone.sh -Djruby.home=/home/pills/.rvm/rubies/jruby-9.0.0.0.pre1 --server-config=standalone.xml
JAVA_OPTS already set in environment; overriding default settings with values: -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/pills/.rvm/gems/jruby-9.0.0.0.pre1/gems/torquebox-server-3.1.2-java/jboss
@g8d3
g8d3 / gist:1143b307dbe43724764e
Created June 16, 2015 23:27
hide non remote jobs in weworkmeteor.com
$('.panel:not(:has(.fa-globe))').hide()
0 info it worked if it ends with ok
1 verbose cli [ '/home/pills/.nvm/versions/io.js/v2.3.1/bin/iojs',
1 verbose cli '/home/pills/.nvm/versions/io.js/v2.3.1/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'iron-meteor' ]
2 info using npm@2.11.3
3 info using node@v2.3.1
4 verbose install initial load of /home/pills/.nvm/versions/io.js/v2.3.1/lib/package.json
5 verbose readDependencies loading dependencies from /home/pills/.nvm/versions/io.js/v2.3.1/lib/package.json
@g8d3
g8d3 / -
Last active August 29, 2015 14:24
Fill litweaver form
$([[".card-number", 4242424242424242], [".card-expiry-month", '01'], [".card-expiry-year", '2020'], [".card-cvc", '123']]).each(function(i,e){$(e[0]).val(e[1])})
> fibers@1.0.5 install /home/pills/.nvm/versions/io.js/v2.3.1/lib/node_modules/iron-meteor/node_modules/fibers
> node ./build.js
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory `/home/pills/.nvm/versions/io.js/v2.3.1/lib/node_modules/iron-meteor/node_modules/fibers/build'
CXX(target) Release/obj.target/fibers/src/fibers.o
../src/fibers.cc: In function ‘v8::Handle<v8::Signature> uni::NewSignature(v8::Isolate*, v8::Handle<v8::FunctionTemplate>, int, v8::Handle<v8::FunctionTemplate>*)’:
../src/fibers.cc:132:54: error: no matching function for call to ‘v8::Signature::New(v8::Isolate*&, v8::Handle<v8::FunctionTemplate>&, int&, v8::Handle<v8::FunctionTemplate>*&)’
return Signature::New(isolate, receiver, argc, argv);
^
/*
* robotMaze.js
*
* The blue key is inside a labyrinth, and extracting
* it will not be easy.
*
* It's a good thing that you're a AI expert, or
* we would have to leave empty-handed.
*/
@g8d3
g8d3 / -
Created July 20, 2015 23:34
ArgumentError - wrong number of arguments (1 for 0):
() home/pills/.rvm/gems/ruby-2.2.1/bundler/gems/activeadmin-cef68b7be826/lib/active_admin/view_helpers/display_helper.rb:30:in `display_name_method_for'
() home/pills/.rvm/gems/ruby-2.2.1/bundler/gems/activeadmin-cef68b7be826/lib/active_admin/view_helpers/display_helper.rb:18:in `display_name'
() home/pills/.rvm/gems/ruby-2.2.1/bundler/gems/activeadmin-cef68b7be826/lib/active_admin/view_helpers/breadcrumb_helper.rb:18:in `block in breadcrumb_links'
() home/pills/.rvm/gems/ruby-2.2.1/bundler/gems/activeadmin-cef68b7be826/lib/active_admin/view_helpers/breadcrumb_helper.rb:11:in `breadcrumb_links'
arbre (1.0.3) lib/arbre/element.rb:180:in `method_missing'
() home/pills/.rvm/gems/ruby-2.2.1/bundler/gems/activeadmin-cef68b7be826/lib/active_admin/views/title_bar.rb:34:in `build_breadcrumb'
() home/pills/.rvm/gems/ruby-2.2.1/bundler/gems/activeadmin-cef68b7be826/lib/active_admin/views/title_bar.rb:17:in `block in build_titlebar_left'
arbre (1
@g8d3
g8d3 / -
Created July 21, 2015 03:21
81: EnrollmentsMailer.new(Enrollment.first.id, '123').deliver_later
86: AssignmentsMailer.new(Assignment.first.id, Student.first.id).deliver_later