Sometimes I need to cross compile something on my PC to run on a Raspberry Pi. It's really handy that Go has cross compilation built in, it would be even better if I could remember the right environment variables to use whenever I needed to build stuff. It should be easy to remember them, they are....
I decided to play around with keycloak
and use OpenLDAP
as the backend to store the user details. That sounds like a pretty simple thing to set up, and actually it was - that is until I noticed that when I modify a password in keycloak then it gets stored in plain text in the ldap database. Goog...
You can use ulimit -c 0
to disable core dumps, but that obviously won't remove any core files that are already sitting on your filesystem - and sometimes you have no idea where they might be since different stuff can be running in the background from any directory. These files can be a few gigabyt...
I recently started getting the message commandline disabled
when pressing the ~C
escape key in ssh. I thought it must have been something to do with the server I was connected to but it turns out it was my openssh client.
After a recent update I have openssh 9.2 installed and that seems to...
It seem that Slackware and Steam don't always play well together at the moment.
The other day I had problems with CS:GO getting stuck, and now I have found EAC games don't work, and also don't give a helpful error message. This is what I get whenever trying to start an EAC game:
And lookin...
A recent update has broken csgo so it's not updating the screen. It seems that it is a change to X11 though and not a Steam or CS:GO update. The screen only refreshes as long as you are moving your mouse or pressing a key which makes it very hard to play. I have this problem on Slackware64-current b...
I have a USB Bluetooth adapter on my PC which works fine, apart from after my PC is woken up from sleep or suspend - and then my Bluetooth is turned off untill I manually turn it back on again. There are plenty of fixes on google which involve setting kernel command line parameters, or module parame...
It's one of those things I need to do fairly often when a user (or me) needs a new database for whatever they are playing with at the moment. That piece of software also needs its own username to access the database, just to make sure it doesn't have access to any of the other databases that it shou...
Sometimes I need to get a copy of a file from one of the machines in the office. I can use scp
to copy from a Linux machine, but for Windows PCs my remote access software doesn't allow me to do file transfers without first taking control of the users PC. I can however run commands on the Windows c...
One thing that has always annoyed me in Slackware is that /tmp never gets automatically cleared so I end up with with lots of space wasted in there. Especially after building lots of SlackBuilds and filling up /tmp/SBo :). I sometimes looked in there to clean it up manually and hope I don't delete s...
The Linux version of Spotify provides a way to control the music using the DBus org.mpris.MediaPlayer2.spotify service. This lets you skip tracks, play, and pause the music. It doesn't let you change the volume though.
If you are using PulseAudio or PipeWire then you can use the pactl
command to...
Piper is a Linux application that lets you change the settings of your gaming mouse. It can currently be used to set what the buttons to, change the DPI and reporting rate, and set the LED colors. Piper is actually just a GUI for the libratbag project which does all the actual work of changing th...