Skip to content

Instantly share code, notes, and snippets.

View runvnc's full-sized avatar

Jason Livesay runvnc

View GitHub Profile
@runvnc
runvnc / index.js
Last active August 28, 2017 08:01
requirebin sketch
const post=require('easy-post-request');
const b64=require('base64-js');
const dasm=require('dasm').default;
window.domconsole = require('dom-console')
window.demo = domconsole()
demo.api.toggle()
var el = domconsole({ lineLength: 80 })
var api = el.api
document.body.appendChild(el)
@runvnc
runvnc / index.html
Created December 30, 2016 09:29
Lone Wolf Combat
<div><label for="lwcs">Lone Wolf Combat Skill:</label>
<input name="lwcs">
<label for="lwep">Lone Wolf Endurance Points</label>
<input name="lwep">
</div>
<div>
<label for="opcs">Opponent Combat Skill:</label>
<input name="opcs">
@runvnc
runvnc / web-gpgpu-cluster
Last active November 20, 2016 05:26
gpgpu cluster
Combine something like turbo.js with a webrtc rpc swarm. Use rpc to pull out of task queue. So we can do GPGPU processing on web-based clusters in the browser.
Can just use public gists with 'gpgpucluster' at end of description. The use requirebin. Also use webtorrent/instant.io
for imagenet example. Need to break imagenet up into a ton of little torrents. Then make an example that maybe just
searches for certain classes like 'cat'. Example doesn't need to do actual machine learning, just store images in graphics memory
pull them out when they search. And send them back. Maybe just use a subset of imagenet so that multiple clients
can share the dataset and so work together to answer queries.
@runvnc
runvnc / test.js
Last active November 20, 2016 03:50
search imagenet gpgpucluster
// search imagenet using web-gpu-cluster
import cryptojs from 'crypto-js';
import Token from './models/token';
import User from './models/user';
import jwt from 'jsonwebtoken';
import dotenv from 'dotenv';
dotenv.load();
gistup
gistup
Verifying that +jasonlivesay is my openname (Bitcoin username). https://onename.io/jasonlivesay