Example PowerShell code to generate paydays and holidays with or without full calendar. The Holiday function could be shorter and more elegant, but it works for my needs.
A very simple Gio iPhone connection monitor in Python 3. I wrote a crappier version of this awhile ago and revamped it. Hope it’s helpful to someone.
This script will show you how to build an Amazon affiliate link with image from the new API that generates HTML that can be inserted into a blog. I made this as an example for my wife. She ended up using a plugin in WordPress. It uses python-amazon-paapi to do all the heavy lifting. You […]
Capitalism sucks and it is very apparent when you buy Amazon e-books. Don’t think locking books you buy down to Amazon and their eBook readers is good for authors. It is for Amazon investors and Bezos, period. Notice how easy they made if for authors to publish on their platform and the lack of editor […]
This is all that is needed to get Apple HEIC image thumbnails in the Gnome file manager. I am currently running Ubuntu 23.04 but this should be similar in most distros using their package managers. It’s so easy a caveman could do it… sudo apt update sudo apt install libheif1 heif-thumbnailer heif-gdk-pixbuf That’s it. You […]
I got an update that hosed Dropbox today. I had installed the client directly from the Dropbox site. I tried their headless install for the hell of it and that did not work either. I did not try the AUR version as I assume I would get the same result. After a little poking around […]
A simple Calendar class for flet. I needed a calendar so I made one. I hope someone finds it useful.
Just a quick example of how to create, add and remove hashtags in a Flet app. I needed to create this for an app I am working on and thought I’d share.
I am working on a project and decided on Flet for the interface. Flet does not include a color picker dialog. Here is what I came up with, a simple Python class. I hope it’s can be useful for others. What the hell is Flet? “Flet enables developers to easily build realtime web, mobile and […]