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 / 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
@drGrove
drGrove / cleanup-repo.sh
Last active January 13, 2018 05:55
Git Repo cleanup (For Linux and MacOS)
#!/bin/bash
output_type='text'
days_back='60'
branch_command=`git branch -r | grep -v HEAD`
dryrun=false
sanityCheck=false
protected=("master" "develop" "origin/master" "origin/develop")
get_backlog_date() {
local backlog_date=""
@drGrove
drGrove / facebook_graph_yaml.py
Last active November 11, 2016 21:37
A Facebook Graph API preprocessor to get albums for Grow
"""
Convert Facebook Graph API responses to YAML.
To keep data secure. Use environment variable FACEBOOK_ACCESS_TOKEN
instead of storing in podspec
"""
import grow
from protorpc import messages
import requests
@drGrove
drGrove / proof.txt
Created July 27, 2016 02:29
Keybase Proof
### Keybase proof
I hereby claim:
* I am drgrove on github.
* I am drgrove (https://keybase.io/drgrove) on keybase.
* I have a public key ASAk7BgE7SYRXohoK0nksEqIbpWbiXATP91-Pykr8VUQwgo
To claim this, I am signing this object:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFeW6o4BEACh2ea+4rZzP4C1ZJQ1CwL+UQxqKe1ulVMtzd4/MruGbI/vBkz3
a2kcPMHnOF0eBXuJ7Bvw0ZLsZ/jPwVxqM7bICNfA0jZ5brqRyzs2TMZ+PAqrf5Qf
NydoRoLZTXq6J8SlY8uwRBiqlzm1HGJHMAuOC5zYvz+piB1xOKmQauKd5Bp1cTk8
vCUlPoKA+vmLVrxlIj6T9l2cF4XdQrsovCmIQgt6zahFoknDIeZytmHrccmYzWmf
fBpsSXTG7aqF4NEL9IXtCFPO88E9tI0aQAOSggmzsZnNMAPu/6AGTEWAX39+thO1
3Ei39mkJEEhsKEdNyDkPZJZeVNAz+KnOk36sb9rcv1CPztvae42qhlOvLDu9twiL
MbZP7BKKryxBIiCNYAxNQJCCdxtN63n6mXm7FWg0L1Oq4F/vHIGtiaKs9fJHRxNZ
@drGrove
drGrove / webvr_vive.html
Created June 28, 2016 00:51
A fork of three.js examples for webvr and vive
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webvr - cubes</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<style>
body {
font-family: Monospace;
background-color: #101010;
@drGrove
drGrove / localstorage.factory.js
Created July 23, 2015 21:10
Angular-LocalStorage
/**
* # HTML5 localStorage management service
*
* Allows for storing and recalling data from localStorage prefixed with an
* application specific key. Also handles object stringification and
* de-stringification as needed
*
* Examples:
*
* storageService.set('somekey','somevalue')
{{#unless isThing}}
315 <div class="panel panel-default">
316 <div class="panel-heading" role="tab" id="propertiesHeading">
317 <h4 class="panel-title">
318 <a data-toggle="collapse" data-parent="#accordion"
319 href="#properties" aria-expanded="true" aria-controls="properties">
320 Props
321 </a>
322 </h4>
323 </div>
// 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 {