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

Tarenheit: A New Temperature Scale

Last updated on September 18, 2022 by Sal Ferrarello

My son is studying unit conversions in school and as a family we were discussing how you can’t use the same technique (multiplication) when converting between Celsius and Fahrenheit. Out of this conversation came a new temperature scale, Tarenheit (rhymes with Fahrenheit). Tarenheit is exactly 32° less than Fahrenheit.

Filed Under: Math, Recommendations, Solution Tagged With: lifehack

Robert Preston visits Reading PA

Last updated on September 13, 2022 by Sal Ferrarello

Joke: Did I ever tell you about the time I got to welcome Robert Preston to a baseball game in Reading, PA? I was there to greet him when he got out of his limo and I asked him, “Who is your favorite minor league ball team?” and he replied, “Fightins, star greeter.”

Filed Under: Funny Tagged With: original joke

Check If We Can Do a Git Fast-Forward Merge

Last updated on August 31, 2022 by Sal Ferrarello

When I’m working with Git, there are times I want to check if I can do a fast-forward merge but I do NOT want to actually perform the merge.

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

Filed Under: Dev Tips, Draft, Solution Tagged With: fast-forward, Git

How to Disable beforeunload Event Listeners

Last updated on August 4, 2022 by Sal Ferrarello

I was doing some troubleshooting and wanted to disable the “beforeunload” event listeners on a page. This is how I accomplished it with the Chrome browser.

Filed Under: Computing, Dev Tips, Programming, Solution Tagged With: Chrome, JavaScript

Three yo-yos.

Yo-yo Intro

Last updated on August 6, 2022 by Sal Ferrarello

I started yo-yoing approximately one week before the original draft of this post. During that time I learned a lot of introductory information from different sources. This is the blog post I wish I had when I started yo-yoing.

Filed Under: Happy, Recommendations Tagged With: toys, yo-yo

Revert Merge Commit

Last updated on May 9, 2022 by Sal Ferrarello

Typically a Git commit has exactly one parent, however a Git merge commit has two parents. The problem this creates with Git revert, is it is unclear which commit we want to revert to.

Filed Under: Computing, Dev Tips, Solution Tagged With: Git, revert

Always Bring Your Pull Requests Up to Date

Last updated on April 26, 2022 by Sal Ferrarello

A Pull Request (PR) should always be up to date with the branch into which it is being merged. Another way of saying this is you should be able to merge your PR as a fast-forward merge (even if you decide not to do a fast-forward merge). In this post we’ll look at how a safe looking PR that is out of date can be catastrophic to merge.

Filed Under: Computing, Dev Tips, Programming, Recommendations Tagged With: Git

Quickly Delete Large Directory from the Command line

Last updated on April 23, 2022 by Sal Ferrarello

When deleting a large directory from the command line, it can take a frustratingly long time for the task to complete. This is a trick I use to speed things up.

Filed Under: Computing, Dev Tips, Solution Tagged With: command line

WordPress Gutenberg Trigger Autosave

Last updated on April 25, 2022 by Sal Ferrarello

Recently, I was documenting the steps to reproduce a certain bug and the bug required the presence of an autosave (along with the “There is an autosave of this post that is more recent than the version below.” message). Rather than wait for an autosave to occur naturally, I wanted to speed things up and manually trigger one. This is the command I use to do that.

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

Intermediate Git

Last updated on March 27, 2022 by Sal Ferrarello

I’ve been using Git for a number of years. When I was a Git beginner, I followed some prescribed steps and things worked – most of the time. This seems to be a pretty common experience for people starting out with Git. The magical part is when I started to understand Git, when I went from beginner to intermediate. These are some blog posts and videos that would have helped me with that transition.

Filed Under: Dev Tips, Recommendations Tagged With: Git

  • «Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Interim pages omitted …
  • Go to page 39
  • Next Page»

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