Skip to content

Instantly share code, notes, and snippets.

View kumavis's full-sized avatar
🐉
!

kumavis kumavis

🐉
!
View GitHub Profile
const client = Raven.config(ravenTarget, {
release,
transport: function(opts) {
// modify report urls
const report = opts.data
rewriteReportUrls(report)
// make request normally
client._makeRequest(opts)
}
})

metamask roadmap

features

  • app features: tokens, voting, udapp
  • tx analysis trace and ABI matching (for future/unsigned and past/confirmed)
  • detecting relevant txs for history (received eth, tokens)
  • key mgmt (hardware, cloud, dao proposal generator)
  • multichain support

platform

Client-Side Services

This is a proposal of a pattern for building interlinking web apps. It would allow sandboxed integration with third-party services running on the same computer.

This would enable:

  • services to manage their own client-side secrets (e.g. private keys)
  • building shared caches
  • sharing p2p network resources
https://hangouts.google.com/hangouts/_/lnkpoxjdlng2dbp5clzvjwyj4ue
@kumavis
kumavis / engine2.js
Last active December 25, 2016 19:35
// example middleware
engine.use(function *(req, res, next) {
// make changes to request
// eg: check cache hit
yield next;
// read the result
// eg: populate cache
});
// cache middleware
BHHMO|Aetna Basic HMO
HMO1|2017 Aetna DC Bronze, Silver and Gold Open Access Health Network Only
OAMC|2017 Aetna DC Bronze, Silver and Gold Open Access Managed Choice
MPPO|2017 Aetna DC Silver and Gold PPO
QPOS1|2017 Aetna DE Bronze, Silver and GoldOpen Access Health Network Option
MPPO|2017 Aetna DE Bronze, Silver and Gold PPO
HMO1|2017 Aetna MD Bronze, Silver and Gold Open Access Health Netowrk Only
MPPO|2017 Aetna MD Bronze, Silver and Gold PPO
HMO1|2016 Aetna DC Bronze, Silver and Gold Open Access Health Network Only
OAMC|2016 Aetna DC Bronze, Silver and Gold Open Access Managed Choice

notes on data flow primitives

fundamental elements

  • message: any value (string, obj, etc)
  • channel: uni-directional paths that messages travel across

composition

  • multichannel: you can wrap multiple channels in a single channel by wrapping the message with metadata
# reset vpn
appleconnect vpn -a disconnect
appleconnect cleanup
killall -KILL AppleConnect
killall -KILL AppleConnectAgent
// -- -- -- -- on one machine -- -- -- -- --
var syncedObjectStore = new SyncedObjectStore(duplexStream)
var objA = new syncedObjectStore.Object()
var objB = new syncedObjectStore.Object()
var objC = new syncedObjectStore.Object()
objA.b = objB
objB.c = objC
@kumavis
kumavis / gist:8250221
Last active January 2, 2016 04:19
abstract of node-warrior build process
- make a build dir (empty it if its present)
- dump some static files into a certain place e.g. images
- compile some ejs into an html file
- compile some sass into a css file
- compile some ember templates into a js file (minify if prod)
- browserify the app entry-point into a js file (with browserify debug flag if a dev build) (minify if prod)
- (when a dev build) rerun a build process if a related file changed