[lsxnr]# _

Wisdom from the command line.

Recent Posts

Urho3d Empty Project

published on

There are a few resources online for setting up an empty project in Urho3D - even a github repo by the same name Urho3D-Empty-Project, but after having tried myself to create a basic “hello world” from scratch, I found them to either be a misnomer (as in the case of the “empty project” repo) or incomplete. This assumes you are going to use the Urho3D CMake build system as much as possible.

Read More...

Change resolution and renderer in Homeworld under wine

published on
There are very few computer games that I think have really captured my imagination, Homeworld is one of them. I still have the original CD and box so I though it best to clone it for safekeeping. So after borrowing a USB CD drive and running dd I decided to launch it for some nostalgia. Turns out though you can’t change the resolution in-game due to a wine bug, two in fact: Read More...

Dell Chromebook fan control - Part I: The ec build system

published on
I have an old Dell Chromebook 11 that I rather like and use. It’s pretty good for what it is or at least it was at the time when it came out, I haven’t looked at the market to say whether or not that still hold true; it came with an IntelĀ® PentiumĀ® 3556U CPU and 4G of RAM. However it also came with one massive drawback: an over-zealous fan controller and a small high pitched fan. Read More...

Common commands for namespaced projects running in gcloud

published on
This is nothing new, special or otherwise more than what you can find by just looking over the Kubernetes Cheat Sheet. However I tend to use these all the time when working on projects using gcloud and kubernetes (both k8s pods and gcloud vm instances), that use namespaces to segraggate different lifecycle deployments. The most common stuff I can remember (like getting a list of pods :p), but getting kubectl credentials for another project I tend to forget unless I use often :) So I will put them here in order to not have to look through my shell history so often. Read More...

Brother HL-4570CDW printers on Linux

published on

For whatever reason, I always find that any printer at work will always be the one that doesn’t work with Linux. Maybe that’s just because all printers don’t work with Linux ;p But luckily to get the printer to work all it took was a ppd file.

Read More...

Monitoring Dockerised Cassandra with Prometheus

published on

As part of the move away from a proprietary in memory database madb, last.fm is moving to Apache Cassandra. Cassandra is far more easier to deploy to a public cloud (in our case GCE), scale up/down and query. madb, being completely in memory does have pretty good performance characteristics, but scaling requires machines with more ram, sharding by user and in has some weird and interesting bugs.

Read More...

Forcing systemd initramfs to boot into recovery shell

published on

I have been trying to debug an initramfs hook that I wrote, which wasnt doing what I wanted it to (namely it did literally nothing at all). Some debugging was in order. I wanted get into the initramfs image environment and see what was going on and what assumptions I have made that turned out to be incorrect.

Read More...

Tags

cassandra (1) chromebook (2) ctempd (2) cups (1) devops (2) docker (1) engineering-log (2) gaming (1) kubernetes (1) linux (3) prometheus (1) systemd (1) urho3d (1) wine (1)