Skip to content

Instantly share code, notes, and snippets.

Avatar

Johnny Hall recipher

  • Peebles
View GitHub Profile
View app.js
import React from 'react';
import { Router } from '@reach/router';
import { Contributions } from 'contributions-ui';
import { Holdings } from 'holdings-ui';
import { Policy } from 'policies-ui';
import { Layout, NotFound } from './components';
const App = props => {
return (
<Router>
View gist:a7f7fa73feaa26740ba0
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:6628148
Created Sep 19, 2013
Nodejitsu API Reset the Connection
View gist:6628148
info: Welcome to Nodejitsu starcount
info: jitsu v0.13.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-testing',
debug: headers:
debug: { Authorization: '*************************************',
View gist:5830242
[
"]",
"}",
"0",
"5",
":",
"\"",
"e",
"r",
"o",
View gist:5444930
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
View gist:5403641
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:5403340
Created Apr 17, 2013
jitsu deploy starcount/core-staging
View gist:5403340
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:5347391
Created Apr 9, 2013
Keeps on trucking...
View gist:5347391
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
View gist:5333042
{
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:5124929
Created Mar 9, 2013
brew install -v couchdb fails
View gist:5124929
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. ##