Skip to content

Instantly share code, notes, and snippets.

View heavyimage's full-sized avatar
💭
Hacking the Gibson

Jesse Spielman heavyimage

💭
Hacking the Gibson
View GitHub Profile
# bpm is from debian's bpm-tools package
# ffmpeg is from the usual places
# > bpmff "Rundfunk-Tanzorchester Ehrenfeld - Daft Punk - 'Harder, Better, Faster, Stronger'-B3gG03bh7WA.mp4"
# 123.181
bpmff() {
if [ ! -f "$1" ]; then
echo "File not found"
else
@heavyimage
heavyimage / nuclearPong.py
Created June 28, 2016 14:07 — forked from dbr/nuclearPong.py
Pong. In Nuke.
"""Pong.
In Nuke.
"""
import nuke
import time
from random import random
import threading
@longhotsummer
longhotsummer / leaflet-big-image-full.html
Created April 5, 2016 06:47
Full example of using leaflet to pan and zoom a big image, as described at http://kempe.net/blog/2014/06/14/leaflet-pan-zoom-image.html
<html>
<!-- See also: http://kempe.net/blog/2014/06/14/leaflet-pan-zoom-image.html -->
<head>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css"></script>
<style>
#image-map {
width: 100%;
height: 300px;
border: 1px solid #ccc;
margin-bottom: 10px;
/* VT100 terminal reset (<ESC>c) */
console.log('\033c');
/* numbers comparations */
> '2' == 2
true
> '2' === 2
@yanofsky
yanofsky / LICENSE
Last active August 30, 2025 02:53
A script to download all of a user's tweets into a csv
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit