A Fresh OSX

https://stackoverflow.com/a/22753363 Lilypond https://lilypond.org/macos-x.html Native Instruments ~/Library ~/Library/Application Support ~/.ssh GPG Don’t remember exactly how I solved this one. https://stackoverflow.com/questions/36941533/git-hub-desktop-on-mac-error-cannot-run-gpg-no-such-file-or-directory LastPass password manager Postgres https://stackoverflow.com/a/7975502/2223106 For me looks like /usr/local/opt/postgresql/bin/postgres Perhaps from https://stackoverflow.com/a/18581276/2223106 In my .dotfiles I have: These commands: The last one tells me it’s not running, so I start it: brew services start postgresql, … Continued

iOS Certificate Signing

A few resources, to start: Hello Mike, My name is Hammy and I am a senior Advisor with Apple Developer Program Support. I am following up with you regarding your inquiry. Please keep in mind that Apple Developer Program support team provides administrative support for developers. That said, I have found the following resources on code signing … Continued

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 https://www.cgsecurity.org/wiki/PhotoRec and https://www.cgsecurity.org/wiki/TestDisk. 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.comhttp://softdm.com

Swapon, fstab and swapfile on Linux

Resuorces: https://linuxhandbook.com/increase-swap-ubuntu, https://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/, https://www.techwalla.com/articles/how-to-increase-virtual-memory-in-linux 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