Whoopteedoo! One more bug to slay though.
![]()
Failed and working projects, notes etc.
Whoopteedoo! One more bug to slay though.
![]()
Had to do this, so I make a note of it.
setx /m PATH "C:\ffmpeg\bin;%PATH%"
![]()
![]()
And by Local Network, I mean here on my workstation, not at the peer or VPN docker/server/provider.
I am not very knowledgeable with VPNs but I got to learn something new and when I do, I make a note of it. The problem was that when I have my VPN active to poke things at home, I could not print documents at my workstation at work.
Googled a lot, trid a few things and then realised that adding IP addresses to AllowedIPs in the PEER section, adds an exception for an IP address on the server’s side, NOT my workstation.
Confusingly enough, WireGuard names things differently between the Windows and the iOS app. So here’s what you need to check to gain access to your workstation’s local network:
Yes ,this poses a security risc, so I made two VPN profiles. One with and one without so I can easily switch from one to the other.
![]()
myusername = the username you want to give access to the database
mypassword = the password you want to assign to the user
sudo -u postgres psql create database mydb; create user myusername with encrypted password 'mypassword'; grant all privileges on database mydb to myusername;
Done.
![]()

I usually do not fear updates, but when it comes to databases, I am getting really careful with updating them. It wouldn’t be the first time when a database goes plonk after this.
So what happened? My MySQL docker got updated becuase I simply misclicked and of course, the thing broke. The update script, which was set to “latest”, performed an upgrade to 9.x instead of sticking to the latest 8.x version.
After some research, I read that one can enter “mysql:8.2.0” in the repository field. After entering this and starting the docker, the software got reinstalled with the proper version and everything worked again. I must’ve been lucky that the database itself was not migrated to v9 already, I guess.
![]()
Found a message in the error.log that there was an insufficient amount of MaxRequestWorkers, so let’s crank that stuff up:
sudo nano /etc/apache2/mods-available/mpm_prefork.conf
change
MaxRequestWorkers 150
to
MaxRequestWorkers 256
This small change worked well, error has not returned.
![]()
In order to get a clear image, rotate the lens 0.625 turns left, presuming that the white line that has been drawn on the lens case starts at the bottom.


![]()
And rock and rooooollllll~!
Anyway, two useful links to ban bots via robots.txt. I am sure that bots will fully ignore these instructions, but better save than sorry.
Link 1: https://github.com/ai-robots-txt/ai.robots.txt/tree/main
Link 2: https://darkvisitors.com/agents
![]()
While I am trying to repair the Koonlung K1S Dashcam, I am going to build my own dashcam. Sure, I can buy one and pay a ridiculous amount of money for a half-way decent one, but I paid € 230 for the K1S which I assumed did not turn out to be trash.
And so, I am going to build one myself and learn from it in the process. The project was first going to be a pwnagotchi, but I think building a dashcam is more useful. For now @_@
While I am waiting for the auxiliary battery, I will have to start with soldering the 40-pin header onto the board. And if you wonder why I didn;t buy one with a header soldered on it already, my answer is: “I had no idea that this was an option!!1 D: ”

![]()
Just another snippet of code that can be implemented somewhere:
set-perms.sh
#!/bin/bash
# Function to change ownership of the www folder
change_ownership() {
sudo chown -R "$1":www-data /var/www
echo "Ownership of the www folder has been set to $1:www-data."
}
# Loop until a valid username is provided
while true; do
# Prompt the user to enter the desired username
read -p "Enter the username for permissions: " username
# Check if the username provided exists
if id "$username" &>/dev/null; then
change_ownership "$username"
break # Exit the loop if a valid username is provided
else
echo "Error: User $username does not exist."
fi
done
echo "done!"
To make the script executable:
sudo chmod +x set-perms.sh
and run it with
sudo ./set-perms.sh
![]()