Django and Docker w Psql

This happens because your pgsql db was launched without any envs. The pgsql docker image only uses the envs the first time you created the container, after that it won’t recreate DB and users. The solution is to remove the pgsql volume so next time you docker-compose up you will have a fresh db with envs read. … Continued

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