Categories
Thoughts

Do it again, years later.

At a conference in the late 2000s, one speaker passionately spoke about not doing the same thing twice. Don’t read a book twice, don’t watch a movie twice, and don’t visit the same vacation spot twice.

This advice is as foolish back then as it is now. 

As we grow, we change. The way we see and embrace things change. This is the incredible power of being a human: growth and change.

Last month I had the pleasure of rereading two books I read back then, and they merely reminded me of this person’s foolish advice. While both of these books have shaped my last 12 years, reading them now — with the new experience I’ve gained — allowed me to recognize new methodology within the writing.

Very (re)enlightening. 😆 

My advice is to DO IT AGAIN. Re-live that experience. Re-read that book. Re-watch that show. Just give it about 5-10 years. 😉 

Categories
Software

Allow JSON Uploads to WordPress Media Library

Recently I was working on a project that required the addition of allowing JSON uploads in the media library. While I knew there was a filter for this, it did take some digging to understand why JSON uploads were treated as text/plain (and should be marked as such).

Here’s the example, and hope it helps.

Categories
Shortcuts

Quickly Clear Safari Website Data

Often times I find myself needing to clear the website data stored in Safari, and while Safari does provide a mechanism for accomplishing this task, it is a (minimum) three step process that first waits until the data is loaded before allowing to remove.

Cumbersome. 🧐

Thankfully, there is a little trick I use that speeds up this process, which only requires enabling and disabling ‘Block all cookies’ setting instead.

Personally, I find this method much faster for resetting Safari, but honestly wish there was a programatic method for performing this type of privacy cleanup.

Categories
Shortcuts

Keep Safari Pinned Tabs Open

One of the most annoying things I experience when closing a tab in Safari is when it is the last tab and closing closes the entire window (including pinned tabs).

Thankfully, there is a simple remedy to fix this. In System Preferences go to Keyboard > Shortcuts > App Shortcuts and add a new shortcut for Safari, with the menu title of Close Tab and the command of ⌘W.

Done and done.