moved package "lws": "0.6.x", to 0.8.0
removed uws support
Primus, the creator god of transformers but now also known as universal wrapper for real-time frameworks. There are a lot of real-time frameworks available for
| function (user, context, callback) { | |
| // We check users only authenticated with 'github' | |
| if(context.connection === 'github'){ | |
| var whitelist = [ | |
| 'bcoe', | |
| 'batman' | |
| ]; //authorized github accounts. | |
| var userHasAccess = whitelist.some((name) => { | |
| return name === user.nickname; |
| { | |
| "name": "@funkia/hareactive", | |
| "version": "0.0.31", | |
| "description": "Experimental FRP library for building web applications.", | |
| "main": "dist/index.js", | |
| "module": "dist/es/index.js", | |
| "typings": "dist/defs/index.d.ts", | |
| "directories": { | |
| "test": "test", | |
| "dist": "dist" |
| vcl 4.0; | |
| import directors; | |
| backend primary { | |
| .host = "127.0.0.1"; | |
| .port = "8080"; | |
| } | |
| backend replica { | |
| .host = "x.x.x.x"; |
| curl -XPUT /_config/log/level' -d '"debug"' |
| For yargs, I'm picturing a structure something like this: | |
| yargs | |
| lib | |
| command.js | |
| validation.js | |
| packages: | |
| yargs-parser | |
| index.js | |
| package.json |
| /* global expect, jasmine, describe, test, beforeAll, afterAll */ | |
| 'use strict' | |
| import next from 'next/dist/server/next' | |
| const app = new next({ | |
| dir: './', | |
| dev: true, | |
| staticMarkup: true, |
| [notice] 2016-10-12T23:24:55.182466Z couchdb@localhost <0.1180.5> -------- 127.0.0.1 - - GET /_users/_design/scratch 404 | |
| [error] 2016-10-12T23:24:55.182586Z couchdb@localhost <0.1180.5> -------- httpd 404 error response: | |
| {"error":"not_found","reason":"missing"} | |
| [info] 2016-10-12T23:24:55.240583Z couchdb@localhost <0.217.0> -------- couch_proc_manager <0.1216.5> died epipe | |
| [error] 2016-10-12T23:24:55.240650Z couchdb@localhost <0.1181.5> -------- OS Process Error <0.1216.5> :: {'EXIT',epipe} | |
| [error] 2016-10-12T23:24:55.242139Z couchdb@localhost <0.1219.5> -------- OS Process died with status: 127 | |
| [info] 2016-10-12T23:24:55.242243Z couchdb@localhost <0.217.0> -------- couch_proc_manager <0.1219.5> died {exit_status,127} | |
| [error] 2016-10-12T23:24:55.242299Z couchdb@localhost <0.1181.5> -------- OS Process Error <0.1219.5> :: {'EXIT',{exit_status,127}} | |
| [error] 2016-10-12T23:24:55.242292Z couchdb@localhost <0.1219.5> -------- gen_server <0.1219.5> terminated with reason: {exit_status,127} | |
| last msg: {#Port<0.47259 |
| Benjamins-MBP:highlights benjamincoe$ node --version | |
| v6.3.1 | |
| Benjamins-MBP:highlights benjamincoe$ cat package.json | json dependencies | |
| { | |
| "first-mate": "^6.0.0", | |
| "first-mate-select-grammar": "^1.0.1", | |
| "fs-plus": "^2.2.6", | |
| "once": "^1.3.2", | |
| "season": "^5.1.2", | |
| "underscore-plus": "^1.5.1", |
| pg.defaults.poolSize = 1 | |
| helper.beginTransaction = function (done) { | |
| conn.query('BEGIN', done) | |
| } | |
| helper.endTransaction = function (done) { | |
| conn.query('ROLLBACK', done) | |
| } |