Skip to content

Instantly share code, notes, and snippets.

View masone's full-sized avatar
🚗

Christian Felder masone

🚗
View GitHub Profile
Uncaught Error: Invariant Violation: flattenChildren(...): Encountered two children with the same key, `.$production`. Children keys must be unique. thirdparty.min.js?ts=1409358344v5:24invariant thirdparty.min.js?ts=1409358344v5:24flattenSingleChildIntoContext thirdparty.min.js?ts=1409358344v5:24traverseAllChildrenImpl thirdparty.min.js?ts=1409358344v5:24traverseAllChildrenImpl thirdparty.min.js?ts=1409358344v5:24traverseAllChildren thirdparty.min.js?ts=1409358344v5:24flattenChildren thirdparty.min.js?ts=1409358344v5:24ReactMultiChild.Mixin.mountChildren thirdparty.min.js?ts=1409358344v5:21ReactDOMComponent.Mixin._createContentMarkup thirdparty.min.js?ts=1409358344v5:19(anonymous function) thirdparty.min.js?ts=1409358344v5:19(anonymous function) thirdparty.min.js?ts=1409358344v5:22ReactMultiChild.Mixin.mountChildren thirdparty.min.js?ts=1409358344v5:21ReactDOMComponent.Mixin._createContentMarkup thirdparty.min.js?ts=1409358344v5:19(anonymous function) thirdparty.min.js?ts=1409358344v5:19(anonymous function) t
@masone
masone / eye.rake
Last active August 29, 2015 14:10
Capistrano eye task
namespace :eye do
%w(start stop restart info).each do |cmd|
task cmd.to_sym do
on roles(fetch(:eye_roles)) do |server|
within release_path do
eye_processes(server).each do |name|
execute :bundle, "exec eye #{cmd} #{name}"
end
end
❯ gpsh heroku
Counting objects: 524, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (477/477), done.
Writing objects: 100% (524/524), 5.51 MiB | 664.00 KiB/s, done.
Total 524 (delta 72), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching custom git buildpack... done
Starting analysis
Running clog: Done!
== app/custom/livingdocs/es-types/component_card.coffee (3 issues) ==
High overall token complexity. [clog]
Huge number of lines of code in file. [clog]
42-60: Large number of lines of code in function. [clog]
== app/custom/livingdocs/es-types/publication.coffee (2 issues) ==
High overall token complexity. [clog]
var Reflux;
Reflux = require('reflux');
module.exports = Reflux.createActions(['wall_selected', 'wall_unselected', 'wall_focussed', 'wall_unfocussed', 'walls_load', 'fit_bounds', 'set_center', 'set_zoom', 'hide_notification', 'show_notification', 'change_placeholder', 'show_modal', 'hide_modal']);
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAiZmlsZSI6ICIiLAogICJzb3VyY2VSb290IjogIiIsCiAgInNvdXJjZXMiOiBbCiAgICAiIgogIF0sCiAgIm5hbWVzIjogW10sCiAgIm1hcHBpbmdzIjogIkFBQUEsSUFBQTs7QUFBQSxNQUFBLEdBQVMsT0FBQSxDQUFRLFFBQVI7O0FBRVQsTUFBTSxDQUFDLE9BQVAsR0FBaUIsTUFBTSxDQUFDLGFBQVAsQ0FBcUIsQ0FDcEMsZUFEb0MsRUFFcEMsaUJBRm9DLEVBR3BDLGVBSG9DLEVBSXBDLGlCQUpvQyxFQUtwQyxZQUxvQyxFQU1wQyxZQU5vQyxFQU9wQyxZQVBvQyxFQVFwQyxVQVJvQyxFQVNwQyxtQkFUb0MsRUFVcEMsbUJBVm9DLEVBV3BDLG9CQVhvQyxFQVlwQyxZQVpvQyxFQWFwQyxZQWJvQyxDQUFyQiIKfQ==

invalid jquery / image-size

npm ERR! invalid: [email protected] /Users/cfelder/livingdocs/nzz-server/node_modules/livingdocs-server/node_modules/image-size-stream/node_modules/image-size
npm ERR! invalid: [email protected] /Users/cfelder/livingdocs/nzz-server/node_modules/livingdocs-server/node_modules/livingdocs-framework/node_modules/jquery

run:

npm install [email protected]
FORMAT: 1A
HOST: http://localhost:3003/
# legalwalls
## Walls [/walls]
### List walls [GET]
+ Response 200 (application/json)
@masone
masone / initEventHandlers.coffee
Created March 14, 2016 12:09
Review quiz: What is wrong with this (initEventHandlers)?
initEventHandlers: (callback) ->
unless config.get('activity_log:enabled', true)
return callback()
@handledEvents.forEach (eventName) ->
events.subscribe(eventName, handleEvent)
log.success('ActivityLog: event handlers successfully registered')
callback()
server:
build: .
dockerfile: Dockerfile
volumes:
- ./:/app
- /app/node_modules
ports:
- 9090:9090
links:
- postgres
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>iframe</title>
<meta charset="utf-8">
</head>
<body>
<iframe width="800" height="500" src="https://fup-dev.hosted.livingdocs.io"></iframe>
</body>
</html>