Drag this link to your bookmarks bar: Bandcamp to Spotify Click the bookmark when you’re on a bandcamp album page and it will search for that album on Spotify

Background I run 3 radio stations—with no cap on listeners, bandwidth, or bitrate; with access over port 80 and SSL—for only €8 a month. You can too if the linux command line doesn’t completely scare you off.  Also, my stations only shuffle music, I don’t do live sets.  It is definitely possible, but I won’t […]

If you need to quickly create an admin account for a WordPress site, upload adminer.php to the root directory or log in to phpMyAdmin, and run this SQL command (SQL tab in phpMyAdmin): INSERT INTO `DATABASE_NAME`.`wp_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES (‘99999’, ‘username’, MD5(‘MakeABetterPassword’), ‘username’, ’email@gmail.com’, ”, NOW(), ”, […]

Just open the Terminal app and enter: defaults write com.apple.finder AppleShowAllFiles TRUE && killall Finder If you want to hide them again: defaults delete com.apple.finder AppleShowAllFiles && killall Finder

Paste this into your .htaccess file # BEGIN Force SSL <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} =off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] </IfModule> # END Force SSL I once had the needed to exclude a directory, so http:// versions would still be served. This was just one extra line: RewriteCond %{HTTPS} =off RewriteCond %{REQUEST_URI} !^/directory/ RewriteRule […]

I often listen to new music on Bandcamp, and it’s a bit tricky to remember which tracks I liked.  So, I made these simple bookmarklets which cross off or hide the current song. Hide Current Track Strike Current Track Just drag them to your bookmarks bar and they’re ready to go.

I’ve been running a rather old version of Adobe Creative Suite (CS3) successfully on Mavericks, Yosemite, El Capitan, and Sierra. With each upgrade, I need to run this odd procedure to trick the programs into thinking an old version of Java exists. Apparently they don’t really need it, but they just need to see the […]

// Shortcode for retrieving Session params if ( ! shortcode_exists(‘get_cookie’) ) { function readycat_get_cookie( $atts ) { // check for shortcode param if ( empty( $atts[‘key’] ) ) return ‘Please specify a key=whatever_value in the shortcode.’; $default = !empty( $atts[‘default’] ) ? $atts[‘default’] : ”; if ( ! empty( $_GET[ $atts[‘key’] ] ) ) { […]

Video backgrounds are pretty straightforward.  Add a <video> element somewhere near the beginning or end of the body element: <video id=”bgvid” poster=”bgvid.jpg” autoplay muted loop><source src=”bgvid.mp4″ type=”video/mp4″></video> The autoplay, muted, and loop attributes are appropriate for a background, and the poster attribute is a still from the first frame of the video, something to display […]

hostnamectl set-hostname radio nano /etc/hosts apt-get update && apt-get -y dist-upgrade && apt-get -y install gcc libcurl4-gnutls-dev libvorbis-dev libxslt1-dev pkg-config libtheora-dev libspeex-dev openssl last 3 are optional (libtheora-dev libspeex-dev openssl), not sure about pkg-config cd /usr/src/ wget http://downloads.xiph.org/releases/icecast/icecast-2.4.3.tar.gz tar -xzvf icecast-2.4.3.tar.gz cd icecast-2.4.3/ ./configure make make install # libshout cd /usr/src/ wget http://downloads.xiph.org/releases/libshout/libshout-2.4.1.tar.gz tar -xzvf […]