Diamondback Mission 1C / 2C tips / hacks

Recently I’ve rediscovered mountain-biking and bought a used Diamondback 2019 Mission 1C. I love the bike so far and will document some hacks / improvements I’ve done on that bike (and possibly others) here. Cable clips Derailleur hanger / dropout replacement Level Link bearing / frame protector Cable clips This is pretty general. I’ve designedContinue reading “Diamondback Mission 1C / 2C tips / hacks”

Building you own Kodi-flavored Ubuntu Desktop with Cubic

I was experimenting with my HTPC setup and was looking for a “one-click-install” Kodi distribution for x86 PCs. …But there was only one… WTF?! Though Libreelec is looking good, at this point it is just not “there” in terms of availability of packages etc. and it was in beta. I wanted a snapcast server forContinue reading “Building you own Kodi-flavored Ubuntu Desktop with Cubic”

Simple Game Boy Advance micro USB / USB-C Li-ion battery power supply aka the “CheapJuice”

Don’t be mistaken, the CleanJuice v1.1 or Retro Modding Rechargeable Battery Pack Game Boy Advance USB-C power supply are well-thought-out solutions. They’re almost “drop-in”, need minimal modifications to the GBA and keep the battery compartment intact so you can still use AAs. But they’re also relatively expensive, especially if you don’t live in the US.Continue reading “Simple Game Boy Advance micro USB / USB-C Li-ion battery power supply aka the “CheapJuice””

Installing the Linux Nvidia driver in secure boot mode / Manually enrolling a platform key in BIOS

My Asrock Fatal1ty X470 AC BIOS is broken or does not work correctly in conjunction with my Nvidia GTX 1660 Ti, as I can’t see the screen to enroll a platform key. This is necessary if you want to install e.g. the proprietary Nvidia driver with secure boot on. I read some threads here, hereContinue reading “Installing the Linux Nvidia driver in secure boot mode / Manually enrolling a platform key in BIOS”

Coreboot for the Lenovo T420 / T420i with Ivy Bridge support

Usually I tend to decline offers for old laptops, because I have too many projects anyway, but when a friend offered me a broken T420, I thought “Hmm, good opportunity to try out Coreboot…”. Because, why not?! The laptop The device arrived in a sad state: It was dirty, had old stickers on it, itsContinue reading “Coreboot for the Lenovo T420 / T420i with Ivy Bridge support”

Properly (passive) cooling the Toshiba Z20t-C / the Intel m7-6Y75

The Toshiba Z20t-C is a really nice, silent convertible with a long battery runtime. It’s CPU is held back though by cooling issues. The Intel m7-6Y75 performs especially bad, running even slower than its cheaper m5-6Y57 / m5-6Y54 counterparts due to cooling. Though the CPU could clock at 2.9 GHz for two loaded cores, itContinue reading “Properly (passive) cooling the Toshiba Z20t-C / the Intel m7-6Y75”

Using a 24C256 / 24LC256 EEPROM on Raspberry Pi with device overlays

For my HappyPlayer project I needed non-volatile storage for some settings, but I wanted to make the RPIs SD card read-only to prevent data-loss or file system corruption in case of power loss of the whole device. So I used an EEPROM (Atmel 24C256) to store the settings in regular intervals to be able toContinue reading “Using a 24C256 / 24LC256 EEPROM on Raspberry Pi with device overlays”

Compiling SDL2 / image / mixer / ttf for the Raspberry Pi without X11

If you want accelerated SDL2 graphics when on the console, e.g. on Raspbian Lite you don’t want to use X11. You could get away with just installing SDL2 from the repository, but my SDL2 version had problems regarding touch screens, so I needed to recompile. Also if you install any of the libsdl2* libraries aContinue reading “Compiling SDL2 / image / mixer / ttf for the Raspberry Pi without X11”

Use a rotary encoder and button on Raspberry Pi with device overlays

For my HappyPlayer project I needed to control the audio volume using a rotary encoder and GPIOs. I used device tree overlays for this. The encoder used is a standard type with an additional momentary switch when you press it. It needs 4 pins: Common GND -> Pi GND Momentary switch -> GPIO 6 RotaryContinue reading “Use a rotary encoder and button on Raspberry Pi with device overlays”

(My personal) git cheat sheet

Create a repository from existing code and push it to remote Change into your code sub-directory and do: git init git add . git commit -m “First commit” git remote add origin https://REMOTE_HOST/REPO_NAME.git git push -u origin master Change a repositories origin remote url This is useful if you have cloned a remote repository, changeContinue reading “(My personal) git cheat sheet”

Create your website with WordPress.com
Get started