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 Continue reading

Add a button to your browser that will complete clean up any article you’re reading, in the blink of an eye. Just drag this to your bookmarks bar: Reader Mode Continue reading

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… Continue reading

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. Continue reading

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… Continue reading

// 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’] ] ) ) {… Continue reading

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… Continue reading

This is a pretty goofy function, but a client once deleted the default user roles using some plugin, and I just threw this into functions.php to re-create them. It’s hooked onto admin_init, so it runs when you load any back-end page.  I set a transient that keeps the function from running more than once (and… Continue reading