How To Add and Associate a New AWS Elastic IP (EIP) Address Via the Command Line (CLI)

Author: , February 11th, 2025

How To Add and Associate a New AWS Elastic IP (EIP) Address Via the Command Line (CLI):

How To Set an Entire AWS S3 Bucket to Public Read Using a Policy

Author: , February 10th, 2025

I needed to get all files in a bucket readable by the public easily. Here is the S3 Bucket Policy I applied:

To do this via the aws cli command, create the file s3_read_policy.json containing the policy above, with your bucket name in place of BUCKET_NAME_HERE:

Fixing macOS Dock Focus Issue: Make App Windows Active on Click

Author: , February 8th, 2025

If you’re using macOS 14.7.3 and experiencing an annoying issue where clicking a running app’s icon in the Dock doesn’t immediately make it active for typing, you’re not alone. Instead of the expected behavior—where the app comes to the forefront, ready for interaction—you might find yourself having to click inside the app’s window before you […]

Zsh Auto-Return on Paste

Author: , January 17th, 2025

Have you ever found yourself frustrated when copying and pasting commands in the Apple terminal no longer behaves as expected? If you used to work with Bash on older macOS versions, you might recall that pasting a command into the terminal automatically executed it—no extra steps required. However, with the switch to Zsh as the […]

How To Prevent ZenDesk Browser Page From Refreshing Constantly in Safari on MacOS

Author: , June 12th, 2024

First, enable Developer mode via the Safari menu -> Settings… -> Advanced Tab Then, disable Cross-Origin Restrictions on the Developer Tab Finally, be sure to refresh the page you are having issues with. As always, YMMV!

How To Disable All Automatic WordPress Updates

Author: , April 22nd, 2024

To disable all automatic WordPress updates, just edit your WordPress/wp-config.php file and locate the line that says: /* That’s all, stop editing! Happy blogging. */ Add the following line ABOVE that line, then save and exit:

How To Stop WordPress From Using FTP For Updates Or Asking for FTP Credentials

Author: , April 22nd, 2024

Edit your WordPress/wp-config.php file and locate the line that says: /* That’s all, stop editing! Happy blogging. */ Add the following three lines ABOVE that line, then save and exit:

Be sure to refresh your browser to get the new settings! BONUS To force the use of FTP, change FS_METHOD from direct to ftpext: […]

How To Clear All iptables Rules

Author: , March 20th, 2024

How To Diff Two Files In Vim

Author: , February 5th, 2024

shell> vimdiff file1 file2 ~OR~ shell> vim file1 file2 Create a vertical split window: Control-w v Enable visual diff on the left side: :diffthis Move the cursor to the right side buffer: Control-w Right-arrow Enable visual diff on the left side: :diffthis You should now see the differences highlighted on both sides.

How To Display All Virtual Hosts Defined for Apache 2

Author: , January 29th, 2024