• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (deprecated)

Mac Maximize Window with Alfred

Last updated on June 22, 2025 by Sal Ferrarello

One of the things that frustrates me about Apple Macs (macOS) is clicking the green sizing button in the upper-left hand corner makes a window full screen. I almost never want to go full screen. What I typically want is to maximize the window (fill up the entire area while leaving the toolbar visible). This can be done by holding down “Option” while you click the green button (but I find I mess that up often enough that I wanted another solution).

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Computing, Dev Tips, Draft, Solution Tagged With: Alfred

Get GitHub PR Number from Current Branch

Last updated on June 3, 2025 by Sal Ferrarello

When scripting a task using the GitHub CLI, I found I needed the Pull Request (PR) number for my current branch (technically my current commit). I was able to use “gh pr view” to get the information.

Filed Under: Computing, Dev Tips, Solution Tagged With: bash script, command line, GitHub, GitHub CLI

Turning a Picture of Times Square Upside Down

Last updated on April 22, 2025 by Sal Ferrarello

I recently visited New York City and realized if you take a picture of Time Square and turn it upside down it becomes “Division Square”.

Filed Under: Funny Tagged With: original joke

Sleep Inside JavaScript Async Function

Last updated on March 31, 2025 by Sal Ferrarello

Typically, the point of a JavaScript async function is to not block execution but occasionally I do want to introduce a delay in an async function (e.g. as part of a delay before retrying a remote call).

Filed Under: Programming Tagged With: JavaScript

unregisterFormatType() for Specific Block Type in Gutenberg

Last updated on February 17, 2025 by Sal Ferrarello

The WordPress block editor (a.k.a. Gutenberg) allows formatting in RichText fields via the Formatting Toolbar API](. Each type of formatting (e.g. Bold and Italic) is a “formatType”. Here we’ll look at removing one of these formatTypes from a specific block type (e.g. removing Bold from the core paragraph block).

Filed Under: Dev Tips, Programming, Solution Tagged With: Gutenberg, WordPress

Back on the Theater Stage

Last updated on March 17, 2025 by Sal Ferrarello

After a brief quarter-century break from theater, I decided to give it another whirl. Specifically, I auditioned for Reading Community Player‘s comedy Play On. In what can best be described as a questionable decision, they cast me in the show and on Friday March 14, 2025, I was back on the stage.

Filed Under: Happy Tagged With: theatre

Whirlpool Top Loader Washing Machine Broken Latch

Last updated on December 17, 2024 by Sal Ferrarello

Our Whirlpool top loading washing machine (model WTW8127LW) refused to run with the message “Close the lid” (even though the lid was closed). Upon closer inspection, we found the latch (a.k.a. the strike) had broken.

Filed Under: Solution Tagged With: home repair

WP CLI Get Current Theme

Last updated on October 30, 2024 by Sal Ferrarello

I thought retrieving the currently active theme on a WordPress website with WP CLI would involve the “wp theme” command but I was wrong. The correct command to get the currently active theme is “wp option get current_theme”.

Filed Under: Computing, Dev Tips, Solution Tagged With: WordPress, WordPress Theme, wp-cli

Never write “thank you” in slack

Last updated on October 22, 2024 by Sal Ferrarello

While I would never suggest someone skip a “thank you”, I do recommend that you not type these words in slack.

Filed Under: Computing, Recommendations Tagged With: slack

Git Alias Tab Completion Not Working

Last updated on August 26, 2024 by Sal Ferrarello

After setting up new machine I noticed my Git alias tab completion had stopped working. I created this blog post to document how I tracked down this issue and resolved it.

Filed Under: Computing, Dev Tips Tagged With: Git, git alias, zsh

  • «Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Interim pages omitted …
  • Page 46
  • Next Page»

Copyright © 2026 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in