Skip to content

Instantly share code, notes, and snippets.

View ScoreUnder's full-sized avatar

score ScoreUnder

View GitHub Profile
@ScoreUnder
ScoreUnder / skulldl
Last active August 29, 2015 14:27
skullmp3 downloader gui thing
#!/bin/sh
title="mp3skull downloader"
put() { eval 'printf %s\\n "$'"$1"'"'; }
music_dir=$(xdg-user-dir MUSIC || put HOME)
cleanup() {
ret=$?
rm -f -- "$cookie_jar"
@ScoreUnder
ScoreUnder / pomfload
Last active August 29, 2015 14:01 — forked from xy4n/pomfload
#!/bin/sh
# Requires node.js: sudo pacman -Sy nodejs
if [ $# -lt 1 ]; then
echo "Usage: $(basename "$0") FILE [FILE...]" >&2
exit 1
fi
for f in "$@"; do
d=$(node -pe "JSON.parse(process.argv[1]).files[0].url" "$(curl -sS --progress-bar -F "files[]=@$f" http://pomf.se/upload.php)")

Keybase proof

I hereby claim:

  • I am scoreunder on github.
  • I am score_under (https://keybase.io/score_under) on keybase.
  • I have a public key ASCi0wXu6-Pgv2r7_1nToPdKplVnkLTlR3Vm7SzVZ4BGUwo

To claim this, I am signing this object: