Skip to content

Instantly share code, notes, and snippets.

View benmoss's full-sized avatar
🙈

Ben Moss benmoss

🙈
View GitHub Profile
(def foo {})
;"Error evaluating:" (def foo {}) :as ".foo = cljs.core.PersistentArrayMap.EMPTY;\n"
;org.mozilla.javascript.EvaluatorException: syntax error (<cljs repl>#8)
;nil
(apply dom/table #js {:className "chess-board"}
(map #(dom/tr #js {:key (:position (first %))}
(om/build-all square % options))
rows))
; rows is structured as
; ((cursor cursor) (cursor cursor))
; want one TR per partition
class ScoutCommand
MissingKeyError = Class.new(ArgumentError)
attr_reader :node
def initialize(node)
@node = node
end
def to_s
Error detected while processing function <SNR>119_Eval..fireplace#echo_session_eval..fireplace#session_eval..<SNR>119_eval..502..<SNR>119_conn_
try..<SNR>168_nrepl_eval..<SNR>168_extract_last_stacktrace:
line 2:
E716: Key not present in Dictionary: value[0], "\n\b\n"), 1, ""), "\n")
E116: Invalid arguments for function split(a:nrepl.process({'op': 'eval', 'code': '['.format_st.' *3 *2 *1]', 'session': a:nrepl.session}).valu
e[0], "\n\b\n"), 1, ""), "\n")
E116: Invalid arguments for function get(split(a:nrepl.process({'op': 'eval', 'code': '['.format_st.' *3 *2 *1]', 'session': a:nrepl.session}).
value[0], "\n\b\n"), 1, ""), "\n")
E116: Invalid arguments for function split(get(split(a:nrepl.process({'op': 'eval', 'code': '['.format_st.' *3 *2 *1]', 'session': a:nrepl.sess
ion}).value[0], "\n\b\n"), 1, ""), "\n")
-----> Starting Kitchen (v1.2.1)
D [kitchen::driver::vagrant command] BEGIN (vagrant --version)
D [kitchen::driver::vagrant command] END (0m0.23s)
D Berksfile found at /Users/moss/code/provisioning/Berksfile, loading Berkshelf
D Berkshelf 2.0.14 library loaded
D Berksfile found at /Users/moss/code/provisioning/Berksfile, loading Berkshelf
D Berkshelf 2.0.14 previously loaded
-----> Converging <default-ubuntu-1204>...
D Creating Vagrantfile for <default-ubuntu-1204> (/Users/moss/code/provisioning/.kitchen/kitchen-vagrant/default-ubuntu-1204/Vagrantfile)
D ------------
{"a8" {:position "a8", :value {:color "black" :type :R}},
"a4" {:position "a4", :value nil}}
{{#view Foo}}
{{file-upload}}
{{/view}}
service "rabbitmq" do
service_name node['rabbitmq']['service_name']
supports :status => true, :restart => true, :reload => true
action [:enable, :start]
end
if node['rabbitmq']['cluster'] && (node['rabbitmq']['erlang_cookie'] != existing_erlang_key)
service "rabbitmq" do
action :stop
end
$ ruby -Ilib bin/gem install foo-0.0.2.gem --verbose
HEAD https://api.rubygems.org/api/v1/dependencies
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=foo
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=rspec
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=rspec-core,rspec-expectations,rspec-mocks
200 OK
± |master ✓| → cat /Users/moss/.nvm/v0.10.22/lib/node_modules/ember-cli/node_modules/rsvp/package.json
{
"name": "rsvp",
"namespace": "RSVP",
"version": "3.0.9",
"description": "A lightweight library that provides tools for organizing asynchronous code",
"main": "dist/commonjs/main.js",
"directories": {
"lib": "lib"
},