Skip to content

Instantly share code, notes, and snippets.

@LukeL99
LukeL99 / daedalus-cointracking.ipynb
Last active February 21, 2022 21:07
daedalus-cointracking.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LukeL99
LukeL99 / compress-web-video.sh
Created December 29, 2015 21:22
Compress video output for HTML5 background video
#!/bin/bash
# Make sure ffmpeg is installed with the following flags
# brew install ffmpeg --with-libvpx
#
# Take source video, convert to raw grayscale (-pix_fmt gray),
# remove audio track (-an), darken it by 50% (-vf "lutyuv=y=val*.5"),
# and output to an avi container for maximum compatibility.
# Pipe all that to stdout
# (ffmpeg -i - \) take input rawvideo track, and...

Keybase proof

I hereby claim:

  • I am lukel99 on github.
  • I am lukel99 (https://keybase.io/lukel99) on keybase.
  • I have a public key whose fingerprint is 7E84 7B33 1C55 20E0 0768 BAA9 5DF4 72F9 FC9A CCCC

To claim this, I am signing this object:

@LukeL99
LukeL99 / exportjson.js
Last active December 20, 2015 11:48 — forked from pamelafox/exportjson.js
Outputs JSON objects for the manly man password generator and the idea generator.
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';