Monthly Archives: July 2017

Code Golfing a “Is Power of Two?” Function

Instead of looping around, there’s a simpler way. The code in question is found in the excellent hobby OS sortix.

Posted in Uncategorized | Leave a comment

macOS – Running Steam Games on a Case–Sensitive Machine

Unfortunately, when you try running certain games on a mac, on a case sensistive HFS+ filesystem, you might hit a roadblock. Steam itself will run fine. Fortunately there is a solution by using OpenZFS. I won’t go into the details … Continue reading

Posted in Uncategorized | Leave a comment

Adjusting Intel Graphics Brightness in FreeBSD

There are various ways of adjusting the brightness on laptop panels. If you are running the correct Intel driver, it should be a matter of poking around the sysctl’s. ~% sysctl -a | grep lcd hw.acpi.video.lcd0.levels: 100 100 0 1 … Continue reading

Posted in Uncategorized | Leave a comment

Add NetBSD Support for AboCom RTL8188EU

I’m running Linux. Follow the instructions from Cross building NetBSD on Linux: ===> Successful make release ===> build.sh ended: Fri Nov 4 12:38:00 EDT 2016 ===> Summary of results: build.sh command: ./build.sh -U -u -m amd64 release build.sh started: Fri … Continue reading

Posted in Uncategorized | Leave a comment

Flashing the Arduino Due (SAM3X) Under FreeBSD, TrueOS

This post is solely concerned with the task of flashing a binary on the Arduino Due. While the Arduino software is great, I like having more control over low-level details. The Arduino Due is a microcontroller board based on the … Continue reading

Posted in Uncategorized | 1 Comment