Entries Categorized as 'How-To’s'

How To Prettify Using Vim and Prettier

Author: , March 7th, 2025

If you’re a Vim user and want to integrate Prettier for automatic code formatting, follow these steps to set it up on your system. Install Prettier Globally Before installing the Vim plugin, you need to have Prettier installed globally via npm:

Install vim-prettier Plugin To use Prettier inside Vim, install the vim-prettier plugin. Clone […]

How To Disable Bracketed Paste in BASH and ZSH

Author: , March 5th, 2025

Bracketed paste is a feature in modern shells that helps prevent accidental execution of pasted commands by wrapping them in special escape sequences. However, some users find this behavior annoying, especially when pasting multi-line commands. Fortunately, it’s easy to disable bracketed paste in both BASH and ZSH. Disabling Bracketed Paste in BASH To turn off […]

How To Fix MacOS Safari’s Connectivity Issues: Disabling Private Relay and Hide IP Address

Author: , March 3rd, 2025

If you’ve ever encountered a scenario where Safari on macOS Sonoma cannot reach a local or internal web service (while Firefox and curl work just fine), the issue may be due to Apple’s strict security features. Specifically, iCloud Private Relay and the Hide IP Address from Trackers option can interfere with certain local network connections. […]

How To Combine Directories From Multiple Hosts Into a Single Git Repository

Author: , March 2nd, 2025

If you have multiple ~/bin/ directories across different hosts and want to consolidate them into a single Git repository hosted on your own Git server, follow these steps. 1. Create a New Bare Git Repository on Your Git Server First, log in to your Git server and create a new repository:

This repository will […]

How To Restore the Full Desktop Bar in Mission Control on macOS

Author: , February 26th, 2025

With macOS Sonoma, Apple changed the way Mission Control displays virtual desktops, reducing them to small slivers that require hovering to expand. If you prefer the previous behavior—where the full desktop bar opened automatically—there’s a simple solution using a third-party tool. How to Restore the Full Desktop Bar in Mission Control Follow these steps to […]

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:

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: