Skip to content

Instantly share code, notes, and snippets.

@johnkershaw
johnkershaw / top_movies.sql
Last active February 26, 2020 05:57 — forked from pamelafox/top_movies.sql
Top 100 Movies
/* Source: http://www.boxofficemojo.com/alltime/world/ */
CREATE TABLE top_movies(
rank INTEGER NOT NULL PRIMARY KEY,
title TEXT,
studio TEXT,
worldwide REAL,
domestic_money REAL,
domestic_percent REAL,
overseas_money REAL,
@johnkershaw
johnkershaw / vimanim.py
Created April 16, 2024 15:14 — forked from lynn/vimanim.py
make animated GIFs out of vim commands!
#!/usr/bin/env python3
r"""vimanim - make animated GIFs out of vim commands!
Usage:
vimanim <code> <output.gif> [<input>] [options]
<code> should contain the exact bytes to feed to vim.
This means: raw newlines for <Enter>, raw \x1b bytes for <Esc>, etc.
Some UTF-8 codepoints have special meaning, though:
aahed
aalii
aapas
aargh
aarti
abaca
abaci
aback
abacs
abaft