Batch Rename with ZMV

Need to rename a bunch of files to update to Composer autoloading. Migrating from underscored Namespace and Class names to PSR12 compliant Pascal Case. Found this: Found this for zsh: In case of zsh: command not found: zmv load it with autoload -U zmv. The -n is to test out. This is what I came up with: And

Some Postgres References

OSX Log file /usr/local/var/postgres/server.log An Error: A solution on SO. An error: A solution on SO: brew postgresql-upgrade-database

OSX Data Recovery

After some research, liking and Both open source. Also DMDE (Disk Editor and Data Recovery Software)The software is to search, edit, and recover data on disks Copyright (c) 2005-2020 Dmitry Sidorov http://dmde.com

Swapon, fstab and swapfile on Linux

Resuorces:,, First thing is see how much memory we have to play with: How big is the current swapfile? To double that, to around a gig: Permissions: Setup Swap area: Now enable it: Now update the fstab file so it loads on restart: Check it: You can also turn one off: Update … Continued

Windows Base Box for Elliptical Machine Interface

Client has a Windows 10 computer which we are already running a Python script on, which writes out a file containing Spotify playlists for Elliptical machine sessions. Now we want to also display the data from the Keiser Elliptical machines: one machine initially, ultimately more than one. First step, create a Windows Guest box on … Continued

Spotify vMix Integration

The quickstart: Create the App: Our apps: Well that codebase is outdated, but it was a good intro. Also tested some Curl requests, which you can generate via their console. I think that this Python library, Spotipy will be our tool of choice. It’s open source on GitHub. Here’s our endpoint reference: … Continued

Git Mergetool

Spent a while the other day trying to figure out what to use for a Git Diff and Git Merge tool. Settled on Kdiff3. With this install approach: From Stack Overflow. And also from SO, the config: To ~/.git/config add: Now $ git mergetool brings up a useful dialogue. I had tried Beyond Compare as … Continued

Installing SOAP in Docker Container

This WP plugin interfaces with an old SOAP-based API. Developing with a Docker Compose WordPress library by Chris Zarate. Steps to install SOAP extension: docker-compose exec wordpress bash (get in the guest server) php –ini (find php.ini files) cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini (in this case there wasn’t one) apt-get update && apt-get install vim (to edit) … Continued