Skip to content

Instantly share code, notes, and snippets.

@jesseditson
jesseditson / gif-from-dropbox-capture
Created October 6, 2021 18:12
Create an animated gif from a Dropbox Capture link
#!/bin/bash
# Usage:
# 1. take a video with dropbox capture.
# 2. run this file. It will convert the video link from your pasteboard into a gif and replace it.
function chrome {
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome $@
}
@jesseditson
jesseditson / .prettierrc.js
Last active March 27, 2021 01:34
Live Apps Workshop 03/29 code samples
module.exports = {
tabWidth: 4,
jsxBracketSameLine: true,
trailingComma: "es5",
bracketSpacing: false,
quoteProps: "preserve",
parensSameLine: true,
arrowParens: "avoid",
};
This file has been truncated, but you can view the full file.
{
"log": {
"version": "1.2",
"creator": {
"name": "WebInspector",
"version": "537.36"
},
"pages": [
{
"startedDateTime": "2020-07-11T17:41:15.374Z",
@jesseditson
jesseditson / bookmarklet.js
Created February 22, 2019 00:42
Noise Pop event to calendar invite
// https://mrcoles.com/bookmarklet/
var MS_IN_MINUTES = 60 * 1000;
var formatTime = function(date) {
return date.toISOString().replace(/-|:|\.\d+/g, "");
};
var calculateEndTime = function(event) {
return event.end
@jesseditson
jesseditson / remove-dupes.sh
Created January 19, 2019 03:15
Remove all files ending in (1).jpg, e.g. dropbox duplicates on darwin zsh
#! /bin/bash
ls -l | grep "(1).jpg" | awk -v q="'" '{printf "%s%s %s %s%s\n",q,$9,$10,$11,q}' | xargs rm
@jesseditson
jesseditson / names.json
Created May 7, 2018 19:36
1000 random unique names from the census
{
"names": [
"Kimberly Evans",
"Elizabeth Harris",
"Ruth Sullivan",
"Michael Robinson",
"James Gonzales",
"Robert Ford",
"John Bennett",
"Karen Anderson",
@jesseditson
jesseditson / words.json
Created May 7, 2018 18:49
English words in json format
This file has been truncated, but you can view the full file.
{
"words": [
"aa",
"aah",
"aahed",
"aahing",
"aahs",
"aal",
"aalii",
"aaliis",
@jesseditson
jesseditson / big.json
Last active May 4, 2018 23:12
Folder viz example data
This file has been truncated, but you can view the full file.
{
"folders": {
"1e4dbef3-0d5d-4048-86b5-7b130b1956c2": {
"id": "1e4dbef3-0d5d-4048-86b5-7b130b1956c2",
"name": "macroclimatic",
"threads": [
"f9a03fa9-d21c-4724-b8c0-af4991e3b512",
"94a47ad4-5e2a-46f4-bb37-1acc5efc8500",
"061394a6-27c3-4268-ae42-07e534ee6db4",
"468eabf4-e878-4d87-9107-367ed5462d63",
@jesseditson
jesseditson / keybase.md
Created October 7, 2017 23:13
keybase.md

Keybase proof

I hereby claim:

  • I am jesseditson on github.
  • I am jesseditson (https://keybase.io/jesseditson) on keybase.
  • I have a public key ASDV9q_jWwRDGN0yDJ75lzR3o_h0TDY4KnAPnZbz5TOsRwo

To claim this, I am signing this object: