Skip to content

Instantly share code, notes, and snippets.

View drGrove's full-sized avatar
😎
Trying to delete more lines of code than I write

Danny Grove drGrove

😎
Trying to delete more lines of code than I write
View GitHub Profile
@drGrove
drGrove / role.md
Last active March 27, 2024 00:25 — forked from lrvick/role.md
My default canned response to all recruiters. Know what you want out of your career and articulate it specifically if you want to get it either at your current employer, or a different one.

I know exactly what I want in a long term role so I can save us some time.

For me to be willing to change jobs at this point I would expect:

  • A high level of autonomy where I am allowed to work weird hours.
  • Have my obsession for auditable everything be humored/tolerated
    • I prefer to work with open operating systems like Linux
    • I am never asked to rely on any software I can't audit on any of my personal or company devices.
  • No need to go find clients myself or worry about the business side of the house
  • Travel/lodging covered for the 2-3 security conferences I try to attend every year.
@drGrove
drGrove / dc26.md
Last active August 12, 2018 12:04 — forked from lrvick/dc26.md
Defcon 26

Defcon 26

Itinerary

Thursday

09:00

  • Arrive At Cesars
  • Get admission badges
  • Checkin to room
// Requires jQuery from http://jquery.com/
// and jQuerySparklines from http://omnipotent.net/jquery.sparkline
// AngularJS directives for jquery sparkline
angular.module('sparkline', []);
angular.module('sparkline')
.directive('jqSparkline', [function () {
'use strict';
return {
@drGrove
drGrove / glass.html
Created March 24, 2014 22:10
[wearscript] Myo Hue
<html style="width:100%; height:100%; overflow:hidden">
<body style="width:100%; height:100%; overflow:hidden; margin:0; background: #000;">
<script data-require="jquery" data-semver="2.0.3" src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script>
function server() {
WS.say('Welcome to Wearscript Hue Glass Demo')
WS.log('Welcome to Wearscript Hue Glass Demo')
var numHue = 3;
function updateHue( hueState ){
@drGrove
drGrove / glass.html
Created March 24, 2014 21:48 — forked from bwhite/glass.html
[wearscript] Myo Demo
<html style="width:100%; height:100%; overflow:hidden">
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<script>
function server() {
setTimeout(WS.myoTrain, 250);
return;
WS.gestureCallback('onMyo', function (x) {
WS.say(x);
});
WS.sensorOn('myoOrientation', .15, function (data) {
@drGrove
drGrove / glass.html
Created March 24, 2014 20:18 — forked from coryk135/glass.html
[wearscript] Myo
<html>
<head>
<meta charset="utf-8">
<title>2048</title>
<style>
html, body {
margin: 0;
padding: 0;
background: #faf8ef;
@drGrove
drGrove / glass.html
Created March 21, 2014 04:51 — forked from bwhite/glass.html
[wearscript] Read which AR tag is in front of you
<html style="width:100%; height:100%; overflow:hidden">
<body style="width:100%; height:100%; overflow:hidden; margin:0" bgcolor="#000">
<script>
function server() {
WS.cameraOn(1, 360, 640);
WS.dataLog(false, true, .15);
WS.subscribe('warptags', function (channel, tags) {
if (tags.length) {
WS.say(tags[0][0]);
}
@drGrove
drGrove / ccccc
Created March 21, 2014 03:25 — forked from bwhite/glass.html
[wearscript] AR Warp with circles
dssfdfs
@drGrove
drGrove / glass.html
Created March 21, 2014 03:22 — forked from bwhite/glass.html
[wearscript] AR Warp with circles
<html style="width:100%; height:100%; overflow:hidden">
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<canvas id="offscreen" width="640" height="360" style="display:hidden"></canvas>
<script>
function drawCircle(x, y) {
var width = 640;
var height = 360;
var c = document.getElementById("offscreen");
var ctx = c.getContext("2d");
ctx.fillStyle = 'black'
@drGrove
drGrove / glass.html
Created March 20, 2014 20:15
[wearscript] sdfsdfdsf
<html style="width:100%; height:100%; overflow:hidden">
<head>
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>-->
</head>
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<canvas id="canvas" width="640" height="360" style="display:block"></canvas>
<script>
function cb(data) {
// Changes canvas color with head rotation