…or how not to set up your tiny server In a surprise to absolutely noone, you need to adapt your Apache configs to your server setup – who knew!? ;] In my case, I’m running this on a small Linode Nanode VPS with all of 1GB of RAM. In that 1GB I managed to fit:…
Category: Uncategorized
Quick screenshots in Python
This will be very anecdotal and specific to my setup, but here are some recent findings I had on my M2 Pro Mac Mini running MacOS Sonoma 14.1.2 and how long it takes to grab a screenshot with Python via various methods. Screenshot method Library Time taken in ms pyautogui.screenshot() pyautogui ~1300-1500 ImageGrab.grab() pillow ~1300-1500…
Getting IP address on very limited Docker containers
Often Docker containers will have an extremely bare-bones Linux environment. In these scenarios, the ip and ifconfig commands are often not available. However I’d still like to be able to check what the Docker container’s IP address got assigned as. What do? Well, one thing you can try is running hostname which should still be…
