Skip to content

Instantly share code, notes, and snippets.

Avatar
🐢

Ed Rooth sym3tri

🐢
View GitHub Profile
@sym3tri
sym3tri / Japan.md
Last active Oct 1, 2018
So you're visiting Japan?
View Japan.md
@sym3tri
sym3tri / README.md
Last active Jan 21, 2021
A simple script to convert a directory of audio files into MakeNoise Morphagene compatible format.
View README.md

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 Mar 6, 2017
90s hip hop albums missing from Spotify
View spotify-missing-hiphop.md
View keybase.md

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 Feb 26, 2015
example of how javascript hoisting works
View var-hoisting.js
function foo() {
var myvar = 'my value';
(function() {
alert(myvar); // undefined
var myvar = 'local value';
})();
}
View simple-editor-bookmarklet
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 Jan 22, 2015
simple go app to check the health of a url then do stuff if unhealthy
View health-checker.go
package main
import (
"flag"
"fmt"
"log"
"net/http"
"os"
"time"
)
@sym3tri
sym3tri / memory-attachment.go
Last active Jun 10, 2016
easily email an attachment without reading from disk
View memory-attachment.go
package main
import (
"fmt"
"bytes"
"io/ioutil"
"github.com/mailgun/mailgun-go"
)
func main() {
@sym3tri
sym3tri / _.md
Created Mar 14, 2014
arc percent (incomplete)
View _.md