Lite XL text editor on MacOS

I recently tried Lite XL v2.1.0, a forked and updated version of the original rxi/lite, “A lightweight text editor written in Lua”, on MacOS ARM. Here are some findings. ...

31 Dec 2022

Lock Screen "Launcher" Widget with Scriptable

iOS 16 introduced new lock screen widgets! Rather that installing various third party widdgets, I want to create my own using Scriptable. Here is a simple “universal” widget to launch an application or a Shortcut (bonus: or even the home screen too!) ...

2 Dec 2022

myByways Simple-SD v1.0 Python script

I refactored my previous Stable Diffusion code, to clean up, OO it a little, and add new features like tiling, upscaling, PNG metadata. As I mentioned before, I don’t understand AI/ML… but I do understand programming! So here is my new, more elegant Simple-SD v1.0 Python script. ...

9 Oct 2022

Adding CLIPSeg automatic masking to Stable Diffusion

I have more ideas for Stable Diffusion. My nights and weekends are consumed! This time: For inpainting, why create a mask image manually, when A.I. can automatically build a mask from a text prompt? Someone much smarter has already published a paper (arXiv:2112.10003 [cs.CV]), with source code, to do just this! ...

28 Sep 2022

Stable Diffusion script with inpainting mask

More Stable Diffusion! This time attempting to add inpainting / masking based on my previous code, to merge both txt2img.py and img2img.py capabilities, disregarding the out-of-box inpainting.py code, which does not have parameters for positive or negative prompts. Keyword being attempting… ...

26 Sep 2022

My simplified Stable Diffusion Python script

I’ve been playing around with the Stable Diffusion scripts a little (to be exact, Ben Firshman’s version). To help me understand the script, I decided to re-write it the way I prefer to use it… either breaking or optimizing it in the process :P ...

21 Sep 2022

macOS Automator PDF Actions

Here is a macOS Automator script to watermark a PDF, and also set metadata like author and title. Followed by a more advanced script to do all that an also set an owner password and access permissions… auto-magically. ...

31 Aug 2022

Script to re-map MacBook Pro function keys

In my last post, “Re-mapping physical function keys on MacBook Pros” I used the hidutil tool to re-map the function keys on a Mac without a touchbar. I’ve since created a script to more easily apply changes. ...

19 Jun 2022

Simple fun: tty-solitaire

I’ve not posted anything in a long time, so I thought I’d dig up something from a long time ago. Once boring day, many moons ago, I stumbled upon a simple console-based Solitaire game, tty-solitaire by Murilo Pereira. ...

12 Jun 2022

Shortcut to convert image format and paste - redux

I was not satisfied with my last macOS Shortcut to convert image format and paste. The simple version forced me to choose between PNG and JPEG, and the complex version was too slow - specifically, the Find All Windows action. So here we go again… ...

11 Feb 2022