How to run selenium on a Raspberry Pi?
Run this code here: Inspired by: https://forums.raspberrypi.com/viewtopic.php?t=359017
Run this code here: Inspired by: https://forums.raspberrypi.com/viewtopic.php?t=359017
TL;DR; I plugged the fan hub into the CPU fan socket and plugged the CPU fan into the SYS_FAN1 socket. Then it worked. This is an old board so you’re gonna be wasting a lot of time. The SYS_FAN1 Th 970A-D3P has 4 pin on the CPU_Fan and Sys Fan 1 so it does support… Read More »
To remove the confirmation every time you shutdown or reboot, type this into the terminal. To remove the GRUB (the GRand Unified Bootloader) option during startup to boot faster, add to the file /etc/default/grub. (sudo is required to edit). eg: GRUB is basically a boot loader that helps uses to choose what OS they want… Read More »
https://www.lenovo.com/au/en/p/tablets/android-tablets/tab-series/lenovo-tb-x606/zzitztatbdx
If you want to have an accordion feature to show extra data where you are displaying data from a database on an existing row, you need create set some extra attributes on the first row. One important attribute is data-target which needs to contain a dynamic value such as This then points to the second… Read More »
Python simple gallery is pretty neat but there is an issue when generating thumbnails if your photos are named a certain way. The filename is split at the first dot and then .jpg is added to the file name. My photos are named: 2023-09-24 19.00.43.jpg which means everything after the hour is truncated. ie the… Read More »
If you see the error and you are trying to use Simple Photo Gallery, try running: This is because there is a library dependency. For more details: https://stackoverflow.com/questions/76616042/attributeerror-module-pil-image-has-no-attribute-antialias
A really neat extension to make your HTML tables dynamic and interactive. https://datatables.net/examples/index An example of how to use it can be found here:
Here is a neat article to follow if you are looking to use Django to respond to a GitHub webhook. https://simpleisbetterthancomplex.com/tutorial/2016/10/31/how-to-handle-github-webhooks-using-django.html
This is a neat site to learn how cronjobs work. The key is knowing that a forward slash applies to the * just before it and there is no space in between. https://cron.help/