Skip to content

Instantly share code, notes, and snippets.

Started GET "/" for 127.0.0.1 at 2015-070-23
Processing by ApplicationController#ng as HTML
undefined method `split' for nil:NilClass
Filter chain halted as :authenticate rendered or redirected
Completed 401 Unauthorized in 1ms
$ ember server
version: 0.2.7
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/#watchman for more info.
Livereload server on port 35729
Serving on http://localhost:4200/
2015-07-01 10:40 ember[10544] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
events.js:85
throw er; // Unhandled 'error' event
^
@umdstu
umdstu / command
Last active August 29, 2015 14:16
.elem_match(analytics: {analytic: 'ana1'}).asc('analytics.ana1.score')
@umdstu
umdstu / diffs
Last active August 29, 2015 14:15
-gem 'rails', '3.2.3'
+gem 'rails', '3.2.21'
-gem 'mocha', '0.12.10', :require => false
+gem 'mocha', :require => false
plus all dependencies of rails3.2.21 updated.
config.logger = ActionSupport::TaggedLogging.new(
TestApp.new(config.paths['log'].first)
)
config.log_tags = [lambda { |req|
session = Session.find_by_session_id(req.cookie_jar["_test_app"])
uid = 'nil'
unless session.nil?
session_hash = Marshal.restore(Base64.decode64(session.data))
if session_hash['user']
require 'open3'
module ApplicationHelper
def link_to_presenter(item, options = {})
label = options[:label]
url = content_link(item,options)
link_to label, url
end
def link_to_presenter(label,options)
url = link_to_content(label,options)
link_to label, url
end
require "ostruct"
require "rest-client"
require "benchmark"
require "active_support/core_ext"
module ServiceRecord
def self.logger
end
Filesystem Size Used Avail Use% Mounted on
/dev/sda 20G 9.3G 9.5G 50% /
udev 243M 4.0K 243M 1% /dev
tmpfs 99M 220K 99M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 246M 0 246M 0% /run/shm
none 100M 0 100M 0% /run/user
Error: 'undefined' is not an object (evaluating '$scope.data[i]')
@http://localhost:8000/panels/trends/module.js:164
forEach@[native code]
forEach@http://localhost:8000/common/lib/uderscore.min.js:1
@http://localhost:8000/panels/trends/module.js:184
i@http://localhost:8000/common/lib/angular.min.js:76
@http://localhost:8000/common/lib/angular.min.js:76
$eval@http://localhost:8000/common/lib/angular.min.js:87
$digest@http://localhost:8000/common/lib/angular.min.js:84
$apply@http://localhost:8000/common/lib/angular.min.js:87