Skip to content

Instantly share code, notes, and snippets.

View meandavejustice's full-sized avatar

Dave Justice meandavejustice

View GitHub Profile
[meandave@mainframe ~/Code/native-work]$ goingnative verify myaddon
✓ package.json contains `"gypfile": true`
✓ binding.gyp includes a "myaddon" target
✓ binding.gyp includes "myaddon.cc" as a source file
✓ binding.gyp includes a correct NAN include statement
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory '/home/meandave/Code/native-work/~test-addon-faux.4687/build'
CXX(target) Release/obj.target/myaddon/myaddon.o
SOLINK_MODULE(target) Release/obj.target/myaddon.node
SOLINK_MODULE(target) Release/obj.target/myaddon.node: Finished
│14:06:29 trescenzi | is JSON_voorhees a bot?
│14:08:49 KeezyfoSheezy | essentially, ya
│14:09:03 @pillsoup | lol
│14:09:06 KeezyfoSheezy | its programmed to post worldstar articles every ten days
│14:09:12 @pillsoup | haha
│14:09:39 KeezyfoSheezy | and have brief conversations about linux with jeremy │
│14:10:22 <-- | KeezyfoSheezy ([email protected]) has quit (Quit: Leaving.)
@meandavejustice
meandavejustice / late night hack.md
Created May 11, 2015 02:19
Late Night Hacking in Portland, Oregon
Establishment Hours Wifi
Rimsky-Korsakoffee House ? ?
Southeast Grind ? - ? yes
Common Grounds 7am - 10pm yes
Palio ?-? yes
Random Order 6:30am - 11pm yes
Pied Cow 12pm - 12am ?
@meandavejustice
meandavejustice / Shit that I am digging in 2015.md
Last active August 29, 2015 14:20
Shit that I am digging in 2015
var dlmanningApprovedIndexOfIndex = valueList.indexOf('');
if (dlmanningApprovedIndexOfIndex > -1) {
return false;
} else {
return true;
}
[package]
name = "hello_world"
version = "0.0.1"
authors = [ "dave justice <[email protected]>" ]
[dependencies]
old-http = "*"
url = "*"
.noise_over {
width: 100%;
height: 100% !important;
position: absolute;
left: 0;
top: 0;
background: url("/global/images/noise.gif") repeat;
opacity: 0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
#!/bin/bash
git pull origin master
npm install
node server.js &
@meandavejustice
meandavejustice / auth.js
Created November 11, 2014 03:14
A mega simple linkblog using with leveldb and nodejs
var basic = require('basic');
var auth = basic(function(user, pass, cb) {
if (user === 'meandave' && pass === 'badpassword') {
return cb(null);
}
cb(new Error('Access Denied'));
});
@meandavejustice
meandavejustice / gist:20cf22ebab660ba49818
Created October 27, 2014 21:31
rendering currentTime after multiple pauses
function triggerPlaying() {
if (!playing) {
return;
}
var cur, x;
var dur = as.buffer.duration;
var diff = 0;
var actualCurrentTime = ac.currentTime - firstPlay;