Skip to content

Instantly share code, notes, and snippets.

View jb3's full-sized avatar
๐Ÿ˜
#OpenErlang

Joe Banks jb3

๐Ÿ˜
#OpenErlang
View GitHub Profile
@jb3
jb3 / distort.py
Created January 28, 2019 20:07
Apply a liquid rescale to a set of images to construct a gif of distortion.
#!/usr/bin/env python3
# USAGE NOTES
#
# - You must create a directory called pngs
# - Once you have created your images you must run the following command to create a gif:
# convert -delay 1x8 `seq -f pngs/out-%03g.png 0 1 40` -coalesce out.gif
#
# This script depends on imagemagick, liblqr (liquid rescale) and wand for python (pip install Wand)
#include <array>
#include <cstdio>
#include <cstring>
#include <discord_rpc.h>
#include <iostream>
#include <memory>
#include <stdexcept>
#include <string>
#include <thread>
@jb3
jb3 / keybase.md
Created September 10, 2018 15:23
keybase.md

Keybase proof

I hereby claim:

  • I am jos-b on github.
  • I am josephbanks (https://keybase.io/josephbanks) on keybase.
  • I have a public key ASAn-gKMjV9hnH6LufuWRnRcab3R7KcZCSDryMTuvX01_Ao

To claim this, I am signing this object:

@jb3
jb3 / config
Created February 25, 2018 12:55
Polybar configuration
[colors]
accent = #fba922
[bar/top]
enable-ipc = true
monitor = eDP-1
width = 100%
height = 33
;background = #222