Skip to content

Instantly share code, notes, and snippets.

View freerobby's full-sized avatar

Robby Grossman freerobby

View GitHub Profile
@freerobby
freerobby / Tooltips
Created February 22, 2011 03:21
_tooltips.sass
@mixin rounded_corners {
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
.tooltip {
@include rounded_corners;
display: none;
background: #090;
@freerobby
freerobby / wtfruby.txt
Created November 28, 2011 20:35
Please explain what is happening here.
ubuntu@domU-12-31-38-04-88-A4:/$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
ubuntu@domU-12-31-38-04-88-A4:/$ which ruby
/usr/local/bin/ruby
ubuntu@domU-12-31-38-04-88-A4:/$ /usr/local/bin/ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
@freerobby
freerobby / hack.sh
Created April 2, 2012 13:53 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
22:23:42,756 ERROR [org.torquebox.web.servlet.RackFilter] (http--10.124.167.181-8080-9) Error invoking Rack filter: org.jruby.exceptions.RaiseException: (Errno::ENOENT) /var/www/shareaholic_on_rails/app/assets/images/service_icons.png
at org.jruby.RubyFile.initialize(org/jruby/RubyFile.java:465) [jruby.jar:]
at org.jruby.RubyIO.open(org/jruby/RubyIO.java:1135) [jruby.jar:]
at Pathname.open(/opt/torquebox/current/jruby/lib/ruby/1.9/pathname.rb:829) at Sprockets::StaticAsset.source(/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/sprockets-2.1.3/lib/sprockets/static_asset.rb:13) at Sprockets::Asset.to_s(/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/sprockets-2.1.3/lib/sprockets/asset.rb:110) at Sprockets::Asset.each(/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/sprockets-2.1.3/lib/sprockets/asset.rb:116) at ActiveRecord::QueryCache::BodyProxy.each(/opt/torquebox/current/jruby/lib/ruby/gems/1.8/gems/activerecord-3.2.2/lib/active_record/query_cache.rb:46) at ActiveRecord::ConnectionAdapters::Con
@freerobby
freerobby / torquebox.log
Created June 26, 2012 18:47
Torquebox Errors
18:41:56,339 INFO [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011605: Unbound messaging object to jndi name java:/queues/torquebox/current/tasks/torquebox_backgroundable
18:41:56,594 INFO [org.torquebox.db] (MSC service thread 1-4) Unbound data source [java:/torquebox/datasources/current-knob.yml/production]
18:41:56,603 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment current-knob.yml in 405ms
18:41:56,605 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "current-knob.yml"
18:41:57,370 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) trying to deploy queue jms.queue./queues/torquebox/current/tasks/torquebox_backgroundable
18:41:57,378 INFO [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/queues/torquebox/current/tasks/torquebox_backgroundable
18:41:57,379 INFO [org.torquebox.core.runtime] (MSC service thread 1-3) Cr
@freerobby
freerobby / torquebox.log
Created June 26, 2012 18:51
Torquebox Errors
ubuntu@ip-10-124-247-189:/var/log/torquebox$ cat torquebox.log
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/torquebox/current/jboss
JAVA: java
JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -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 -Xss2048k
@freerobby
freerobby / torquebox.log
Created June 26, 2012 18:57
Torquebox Errors - App Server 2
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/torquebox/current/jboss
JAVA: java
JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -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 -Xss2048k
@freerobby
freerobby / torquebox.log
Created June 26, 2012 19:15
Torquebox Errors
ubuntu@ip-10-124-247-189:/var/log/torquebox$ cat torquebox.log
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/torquebox/current/jboss
JAVA: java
JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms2048m -Xmx2048m -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 -Xss2048k
udevd 5631 root cwd unknown /proc/5631/cwd (readlink: Permission denied)
udevd 5631 root rtd unknown /proc/5631/root (readlink: Permission denied)
udevd 5631 root txt unknown /proc/5631/exe (readlink: Permission denied)
udevd 5631 root NOFD /proc/5631/fd (opendir: Permission denied)
udevd 5633 root cwd unknown /proc/5633/cwd (readlink: Permission denied)
udevd 5633 root rtd unknown /proc/5633/root (readlink: Permission denied)
udevd 5633 root txt unknown /proc/5633/exe (readlink: Permission denied)
udevd 5633 root NOFD /proc/5633/fd (opendir: Permission denied)
sh 5922 root cwd unknown /proc/5922/cwd (readlink: Permission denied)
sh 5922 root rtd unknown
ubuntu@ip-10-124-247-189:/var/log/torquebox$ lsof | grep 6060
java 6060 root cwd unknown /proc/6060/cwd (readlink: Permission denied)
java 6060 root rtd unknown /proc/6060/root (readlink: Permission denied)
java 6060 root txt unknown /proc/6060/exe (readlink: Permission denied)
java 6060 root NOFD /proc/6060/fd (opendir: Permission denied)