Skip to content

Instantly share code, notes, and snippets.

🐉
!

kumavis kumavis

🐉
!
Block or report user

Report or block kumavis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kumavis
kumavis / experiment1.js
Last active Aug 21, 2019
ses sloppyGlobals mini kernel
View experiment1.js
const test = require('tape-promise').default(require('tape'))
const SES = require('../lib/ses.umd.js')
const realm = SES.makeSESRootRealm()
test(async t => {
const globalStore = {}
runModuleA()
View dht findProviders query.md

test details

contentRouting.findProviders

real browser dht network network size 60 kbucket 20 maxPeers 40 randomWalk off visible connection churn due to maxPeers

View contentRounting-findProviders.md

test details

contentRouting.findProviders

real browser dht network network size 85 kbucket 20 maxPeers 40 randomWalk off visible connection churn due to maxPeers

View raven-url-rewrite.js
const client = Raven.config(ravenTarget, {
release,
transport: function(opts) {
// modify report urls
const report = opts.data
rewriteReportUrls(report)
// make request normally
client._makeRequest(opts)
}
})
View roadmap.md

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

View gist:f8d1b92efe38c3522067f2b34b0a7bd1

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
View gist:b2e75fa920bddd29eeb3f74e8af02da4
https://hangouts.google.com/hangouts/_/lnkpoxjdlng2dbp5clzvjwyj4ue
View engine2.js
// 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
View gist:d7aff5cdbccd1647d931ea590d522120
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
@kumavis
kumavis / gist:8202447
Last active Nov 16, 2016
dynamically creating a secure iframe
View gist:8202447
//
// Update: Resolved. TL;DR: chrome dev tools troll.
// Outputting iframe object to console resulted in enumeration of properties, throwing the SecurityError
// Note: However, accessing iframe.contentDocument does throw a SecurityError so iframe.contentDocument.write is not possible.
//
//
// Problem
//
You can’t perform that action at this time.