Skip to content

Instantly share code, notes, and snippets.

View leonardorb's full-sized avatar
Shipping.

Leo leonardorb

Shipping.
View GitHub Profile
<foldertree>
<h1>Hello, my name is {name}</h1>
this.name = opts.name;
</foldertree>
define([
'riot',
'text!https://rawgit.com/leonardorb/2430f80b49d0fb0c6f7c/raw/24cf291884cfb1fb72adedf020ddb82abea57d61/foldertree.html',
], function (riot, tpl) {
'use strict';
riot.tag('foldertree', tpl);
});
uninitialized constant AccountIndex::RuntimeException
Messages:
>
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/activesupport-2.3.10/lib/active_support/dependencies.rb:131:in `const_missing'
/Users/leonardorb/Sites/_officedrop/pixilyapp/app/models/account_index.rb:31:in `set_default_nodes'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
Errno::ECONNREFUSED (Connection refused - Unable to connect to Redis on localhost:6379):
redis (2.2.2) lib/redis/client.rb:236:in `establish_connection'
redis (2.2.2) lib/redis/client.rb:23:in `connect'
redis (2.2.2) lib/redis/client.rb:247:in `ensure_connected'
redis (2.2.2) lib/redis/client.rb:137:in `process'
redis (2.2.2) lib/redis/client.rb:206:in `logging'
redis (2.2.2) lib/redis/client.rb:136:in `process'
redis (2.2.2) lib/redis/client.rb:46:in `raw_call_command_without_newrelic_trace'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/rpm_contrib-2.1.6/lib/rpm_contrib/instrumentation/redis.rb:30:in `call'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
Error: Failed executing: make -C src
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
MacBook-Air-de-Leonardo:~ leonardorb$ brew install redis
==> Downloading http://redis.googlecode.com/files/redis-2.4.7.tar.gz
File already downloaded in /Users/leonardorb/Library/Caches/Homebrew
==> make -C src
CC ae.o
CC anet.o
MAKE hiredis
@leonardorb
leonardorb / gist:1791759
Created February 10, 2012 19:02
hg diff -c 8048:5e0757aa938
diff -r 846e17a50fbf -r 5e0757aa9385 app/helpers/application_helper.rb
--- a/app/helpers/application_helper.rb Fri Feb 10 12:55:56 2012 -0500
+++ b/app/helpers/application_helper.rb Fri Feb 10 16:34:04 2012 -0200
@@ -88,7 +88,6 @@
end
-
def display_user_message(page, message)
page.hide :message_area
@leonardorb
leonardorb / gist:1819079
Created February 13, 2012 18:58
brew install -v redis
MacBook-Air-de-Leonardo:~ leonardorb$ brew install -v redis
==> Downloading http://redis.googlecode.com/files/redis-2.4.7.tar.gz
/usr/bin/curl -qf#LA Homebrew 0.8.1 (Ruby 1.8.7-249; Mac OS X 10.7.3) http://redis.googlecode.com/files/redis-2.4.7.tar.gz -o /Users/leonardorb/Library/Caches/Homebrew/redis-2.4.7.tar.gz
######################################################################## 100.0%
/usr/bin/tar xf /Users/leonardorb/Library/Caches/Homebrew/redis-2.4.7.tar.gz
==> make -C src
make -C src
MAKE hiredis
CC ae.o
CC anet.o
@leonardorb
leonardorb / gist:1828124
Created February 14, 2012 16:59
gitosis files
/usr/local/lib/python2.6/dist-packages/gitosis-0.2-py2.6.egg/EGG-INFO/dependency_links.txt
/usr/local/lib/python2.6/dist-packages/gitosis-0.2-py2.6.egg/EGG-INFO/not-zip-safe
/usr/local/lib/python2.6/dist-packages/gitosis-0.2-py2.6.egg/EGG-INFO/SOURCES.txt
/usr/local/lib/python2.6/dist-packages/gitosis-0.2-py2.6.egg/EGG-INFO/PKG-INFO
/usr/local/lib/python2.6/dist-packages/gitosis-0.2-py2.6.egg/EGG-INFO/top_level.txt
/usr/local/lib/python2.6/dist-packages/gitosis-0.2-py2.6.egg/EGG-INFO/entry_points.txt
/usr/local/lib/python2.6/dist-packages/gitosis-0.2-py2.6.egg/EGG-INFO/requires.txt
/usr/local/lib/python2.6/dist-packages/gitosis-0.2-py2.6.egg/gitosis/mirror.py
/usr/local/lib/python2.6/dist-packages/gitosis-0.2-py2.6.egg/gitosis/init.pyc
/usr/local/lib/python2.6/dist-packages/gitosis-0.2-py2.6.egg/gitosis/util.pyc
/*
Theme Name: [theme name]
Theme URI: [theme uri]
Description: [description]
Version: [version]
Author: [author]
Author URI: [author uri]
Tags: [tag], [tag]
*/
@leonardorb
leonardorb / footer.php
Created February 23, 2012 23:39
wordpress footer