Speed Up Key Presses (macOS)

A recent episode of Syntax, the podcast about web development from Wes Bos and Scott Tolinski, a tip was mentioned on speeding up key presses on macOS. I have always been annoyed at how slow the cursor moves when navigating a large text file. After a simple change in the keyboard settings, I’m much happier with the speed of the cursor. It makes navigation large files much easier. If you are a developer, I would highly recommend making these changes.

If this is not fast enough for you, you can manually set them with these 2 commands(source)

defaults write -g InitialKeyRepeat -int 10 # default minimum is 15 (225 ms)
defaults write -g KeyRepeat -int 1 # default minimum is 2 (30 ms)

Let me know if this helps you. Leave a comment below.

Chrome Extension Keyboard Shortcuts

Wanted to share a quick tip on using keyboard shortcuts to activate chrome extensions. Up until now it never occurred to me to use a keyboard shortcut to activate an extension, but thanks to a user of my weather extension, I now have command + Ctrl + W mapped to open Weather. To setup your own keyboard shortcuts, browser to chrome://extensions/shortcuts. Leave a comment below of what other keyboard shortcuts you prefer.

 

Backup Multiple Laravel Sites

If you’re like me and use Laravel Forge to host multiple websites on a single Digital Ocean server, then you may have run into the issue where you need to backup all the sites on your server. You could run Spatie Laravel Backup package on each site but a better solution would be to just deploy a single backup application to the server so you can backup multiple sites. This means you can backup multiple types of sites including WordPress.

I came across a great article from Tim MacDonald. Check it out here

Let me know if you have any questions.

Text Replacements iOS

Wanted to share a quick tip that I use every day on my iPhone. If there is a sentence or phrase you type often, you should turn this into a text replacement. For example, I use @@ which is replaced with my email address. This is useful for registering or logging into websites or apps. You can also have other common phrases for responding to emails or text. I’ve been using this for years and wanted to share. Hope it saves you a few keystrokes!

The Text Replacement function is found under Settings > General > Keyboard > Text Replacement.

Leave a comment below of shortcuts you use. Thanks!