Lenovo Tab M10 FHD Plus (2nd Gen)
https://www.lenovo.com/au/en/p/tablets/android-tablets/tab-series/lenovo-tb-x606/zzitztatbdx
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/
This video series is by far the best on how to learn to set up authentication on your Django website.
This error was driving me crazy. There were no logs that I could find and the html was just <h1>Incomplete Response Received from Application</h1> My localhost was working fine though. The reason was that I was using a library that I had not yet installed! I was using “import requests” but this was not on… Read More »
The uname command stands for “UNIX Name.” It is a standard command found in Unix-like operating systems, including Linux and macOS. The uname command is used to retrieve system information about the underlying operating system and machine. The uname command can be used with different options to display specific information. Some commonly used options include: