Categories
guides

Count Files in Folder (including Subfolders)

To count the number of files in a folder (including its subfolders, pipe the output of a find command to the wc (word count) command. The -type f switch on find tells it to only find files. The output of this is one file per line. The -l switch on wc tells it to count […]

Categories
guides

Turn on SSH for GoDaddy Hosting

I had already gone in to cPanel, added my SSH key, and authorized it, but when attempting to use it, I got the error: Turns out there is a site wide switch to enable shell access as well as authorizing keys inside cPanel. This toggle (shown above) can be found by: Click your username in […]

Categories
travel

Multi-Currency MasterCard

The Short Version I use a card from a company called TransferWise (now just called “Wise”), I’m very happy with it. I use its app to load USD on to it from my bank account, and then in the same app I can convert between currencies at the best overall rate I’ve been able to […]

Categories
guides

Sync Files to Backblaze B2

To sync a local folder to a B2 bucket using filesize as the comparison to more accurately ensure sync (until hash is supported) (source)

Categories
learning

Git Merge vs Rebase

I wanted to better understand these git procedures, so this project’s aim was to help me understand the differences and advantages of using git rebase or git merge. I invented a fake project, and made commits, merges, and rebases as a simple mock of a potential portion of an actual project’s git repo. The end result repos and […]

Categories
guides

TAR Guide

To Compress: note: tar stores path relative to foldername above, best to run command from parent folder. Consider sudo to ensure permissions to all files intended for compression. To Compress Excluding Folder: –exclude=’path/to/folder’ excludes folder, must follow tar command before source/dest or other options, exclude multiple folders by repeating –exclude option with new folder value […]

Categories
guides

WordPress Prompting for FTP Credentials

If you just want to see my recommended permissions for a DocRoot, that is here. When updating plugins, themes, or the WordPress core – or when activating WordFence (and possibly in other situations), you may be prompted for FTP credentials for the webserver. If so, this indicates that WordPress was not able to write to […]

Categories
guides

Payments Not Processing in WooCommerce

Customer receives error at shopping cart when trying to complete (charge) order – error was something like “Error processing payment, please try again later”. WooCommerce > Status > Logs > woocommerce-square-sync-XXX log shows repeated: Solution: Disconnect Square from WooCommerce in Dashboard > WooCommerce > Settings > Integrations, and then reconnect to Square. note: Upon reactivation, […]

Categories
guides

Wordfence: You are temporarily locked out

If users are seeing a page reporting that they are temporarily locked out, and the page contains a Wordfence logo, they have probably been blocked by our brute-force protection rules in Wordfence. This appears to be potentially a compoundable problem if multiple users may try to access the site from the same IP, so even […]

Categories
guides

bash Command Not Found

If you try to run a command, but bash says it can’t find it, like: Use locate to find the the path to the command Add that path to the system PATH variable NOTE: does not persist through logout/logon src