Author Archives: Blender Fox

Unknown's avatar

About Blender Fox

Recreational road-runner, blender/CG rookie, linux user (LE-1, LPIC-1, SUSE CLA 11, SUSE 11 Tech Spec), programmer, avid tinkerer (I'm always breaking things), self-confessed anime & manga otaku & japanophile

UK government buys last-minute lifeline with £5.5m Windows XP support deal- The Inquirer

THE UK GOVERNMENT has bought a lifeline for Windows XP ahead of the software’s 8 April cut-off date, handing Microsoft £5.5m to continue supporting the operating system for an additional year.
The government’s £5.48m will ensure that Microsoft continues to provide critical and important security updates for Windows XP, Microsoft Office 2003 and Exchange 2003, and comes just five days ahead of the operating system’s End of Life.

UK government buys last-minute lifeline with £5.5m Windows XP support deal- The Inquirer.

Heartbleed and the after-effects

עברית: לוגו של התוסף HTTPS Everywhere לפיירפוקס

Heartbleed certainly shook up a lot of companies, and whilst a lot of companies did their best to get system updated, doing so has caused users side effects, including me.

I use an extension for Chrome/Chromium called HTTPS Everywhere and this forces HTTPS connections to the site you’re visiting. However, since the patching of Heartbleed, some sites have started misbehaving and only work “properly” if I use either the Incognito mode (which means no extensions), or if I deactivate HTTPS Everywhere for the site in question. The side effect of this, unfortunately, means my net traffic to the site in question is exposed via non-secure HTTP. Fortunately, I have encountered only two sites so far which have this problem, neither of them I am too concerned (at the moment) about:

If I encounter any more, I’ll post it here.

Android: Building Playlists

If you are like me and regularly copy music files to your device, you’ll know that some applications only work with playlists, especially fitness apps like Zombies, Run! and miCoach. But these apps use the media storage playlists, so you need to create the playlists in a certain way. I’ve generate a script below. It searches for any files ending in flac or mp3 (common audio formats), and then generates them into an m3u playlist. It prefixes the output with /sdcard/Music (which is commonly where music files go), but this can be changed.

Copy your music to /sdcard/Music/

Copy the script to the same folder.

Change directory into the folder.

Run this script using the line:

playlistmaker.sh .

And you will get a file ALL.m3u

if [ -f "$1.m3u" ]; then
echo Removing $1.m3u
rm "$1.m3u"
fi
OUTPLS="$1.m3u"
if [[ "$1" = "." ]]; then
OUTPLS=ALL.m3u
fi
echo Building "$OUTPLS"
find "$1" | grep -E ".flac$|.mp3$" | sort | sed -r "s/^(.\/)/\/sdcard\/Music\//" >"$OUTPLS"
SONGS=
wc -l "$OUTPLS" | awk '{print $1}'
if [[ $SONGS -eq 0 ]]; then
echo “$OUTPLS: ($SONGS songs), not keeping playlist”
rm “$OUTPLS”
else
echo “$OUTPLS: ($SONGS songs)”
fi

This script can also be tied together with a tree walker like so:

find -maxdepth 1 -type d -exec ./findMusicFiles.sh {} \;

The script at the start of this post will generate one playlist – ALL.m3u containing all the media in the current directory and below.

Using the second line of code will walk the directories in the current folder and generate one playlist per directory.

Weekday Run #9

As with run #8, no target. Just trying to recover. Felt better today. Faster, and lasted longer. Still nowhere near what I used to be able to do a few weeks ago. The pollution must had wreaked havoc on my lungs, and its taking time to repair.

Found my Fitbit – it was still clipped to my PJs.

Tracks: Endomondo, ZR, Nike+