If you’re a Macintosh user, it is probably second nature to use ⌥← to go back one word and ⌥→ to forward a word. Similarly, ⌘← will bring you to the beginning of a line while ⌘→ will jump you to the end. However, by default, iTerm 2, a great replacement for macOS’s included Terminal application, is not… Continue reading Setting up Mac navigation shortcuts in iTerm 2
Author: Scott Tirrell
Searching your shell command history
Recently I was working with a colleague through Zoom and sharing my screen. As he watched me furiously tapping my up arrow key like I was playing a Mario Party mini game to cycle through my history of Unix commands, he gave me a great tip. To search through the history of previous commands you… Continue reading Searching your shell command history
AppleScript for playing Rifftrax
Anyone that knows me, knows that I am a huge fan of Mystery Science Theater 3000 and, an off-shoot of that, Rifftrax. One of the great things about Rifftrax is that they sell some MP3-only commentaries. Since they don’t need to license the movie, they can target summer blockbusters like Star Wars: Rogue One, Twilight,… Continue reading AppleScript for playing Rifftrax
Tab Modifier Plus Chrome Extension
As a web developer, I often find myself with local, staging, and live versions of the same website. Obviously, one can tell which environment one they are on by viewing the address in the browser bar. I find it handy to have an additional visual cue, though, to make it even clearer. I have found a… Continue reading Tab Modifier Plus Chrome Extension
Dynamically Overriding a Page’s Template
It is easy to override the template for a post or page in WordPress in a few ways. For example, the naming of page template files can be used to override a single page’s template: page-{id}.php page-{slug}.php Or, a page template can be chosen in the Page Attributes section when editing a page: This works great… Continue reading Dynamically Overriding a Page’s Template
A Couple Quick Mac Tips
Just a couple of quick Mac tips. First, many programs support using Command-<number> to choose that tab in the program. Some programs are explicit about it and might show the shortcut, like iTerm 2, but this will work in all major browsers I have tried as well as Sublime Text. Also, most times when you… Continue reading A Couple Quick Mac Tips
Quick Macintosh Tips
It is sometimes hard to explain to people why I enjoy working on a Macintosh. It isn’t because they are shinier or I have fallen prey to the “reality distortion field.” Rather, there are a lot of nice tweaks, that are sometimes not so obvious, that make working with the Macintosh such a nice experience.… Continue reading Quick Macintosh Tips
Hiding the categories of a post when it is “uncategorized”
If you’ve ever had some posts on your WordPress blog, you will have noticed that the “Uncategorized” category is displayed with a link to an archive of uncategorized posts. The easiest way to solve this, of course, is to categorize every blog post. But, if you don’t want to for some reason, you can use… Continue reading Hiding the categories of a post when it is “uncategorized”
Hiding the WordPress admin bar on certain pages
There may be times when you would like to hide the WordPress admin bar on certain pages. Maybe the admin bar interferes with the design, for example. This can be especially true for things like pages opening up in a lightbox. Fortunately, it is not too difficult to hide the admin bar on certain pages… Continue reading Hiding the WordPress admin bar on certain pages
Conditional Required Contact Form 7 Fields
Sometimes you may want to have a required field in Contact Form 7 only when another form field has a certain value. For example, if someone has an option to choose their preferred method of contact between email and telephone, you’d want to make the email address field or the phone call field required accordingly.… Continue reading Conditional Required Contact Form 7 Fields