Skip to content

Instantly share code, notes, and snippets.

View aaronkyle's full-sized avatar

Aaron Kyle Dennis aaronkyle

View GitHub Profile

Last updated: 2017-03-18

Searching for Files

Find images in a directory that don't have a DateTimeOriginal

exiftool -filename -filemodifydate -createdate -r -if '(not $datetimeoriginal) and $filetype eq "JPEG"' .

###Output photos that don't have datetimeoriginal to a CSV### Note this can take a long time if you have a lot of jpgs

@aaronkyle
aaronkyle / IndexedDB101.js
Created May 16, 2018 10:43 — forked from JamesMessinger/IndexedDB101.js
Very Simple IndexedDB Example
// This works on all devices/browsers, and uses IndexedDBShim as a final fallback
var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB || window.shimIndexedDB;
// Open (or create) the database
var open = indexedDB.open("MyDatabase", 1);
// Create the schema
open.onupgradeneeded = function() {
var db = open.result;
var store = db.createObjectStore("MyObjectStore", {keyPath: "id"});
@aaronkyle
aaronkyle / data.json
Created May 13, 2018 18:31 — forked from jdarling/data.json
D3 MindMap
{
"name": "Root",
"children": [
{
"name": "Branch 1",
"children": [
{"name": "Leaf 3"},
{"name": "Leaf 4"}
]
},
@aaronkyle
aaronkyle / .block
Created May 13, 2018 13:05 — forked from mbostock/.block
Collapsible Tree
license: gpl-3.0
{
"name": "\u3010\u7405\u90aa\u768b\u865e\u3011\u738b\u5409 (\u5b50\u967d)",
"id": "6000000023701675936",
"gender": "male",
"children": [
{
"name": "\u3010\u7405\u90aa\u768b\u865e\u3011\u738b\u99ff",
"id": "6000000054108868046",
"gender": "male",
"children": [
@aaronkyle
aaronkyle / index.html
Created May 7, 2018 19:45 — forked from d3noob/.block
Interactive Linux process tree using d3.js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Linux Process Tree</title>
<style>
div.tooltip {
@aaronkyle
aaronkyle / index.html
Created May 7, 2018 19:45 — forked from d3noob/.block
Interactive Linux process tree using d3.js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Linux Process Tree</title>
<style>
div.tooltip {
@aaronkyle
aaronkyle / .block
Created May 7, 2018 19:45 — forked from epmoyer/.block
Arc Diagram
license: gpl-3.0
@aaronkyle
aaronkyle / tweet_dumper.py
Created April 28, 2018 11:37 — forked from yanofsky/LICENSE
A script to download all of a user's tweets into a csv
#!/usr/bin/env python
# encoding: utf-8
import tweepy #https://github.com/tweepy/tweepy
import csv
#Twitter API credentials
consumer_key = ""
consumer_secret = ""
access_key = ""
@aaronkyle
aaronkyle / README.md
Created April 15, 2018 14:54 — forked from jeinarsson/LICENSE
pathSankey - Random data

pathSankey example - Random data

Example of visualizing paths as flows through layers of nodes. The figure is discussed in detail in a blog post.

A smaller and simpler example of the re-usable chart is a neighbouring gist.