FreeBSD on Raspberry Pi 2

I was trying out different images to use as base for a project of mine and thought I'd try to get the FreeBSD image for Raspberry Pi to run since it's been supported for a while now.

TL;DR I got 10.2-STABLE to boot on Model B+ and 11-CURRENT to boot on Raspberry Pi 2 Model B.

More →

Create GIF from movie sequence

You know all those funny GIFs with sequences from movies? I got curious and wanted to see how I could create one of my own.

This is a simple way to do it utilizing ffmpeg in conjunction with gimp or imagemagick.

More →

Redirection in Bash

A short note to self about redirection of stderr to stdout in bash since I keep forgetting about the &> shorthand and sometimes mix up the order when redirecting to file.

More →

Test read write performance

A quick way to get a sense for read/write performance is to utilize the hdparm and dd tools.

More →

Screencapture in Linux

A quick note about two tools that comes in handy if you need to quickly and easily create a screencast. Either a full on video with audio using recordscreen.py or as a simplistic gif animation using byzanz.

A very nice way of explaing something is to record the activity from a terminal window and turn it into a gif. To do this easily you could download and use the byzanz-record-window script from this forum thread comment.

More →

A quick test of Discord

Need a quick and easy platform for team communication? Using Slack but missing voice? Well, then try Discord.

It's very easy to get started, you can even join a public chat channel without registering. Javascript is served from same domain so you don't have to allow a lot of 3rd party javascript. The privacy policy is pretty easy to understand and seems sane (IANAL though!).

It's quick to setup a new server and invite people. The server settings are easy to figure out and administer.

I did not have the opportunity to try out the API.

More →

Lenovo Scores Another Entry on the Shitlist

August 2015 (crapware/malware)

The craptastic Lenovo does it again by abusing a badly thought out feature of windows (the WPBT).

More →

Python Toolbox

Created a Python Toolbox page for all the different Python tools and libraries I find useful. Maybe it will be helpful for others too.

More →

Linux Mint Issues With Resume From Suspend

Having trouble with black screen after resuming from suspend in Linux Mint 17.1? Linux Mint 17.1 is built on Ubuntu 14.04 (Trusty) so this might be applicable for that also.

Anyways, the problem seems to be resolved by creating a pm-action hook (see man pm-suspend for details).

More →

Gentoo Linux on BananaPi

Just some notes.

Got my hands on a BananaPi Model A and started to try out some images. First I got the Gentoo image, wrote it to SD card with dd and resized the partition to use the entire SD card using gparted.

More →

Python Toolbox

A list of tools and libraries for development with Python.

HW Shitlist

A list of hardware manufacturers that I personally wish to avoid purchasing equipment from and why.