Skip to content

Instantly share code, notes, and snippets.

Process: AXR Prototype [31316]
Path: /Applications/AXR Prototype.app/Contents/MacOS/AXR Prototype
Identifier: vg.axr.AXR-Prototype
Version: 0.46 (1)
Code Type: X86-64 (Native)
Parent Process: launchd [126]
Date/Time: 2012-04-26 13:32:08.558 -0300
OS Version: Mac OS X 10.7.3 (11D50)
Report Version: 9
@Draiken
Draiken / books.coffee
Created March 2, 2012 20:49
books controller
class App.Controllers.Books extends Ember.Object
index: ->
@view = Ember.View.create
controller: this,
templateName: 'app/templates/books/index'
@view.append()
@Draiken
Draiken / tree
Created March 2, 2012 20:56
treee
.
├── app
│   ├── controllers
│   │   └── home_controller.js.coffee
│   ├── models
│   └── templates
│   └── books
│   └── index.handlebars
├── app.js
├── application.js
@Draiken
Draiken / compatible.java
Created February 14, 2012 14:29
market compatible
public boolean isCompatible() {
String ver = getOsVersion();
// If it's null, we're not sure, so let the market handle it
if (ver == null)
return true;
String[] versions = getOsVersion().split("/");
String lowestVersion = versions[0];
String droidVersion = Build.VERSION.RELEASE.substring(0, 3);
window.Collector =
Models: {}
Views: {}
Controllers: {}
Collections: {}
init: ->
new Collector.Controllers.Errors()
Backbone.history.start()
(function() {
var __hasProp = Object.prototype.hasOwnProperty, __extends = function(child, parent) {
for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; }
function ctor() { this.constructor = child; }
ctor.prototype = parent.prototype; //errors_controller.js:5 Uncaught TypeError: Cannot read property 'prototype' of undefined
child.prototype = new ctor;
child.__super__ = parent.prototype;
return child;
};
Collector.Controllers.Errors = (function() {
class Collector.Controllers.Errors extends Backbone.Controller
routes: {
"errors" : "index",
"errors/:id" : "show"
}
index: ->
new Collector.Views.ErrorView(Collector.Collection.Errors.fetch())
run Todaela::Application
)}.to_app: org.jruby.exceptions.RaiseException: (TypeError) can't modify frozen array
at org.jruby.RubyArray.concat(org/jruby/RubyArray.java:1450) [jruby.jar:]
at #<Class:0x1310c08c7>.Plugin(/Users/draiken/.rvm/gems/jruby-1.6.2@toda-ela/gems/railties-3.0.10/lib/rails/plugin.rb:71) at org.jruby.RubyKernel.instance_exec(org/jruby/RubyKernel.java:2045) [jruby.jar:]
at rubyjit.run_7761DFB9328DE427D0E75A527B886E70C475D69F.run(/Users/draiken/.rvm/gems/jruby-1.6.2@toda-ela/gems/railties-3.0.10/lib/rails/initializable.rb:25)
at #<Class:0x16e339f21>.run_initializers(/Users/draiken/.rvm/gems/jruby-1.6.2@toda-ela/gems/railties-3.0.10/lib/rails/initializable.rb:50) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1602) [jruby.jar:]
at Rails::Initializable.run_initializers(/Users/draiken/.rvm/gems/jruby-1.6.2@toda-ela/gems/railties-3.0.10/lib/rails/initializable.rb:49) at Rails::Application.initialize!(/Users/draiken/.rvm/gems/jruby-1.6.2@toda-ela/gems/railties-3.0.10/lib/rails/applicati
{"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"toda-ela-knob.yml\".jdbc.drivers.mysql" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"toda-ela-knob.yml\".jdbc.drivers.mysql: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver"}}}}
@Draiken
Draiken / log
Created November 9, 2011 17:04
» torquebox run
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Users/draiken/.rvm/gems/jruby-1.6.2@toda-ela/gems/torquebox-server-2.x.incremental.605-java/jboss
JAVA: 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