Skip to content

Instantly share code, notes, and snippets.

View cellvia's full-sized avatar

Brandon Selway cellvia

View GitHub Profile
I love javascript because I feel it reflects the universe in a way... That there is no absolute reality but rather a series of encapsulated experience templates (contexts) wherein consciousness (this) explores itself by consuming and emiting events within these contexts. In short, reality is event-driven with endlessly flexible scope. Its our job to reprogram the templates all the way up the prototype chain.
@cellvia
cellvia / tags: third eye, motivation
Last active August 29, 2015 14:01
~reflections~the "mystery" of the third eye
I'm baffled by the pervasive "mystery" surrounding the beholding of the third eye. It's about as mysterious as the beholding of a ball -- all you need do is simply look at it. Literally. Close your eyes, look up, then look in. If not immediately, remain there for just a few minutes and there you are: colors, images, tunnels, feelings of peace, etc. all right there. And before you suggest I have easy access from my experience with meditation and psychedelics, I can confirm this is nothing a child couldn't do -- I was doing it many years before I even heard the word meditation, and the children in my life find it very easy to have this experience with minimal explanation. It looks to me like the only thing keeping people from accessing such plainly obvious experience is a masochistic lack of openness, laziness, fear, or perhaps never having thought to look there in the first place. To think, all the clamour around this "Great Mystery", in both directions. The idea of ridiculing someone for believing the third e
@cellvia
cellvia / index.js
Created June 30, 2016 15:59
requirebin sketch
class Hello {
constructor(){
console.log("hello");
}
}
class Hello2 extends Hello{
constructor(){
super();
console.log("hello2");
@cellvia
cellvia / index.js
Created June 30, 2016 15:59
requirebin sketch
var traverse = require('traverse')
class Hello {
constructor(){
console.log("hello");
}
}
class Hello2 extends Hello{
constructor(){
@cellvia
cellvia / gist:2c5d60461139cdb96cc9f907abd99833
Last active December 13, 2017 15:49
retry loop grabbing a folder of files via adb
var Promise = require('bluebird')
var fs = require('fs')
var adb = require('adbkit')
var client = adb.createClient()
const pathToFiles = '/sdcard/Download';
const loop = () => {
client.listDevices()
.then(function(devices) {