This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Relevant bis of orbited.cfg | |
[listen] | |
http://:8000 | |
#stomp://:61613 | |
# uncomment to enable SSL on port 8043 using given .key and .crt files | |
#https://:8043 | |
# | |
#[ssl] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure to change the path to where rabbitmq lives. | |
# Put this file in /etc/rabbitmq/rabbitmq.conf and /etc/default/rabbitmq -- it either requires both or only the first. The documentation is uselessly out of date on this issue. | |
SERVER_START_ARGS=' | |
-pa /path/to/rabbitmq-stomp/ebin | |
-rabbit | |
stomp_listeners [{"0.0.0.0",61613}] | |
extra_startup_steps [{"STOMP-listeners",rabbit_stomp,kickstart,[]}]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actionmailer (2.3.4, 2.3.2) | |
actionpack (2.3.4, 2.3.2) | |
activemerchant (1.4.2) | |
activerecord (2.3.4, 2.3.2) | |
activeresource (2.3.4, 2.3.2) | |
activesupport (2.3.4, 2.3.2) | |
archive-tar-minitar (0.5.2) | |
authlogic (2.0.14) | |
builder (2.1.2) | |
capistrano (2.5.8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
script/console | |
Loading development environment (Rails 2.3.5) | |
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement | |
>> 'foo'.delay.inspect | |
NoMethodError: undefined method `delay' for "foo":String | |
from (irb):1 | |
>> 'foo'.send_later(:inspect) | |
=> #<Delayed::Backend::ActiveRecord::Job id: 10, priority: 0, attempts: 0, handler: "--- !ruby/struct:Delayed::PerformableMethod \nobject...", last_error: nil, run_at: "2010-05-29 03:31:04", locked_at: nil, failed_at: nil, locked_by: nil, created_at: "2010-05-29 03:31:04", updated_at: "2010-05-29 03:31:04"> | |
>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<design:SC.Page xmlns:design="http://foo.bar" xmlns:attr="http://foo.bar"> | |
<attr:mainPane> | |
<design:SC.MainPane> | |
<attr:childViews> | |
<design:SC.View mixin="SC.Border" borderStyle="SC.BORDER_BOTTOM"> | |
<attr:layout top="0" bottom="0" right="0" height="48" /> | |
<attr:childViews> | |
<design:SC.LabelView controlSize="SC.LARGE_CONTROL_SIZE" fontWeight="SC.BOLD_WEIGHT" title="'Todos'"> | |
<attr:layout centerY="0" height="24" left="8" width="200" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unless Rails.env.development? | |
require 'fileutils' | |
output_folder = Rails.root.join("tmp", "jammit", "assets") | |
FileUtils.mkdir_p(output_folder) | |
# Heroku specific hack. | |
Jammit::Packager.class_eval do | |
def glob_files_with_heroku_hack(glob) | |
paths = glob_files_without_heroku_hack(glob) | |
# Heroku has a magical "public/javascripts/all.js" file. It is a Mystery. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= javascript_include_tag 'jquery' %> | |
<%= javascript_include_tag 'rails' %> | |
<%= javascript_include_tag 'application' %> | |
/* NO. NO. The above is /wrong/. */ | |
<%= javascript_include_tag 'jquery' %> | |
<%= javascript_include_tag 'application' %> | |
/* every other javascript file you need */ | |
<%= javascript_include_tag 'rails' %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rubinius Crash Report #rbxcrashreport | |
Error: signal �SIGSEGV | |
[[Backtrace]] | |
0 ruby 0x0000000106c18aac _ZN8rubiniusL12segv_handlerEi + 316� | |
1 libsystem_c.dylib 0x00007fff8a13c8ea _sigtramp + 26� | |
2 ??? 0x00000001082e64a8 0x0 + 4432225448� | |
3 ruby 0x0000000106d1f308 _ZN8rubinius5Alias4Info9auto_markEPNS_6ObjectERNS_10ObjectMarkE + 424� | |
4 ruby 0x0000000106d515e2 _ZN8rubinius10Executable4Info4markEPNS_6ObjectERNS_10ObjectMarkE + 34� |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Somewhere near the top of the file | |
void does_absolutely_nothing() { | |
return "0" | |
} | |
// Somewhere else in the same file. | |
boolean = does_absolutely_nothing(); | |
if (boolean == "0") | |
return Boolean.parse("true"); | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var potatoSack = []; | |
var potato = buildPotato(); | |
String buildPotato() { | |
var tater = 'a delicious potato'; | |
potatoSack.add(tater); | |
return tater; | |
} | |
void main() { |
OlderNewer