I know I will need this next time I do an install: python -m pip install -U matplotlib sudo apt install python-tk then can run a test with this code: import matplotlib.pyplot as plt plt.plot([1,2,3],[2,4,5]) plt.show()
This song just came into my headphones, who else has this scene come into their head everytime they hear it?
Today I am working on an old raspberry pi (model B, original version) and need to get this project up and running, but I have forgotten the password. No problem. Let’s take the SD card and edit the `cmdline.txt` file in the root directory and add `init=/bin/sh` to the end of it (make sure there […]
In some of my songs, I have casually mentionedThe fact that I like to drink beer. This little song, is more to the point,Roll out the barrels and lend me your ears, I like beerIt makes me a jolly good fellow,I like beerit helps me unwind and sometimes it makes me feel mellow (makes him […]
systemctl status … will display an excerpt. If the error is displayed when starting Caddyserver from a console, but is not shown in the logs if an initdaemon such as systemd is used (which logs stdout and stderr), then Caddyserver’s authors have forgotten to Flush stdout and/or stderr before exiting. found: https://caddy.community/t/cant-start-caddy-with-systemd-service-file/3447 I wish I’d found this little gem a long time ago!
When you see $9.95, do you think: WOW, $9 That’s almost $10 That’s $10 When I see fuel is 174.9c although I may say one seventy four in my head (simply because that’s what I’m reading), I recognise the .9 to mean “close enough to one”, and so I think in my head $1.75. Maybe […]
Ive had to do this more than I care to mention. I should really know it by heart now, but the short version is: boot into the grub menu and select advanced options head into recover mode drop to root shell prompt you’ll need to remount the filesystem that is currently read only:mount -o rw,remount \ change […]
According to quite a few users on Stack Exchange, Ubuntu doesn’t cache DNS queries, but I got into an awkward situation where I couldn’t hit an internal server because my installation was convinced my internal server was being hosted on an external IP. It wasn’t entirely incorrect, because the server is (sometimes) available externally, but it’s only […]
Jason really likes his haircut. I think he’s afraid it’ll grow out before he gets to school. I convince him that it’ll still be there on Monday. Then Harry asks, “what about Tuesday?” Yes, it’ll be there Tuesday buddy. We then went through the rest of the week. It might be a bit short for […]