Skip to content

Instantly share code, notes, and snippets.

View sym3tri's full-sized avatar
🌴
On vacation

Ed Rooth sym3tri

🌴
On vacation
View GitHub Profile
@sym3tri
sym3tri / Japan.md
Last active October 1, 2018 11:51
So you're visiting Japan?
@sym3tri
sym3tri / README.md
Last active January 21, 2021 12:42
A simple script to convert a directory of audio files into MakeNoise Morphagene compatible format.

mg-convert

This simple script converts all audio files in a provided directory into MakeNoise Morphagene compatible files (48KHz, floating-point, 32-bit, stereo WAV). It auotmatically names the files in the proper format too.

Requirements

You must be comfortable with the comand-line, and have sox installed.

Copy this script to somewhere in your PATH, and make it executable (chmod +x mg-convert).

@sym3tri
sym3tri / spotify-missing-hiphop.md
Last active March 6, 2017 00:02
90s hip hop albums missing from Spotify

Keybase proof

I hereby claim:

  • I am sym3tri on github.
  • I am edrooth (https://keybase.io/edrooth) on keybase.
  • I have a public key whose fingerprint is A32D 1972 3F68 A490 7BFE 326F 4C46 F707 5A64 CE83

To claim this, I am signing this object:

@sym3tri
sym3tri / var-hoisting.js
Created February 26, 2015 22:54
example of how javascript hoisting works
function foo() {
var myvar = 'my value';
(function() {
alert(myvar); // undefined
var myvar = 'local value';
})();
}
data:text/html, <textarea style="font-size: 1.2em; width: 100%; height: 100%; border: none; outline: none" autofocus></textarea><script>window.onbeforeunload = function(e) { return 'really close?'; };</script>
@sym3tri
sym3tri / health-checker.go
Created January 22, 2015 02:35
simple go app to check the health of a url then do stuff if unhealthy
package main
import (
"flag"
"fmt"
"log"
"net/http"
"os"
"time"
)
@sym3tri
sym3tri / memory-attachment.go
Last active June 10, 2016 05:06
easily email an attachment without reading from disk
package main
import (
"fmt"
"bytes"
"io/ioutil"
"github.com/mailgun/mailgun-go"
)
func main() {
alert();
@sym3tri
sym3tri / _.md
Created March 14, 2014 05:58
arc percent (incomplete)