Skip to content

Instantly share code, notes, and snippets.

View tomhiggins's full-sized avatar

Tom Higgins tomhiggins

View GitHub Profile
@tomhiggins
tomhiggins / RadioFreeInstaDJMCStreamalot.sh
Created July 20, 2017 03:23
Streaming Audio Station Fast and Easy
find /directory/where/your/music/is/ -name "*mp3">playlist.m3u | ip="$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')" | cvlc --no-auto-preparse -I http --http-password CHANGEME --http-host $ip --http-port 8088 --sout-keep --sout='#duplicate{dst=gather:std{access=http,mux=mpeg1,dst=:8085},dst=display,select="novideo"}' -LZ --no-auto-preparse --album-art=0 -q playlist.m3u
@tomhiggins
tomhiggins / soundcloudtoia.sh
Last active July 15, 2017 06:40
Move a Soundcloud Item, Playlist, User file to an existing Archive.org Item
#!/bin/bash
# Move a Soundcloud item/playlist to a Archive.org iten leaving a copy on the local drive
# (thanks to @kragen and kevin for impetus)
#
# Please read the Terms of Use on archive.org, tl;dr you can move files there if you are the creator or they are
# in the Public Domain. Please also go back and add any metadata to the things you move up to archive.org.
# https://archive.org/about/faqs.php#Uploading_Content
#
# Usage
# ./soundcloudtoia.sh URL_of_the_SoundCloud_item Archive.org_identifier_to_move_files_into

Keybase proof

I hereby claim:

  • I am tomhiggins on github.
  • I am tomhiggins (https://keybase.io/tomhiggins) on keybase.
  • I have a public key whose fingerprint is 4DBA 9C42 C0B2 9E51 0D23 B20D D5C5 75E5 6074 57B2

To claim this, I am signing this object: