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
(function(strName, container) { | |
var index; | |
function log(){ | |
console.log(index); | |
} | |
function iterate(){ | |
log(); |
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 logCar = function(car) { | |
console.log("I'm a "+car.color+" "+car.make); | |
} | |
var Car = function(make, colour) { | |
this.make = make; |
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
module RcmEngine | |
class Organization < CouchRest::Model::Base | |
include CouchRest::Paperclip | |
property :description, String | |
property :name, String | |
property :remix_organization, Integer | |
property :subdomains, [String] #These will be used to hook up to the | |
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
# Copyright (c) Henry Poydar | |
# Modified from couchrest-rails | |
# A Rails plugin for connecting to and working with CouchDB via CouchRest | |
# https://github.com/hpoydar/couchrest-rails/ | |
require 'sunspot_couch.rb' | |
begin |
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
mark@mark-ubuntu-rcm:~/Development$ sudo apt-get install libmozjs-1.9.2 libmozjs-1.9.2-dev | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
linux-headers-2.6.35-27-generic linux-headers-2.6.35-27 | |
Use 'apt-get autoremove' to remove them. | |
The following NEW packages will be installed: | |
libmozjs-1.9.2 libmozjs-1.9.2-dev | |
0 upgraded, 2 newly installed, 0 to remove and 21 not upgraded. |
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
2011-04-23T10:27:43+00:00 app[web.5]: Stopping due to timeout... | |
2011-04-23T10:27:43+00:00 app[web.5]: /app/.bundle/gems/ruby/1.8/bundler/gems/couchrest-5df5a04164bc/lib/couchrest/monkeypatches.rb:27:in `call' | |
2011-04-23T10:27:43+00:00 app[web.5]: /app/.bundle/gems/ruby/1.8/bundler/gems/couchrest-5df5a04164bc/lib/couchrest/monkeypatches.rb:27:in `select' | |
2011-04-23T10:27:43+00:00 app[web.5]: /app/.bundle/gems/ruby/1.8/bundler/gems/couchrest-5df5a04164bc/lib/couchrest/monkeypatches.rb:27:in `rbuf_fill' | |
2011-04-23T10:27:43+00:00 app[web.8]: Stopping due to timeout... | |
2011-04-23T10:27:43+00:00 app[web.8]: /app/.bundle/gems/ruby/1.8/bundler/gems/couchrest-5df5a04164bc/lib/couchrest/monkeypatches.rb:27:in `call' | |
2011-04-23T10:27:43+00:00 app[web.8]: /app/.bundle/gems/ruby/1.8/bundler/gems/couchrest-5df5a04164bc/lib/couchrest/monkeypatches.rb:27:in `select' | |
2011-04-23T10:27:43+00:00 app[web.8]: /app/.bundle/gems/ruby/1.8/bundler/gems/couchrest-5df5a04164bc/lib/couchrest/monkeypatches.rb:27:in `rbuf_fill' | |
2011-04-23 |
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
2011-04-28T20:49:46+00:00 app[web.2]: Starting the New Relic Agent. | |
2011-04-28T20:49:46+00:00 app[web.4]: Stopping due to timeout... | |
2011-04-28T20:49:46+00:00 app[web.4]: /app/.bundle/gems/ruby/1.8/bundler/gems/couchrest-5df5a04164bc/lib/couchrest/monkeypatches.rb:27:in `call' | |
2011-04-28T20:49:46+00:00 app[web.4]: /app/.bundle/gems/ruby/1.8/bundler/gems/couchrest-5df5a04164bc/lib/couchrest/monkeypatches.rb:27:in `select' | |
2011-04-28T20:49:46+00:00 app[web.4]: /app/.bundle/gems/ruby/1.8/bundler/gems/couchrest-5df5a04164bc/lib/couchrest/monkeypatches.rb:27:in `rbuf_fill' | |
2011-04-28T20:49:46+00:00 app[web.4]: /usr/ruby1.8.7/lib/ruby/1.8/net/protocol.rb:116:in `readuntil' | |
2011-04-28T20:49:46+00:00 app[web.4]: /usr/ruby1.8.7/lib/ruby/1.8/net/protocol.rb:126:in `readline' | |
2011-04-28T20:49:46+00:00 app[web.4]: /usr/ruby1.8.7/lib/ruby/1.8/net/http.rb:2026:in `read_status_line' | |
2011-04-28T20:49:46+00:00 app[web.4]: /usr/ruby1.8.7/lib/ruby/1.8/net/http.rb:2015:in `read_new' | |
2011-04-28T20:49:46+00:00 app[web.4]: /usr/rub |
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
IronWorker.configure do |config| | |
config.token = ENV['IRON_WORKER_TOKEN'] | |
config.project_id = ENV['IRON_WORKER_PROJECT_ID'] | |
config.auto_merge = true | |
config.database = Rails.configuration.database_configuration[Rails.env] | |
config.merge_gem("paperclip") | |
config.merge_gem('mongoid', '2.0.2') | |
config.unmerge_gem('client_side_validations') | |
config.unmerge_gem('delayed_job') | |
config.unmerge_gem('devise') |
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
/mnt/sw_jobs/u13427/user_dir/text_media.rb:1:in `<top (required)>': uninitialized constant GenericMedia (NameError) | |
from /mnt/sw_jobs/u13427/user_dir/runner.rb:473:in `require_relative' | |
from /mnt/sw_jobs/u13427/user_dir/runner.rb:473:in `<main>' | |
WARNING: This version of mysql2 (0.3.11) doesn't ship with the ActiveRecord adapter bundled anymore as it's now part of Rails 3.1 | |
WARNING: Please use the 0.2.x releases if you plan on using it in Rails <= 3.0.x |
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
/app/.bundle/gems/ruby/1.9.1/gems/zipruby-0.3.6/lib/zipruby.so: warning: already initialized constant VERSION | |
2012-03-23T20:38:51+00:00 app[worker.1]: /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_utils.rb:10: warning: already initialized constant RUBY | |
2012-03-23T20:38:51+00:00 app[worker.1]: /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_utils.rb:84: warning: already initialized constant LN_SUPPORTED | |
2012-03-23T20:38:55+00:00 app[worker.1]: MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. | |
2012-03-23T20:38:55+00:00 app[worker.1]: MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) | |
2012-03-23T20:38:55+00:00 app[worker.1]: MONGODB app412443['$cmd'].find({:getnonce=>1}).limit(-1) | |
2012-03-23T20:38:55+00:00 app[worker.1]: MONGODB app412443['$cmd'].find({"authenticate"=>1, "user"=>"heroku", "nonce"=>"541e1baabfae9dfd", "key"=>"1d1add9bb8ee0b413885798677d67173"}).limit(-1) | |
2012-03-23T2 |
OlderNewer