Skip to content

Instantly share code, notes, and snippets.

View recipher's full-sized avatar

Johnny Hall recipher

  • Peebles
View GitHub Profile
@recipher
recipher / gist:a7f7fa73feaa26740ba0
Created December 8, 2015 21:18
Nancy + DNX + Mono Error
System.InvalidOperationException: No service for type 'Microsoft.Dnx.Runtime.IApplicationEnvironment' has been registered.
at Microsoft.Framework.DependencyInjection.ServiceProviderExtensions.GetRequiredService (IServiceProvider provider, System.Type serviceType) <0x10bbeb490 + 0x00073> in <filename unknown>:0
at Microsoft.Framework.DependencyInjection.ServiceProviderExtensions.GetRequiredService[T] (IServiceProvider provider) <0x10bbeb410 + 0x00032> in <filename unknown>:0
at Microsoft.AspNet.Hosting.Program.Main (System.String[] args) <0x10bbe9a20 + 0x00125> in <filename unknown>:0
at Microsoft.AspNet.Server.Kestrel.Program.Main (System.String[] args) <0x10bbe9880 + 0x00132> in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalizat
@recipher
recipher / gist:4741492
Created February 8, 2013 19:52
package.json
{
"name": "gamed",
"description": "Game",
"version": "0.1.0-6",
"homepage": "http://www.perceptal.co.uk/",
"author": {
"name": "Johnny Hall",
"email": "engineer@perceptal.co.uk"
},
"repository": {
@recipher
recipher / gist:4741480
Created February 8, 2013 19:51
jitsu deploy --debug
jitsu deploy --debug
info: Welcome to Nodejitsu perceptal
info: jitsu v0.11.6, node v0.8.5
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node app.js
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/perceptal/gamed',
debug: headers:
debug: { Authorization: '*********************************',
@recipher
recipher / gist:5124929
Created March 9, 2013 17:29
brew install -v couchdb fails
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Apache CouchDB configure 1.2.1, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/couchdb/1.2.1 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --with-erlang=/usr/local/lib/erlang/usr/include --with-js-include=/usr/local/include/js --with-js-lib=/usr/local/lib
## --------- ##
## Platform. ##
@recipher
recipher / gist:5333042
Created April 7, 2013 23:20
Activity Deps
{
name: "activity",
version: "0.0.1",
private: true,
description: "Starcount Activity Capture",
main: "bootstrap.js",
scripts: {
start: "node bootstrap.js",
test: "grunt test"
},
@recipher
recipher / gist:5347391
Created April 9, 2013 16:56
Keeps on trucking...
Apr 09 17:34:43 76da396a-3c70-45c2-8980-07fdd663516a.local staging-starcount-activity: [info] Shard 1
Apr 09 17:34:45 76da396a-3c70-45c2-8980-07fdd663516a.local staging-starcount-activity: [info] Processing from 0 to 24 on shard 1
Apr 09 17:36:41 76da396a-3c70-45c2-8980-07fdd663516a.local staging-starcount-activity: [info] Processing finished
Apr 09 17:36:43 76da396a-3c70-45c2-8980-07fdd663516a.local staging-starcount-activity: [info] Processing from 25 to 49 on shard 1
Apr 09 17:38:20 76da396a-3c70-45c2-8980-07fdd663516a.local staging-starcount-activity: [info] Processing finished
Apr 09 17:38:22 76da396a-3c70-45c2-8980-07fdd663516a.local staging-starcount-activity: [info] Processing from 50 to 74 on shard 1
Apr 09 17:41:07 76da396a-3c70-45c2-8980-07fdd663516a.local staging-starcount-activity: [info] Processing finished
Apr 09 17:41:10 76da396a-3c70-45c2-8980-07fdd663516a.local staging-starcount-activity: [info] Processing from 75 to 99 on shard 1
Apr 09 17:45:50 76da396a-3c70-45c2-8980-07fdd
@recipher
recipher / gist:5403340
Created April 17, 2013 10:42
jitsu deploy starcount/core-staging
Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: Unhandled error
error: at Object.onError (/root/nodejitsu/lib/nodejitsu.js:75:48)
error: at Router.invoke (/root/nodejitsu/node_modules/director/lib/director/router.js:424:18)
error: at /root/nodejitsu/node_modules/director/lib/director/router.js:47:9
error: at httpUsers.attach.app.requireAuth (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users.js:54:16)
error: at UserStrategy.authenticate (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users/auth.js:63:11)
error: at Resource._request.runBeforeHooks.args.push.obj._rev (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:140:15)
@recipher
recipher / gist:5403641
Created April 17, 2013 11:48
Socket Hang Up
info: Welcome to Nodejitsu starcount
info: jitsu v0.12.10-2, node v0.8.5
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
warn: **WARNING** Do not use multiple level subdomains, they will be going away soon!
info: Analyzing application dependencies in node bootstrap.js
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/starcount/activity-staging',
debug: headers:
debug: { Authorization: '*********************************************************************',
@recipher
recipher / gist:5444930
Created April 23, 2013 16:04
Zombie Log
pr 23 17:02:41 83161b84-6a49-4307-aadf-39d32a5ab342.local production-core-0.1.1: [info] response for : path: /stars/nominated/2013/, response: 200
Apr 23 17:02:41 f2f950ef-5d4b-4ab9-964f-9fda425ab43a.local staging-starcount-core: [error] AMQP ERROR: Error: getaddrinfo ENOTFOUND
Apr 23 17:02:41 89cb8b83-4375-4ab1-aa7a-650d57b986d7.local staging-starcount-core: [error] AMQP ERROR: Error: getaddrinfo ENOTFOUND
Apr 23 17:02:42 589dc703-e2dc-46c4-950e-7e1ff75c7eb4.local production-starcount-core: [info] starting newrelic.
Apr 23 17:02:42 589dc703-e2dc-46c4-950e-7e1ff75c7eb4.local production-starcount-core: [info] Initialising application
Apr 23 17:02:42 589dc703-e2dc-46c4-950e-7e1ff75c7eb4.local production-starcount-core: [info] Initialising models
Apr 23 17:02:42 589dc703-e2dc-46c4-950e-7e1ff75c7eb4.local production-starcount-core: [info] Initialising subscribers
Apr 23 17:02:42 589dc703-e2dc-46c4-950e-7e1ff75c7eb4.local production-starcount-core: [info] starting core.
Apr 23 17:02:42 589dc703-e2d
@recipher
recipher / gist:5830242
Created June 21, 2013 10:06
Corrupted Data
[
"]",
"}",
"0",
"5",
":",
"\"",
"e",
"r",
"o",