Skip to content

Instantly share code, notes, and snippets.

View tazsingh's full-sized avatar
🏎️
(☞゚ヮ゚)☞ ☜(゚ヮ゚☜)

Taz Singh tazsingh

🏎️
(☞゚ヮ゚)☞ ☜(゚ヮ゚☜)
View GitHub Profile
@tazsingh
tazsingh / Gemfile
Created November 29, 2012 15:04
pacer-neo4j paths_to bug
source "https://rubygems.org"
gem "pacer-neo4j", require: "pacer-neo4j"
@tazsingh
tazsingh / warble output
Created October 26, 2012 19:03
Warbler not detecting app
~/Documents/Code/mercatus/pricechopper (jruby) jruby-1.7.0@pricechopper> warble
io/console on JRuby shells out to stty for most operations
Running against Mercatus UAT environment
Loading Routes
Done Loading Routes
@tazsingh
tazsingh / TorqueBox trace
Created October 24, 2012 19:54
JBoss server.log
15:53:30,921 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 42) JBAS016200: Activating ConfigAdmin Subsystem
15:53:30,927 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 47) JBAS010280: Activating Infinispan subsystem.
15:53:30,935 INFO [org.jboss.as.security] (ServerService Thread Pool -- 64) JBAS013171: Activating Security Subsystem
15:53:30,942 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 58) JBAS011800: Activating Naming Subsystem
15:53:30,943 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 59) JBAS011906: Activating OSGi Subsystem
15:53:30,950 INFO [org.jboss.as.security] (MSC service thread 1-1) JBAS013170: Current PicketBox version=4.0.9.Final
15:53:30,963 INFO [org.jboss.as.jacorb] (ServerService Thread Pool -- 48) JBAS016300: Activating JacORB Subsystem
15:53:30,979 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 68) JBAS015537: Activating WebServices Extension
15:53:30,992 INFO [org.jboss.as.remoting] (MSC service thre
@tazsingh
tazsingh / 500 Error Web Page
Created October 24, 2012 19:49
TorqueBox javascript_expansions error
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
@tazsingh
tazsingh / Terminal Output
Created August 2, 2012 13:23
Vert.x test suite failures
Last login: Thu Aug 2 08:59:46 on console
~ ruby-1.9.3-p194> cd Documents/Code/tmp/
~/Documents/Code/tmp ruby-1.9.3-p194> cd vert.x/
~/Documents/Code/tmp/vert.x ruby-1.9.3-p194> git checkout master
gAlready on 'master'
~/Documents/Code/tmp/vert.x ruby-1.9.3-p194> git checkout -b test_merge
Switched to a new branch 'test_merge'
~/Documents/Code/tmp/vert.x ruby-1.9.3-p194> git pull https://github.com/tazsingh/vert.x master
remote: Counting objects: 47, done.
remote: Compressing objects: 100% (7/7), done.
@tazsingh
tazsingh / private_functionality.js
Created April 23, 2012 03:21
JavaScript private functionality pattern
module.exports.Foo = new (function(init_param) {
var private_function = function(thing_to_log) {
console.log(thing_to_log);
}
this.public_function = function() {
private_function(init_param);
}
})("from the private func");
@tazsingh
tazsingh / torquebox_output.log
Created March 27, 2012 19:01
TorqueBox Redeploy Error Log
/bin/sh bin/standalone.sh -Djruby.home=/Users/tsingh/.rvm/rubies/jruby-1.6.7
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Users/tsingh/.rvm/gems/jruby-1.6.7@global/gems/torquebox-server-2.0.0.cr1-java/jboss
JAVA: /System/Library/Frameworks/JavaVM.framework/Home//bin/java
JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml
@tazsingh
tazsingh / gem_make.out
Created March 15, 2012 17:15
/Users/tsingh/.rvm/gems/jruby-head/gems/posix-spawn-0.3.6/ext/gem_make.out
/Users/tsingh/.rvm/rubies/jruby-head/bin/jruby extconf.rb
WARNING: JRuby does not support native extensions or the `mkmf' library very well.
Check https://wiki.jruby.org/C-Extension-Alternatives for alternatives.
/Users/tsingh/.rvm/rubies/jruby-head/lib/ruby/shared/mkmf.rb:36: Use RbConfig instead of obsolete and deprecated Config.
creating Makefile
make
cc -I. -I/Users/tsingh/.rvm/rubies/jruby-head/lib/native/include -I/Users/tsingh/.rvm/rubies/jruby-head/lib/native/include/ruby -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fPIC -DTARGET_RT_MAC_CFM=0 -fno-omit-frame-pointer -fno-strict-aliasing -fexceptions -Wall -arch amd64 -c posix-spawn.c
llvm-gcc-4.2: Invalid arch name : amd64
make: *** [posix-spawn.o] Error 1
@tazsingh
tazsingh / Gemfile
Created March 15, 2012 17:12
JRuby 1.7 HEAD, Bundler, C Extension errors
source "https://rubygems.org"
gem "rails", "3.1.4"
gem "jquery-rails"
gem "devise"
gem "inherited_resources"
gem "geokit"
@tazsingh
tazsingh / Stacktrace
Created November 14, 2011 17:17
Rails 3.1.2.rc2 + Sprockets 2.1 + Torquebox 2.x build 612: Sprockets::FileNotFound
sprockets (2.1.0) lib/sprockets/trail.rb:81:in `resolve'
sprockets (2.1.0) lib/sprockets/context.rb:102:in `resolve'
sprockets (2.1.0) lib/sprockets/context.rb:113:in `depend_on'
sprockets (2.1.0) lib/sprockets/directive_processor.rb:295:in `process_require_tree_directive'
org/jruby/RubyBasicObject.java:1694:in `__send__'
org/jruby/RubyKernel.java:2118:in `send'
sprockets (2.1.0) lib/sprockets/directive_processor.rb:165:in `process_directives'
org/jruby/RubyArray.java:1612:in `each'
sprockets (2.1.0) lib/sprockets/directive_processor.rb:163:in `process_directives'
sprockets (2.1.0) lib/sprockets/directive_processor.rb:97:in `evaluate'