Skip to content

Instantly share code, notes, and snippets.

View tub's full-sized avatar
🙀

Toby Cole tub

🙀
  • UK
  • 10:56 (UTC +01:00)
View GitHub Profile
@tub
tub / file2wav.py
Created February 23, 2019 21:47
Take a random file, add a wav header. Makes horrible noise.
#!/usr/bin/env python3
import wave
import sys
import os.path
import argparse
parser = argparse.ArgumentParser(description='Take a file, write it as a wav.')
parser.add_argument('-o', '--out', required=True, help='Output file')
parser.add_argument('-i', '--src', required=True, help='Input file')
parser.add_argument('-r', '--rate', default=11025, help='Sample rate')
@tub
tub / keybase.md
Created April 5, 2017 15:33
keybase.md

Keybase proof

I hereby claim:

  • I am tub on github.
  • I am tub (https://keybase.io/tub) on keybase.
  • I have a public key whose fingerprint is 2F31 8E5C BA27 38E2 F598 85ED 7AB6 48CB 2D2A 56AD

To claim this, I am signing this object:

Agenda

  • Lighting
    • Emergency & Main area
  • hack the space nights
  • what to throw out
  • tools and consumables, requests
  • AGM needed
  • Elections needed
  • What does the board do?