I tend to forget these so I’m documenting them here for posterity. 1. Moving around quickly ctrl + a – move to beginning of the line ctrl + e – move to end of the line alt + f – move forward alt + b – move backward 2. ctrl + r – Search shell… Continue reading some Shell commands
Category: Development
When node-gyp fails
If you’re seeing this error on a Mac, run sudo rm -rf $(xcode-select -print-path) xcode-select –install Source: How to fix the Node gyp Error: No Xcode or CLT version detected node-gyp also has documentation on how to resolve the error. I’m currently on Big Sur 11.4.
Darchitect
This is my newest theme, Darchitect. It is designed to be dark. Really dark. (or quite bright if you prefer) Aesthetics Inspired by high-contrast architecture photography and technical manuals, Darchitect is a combination of artistic canvas, engineering notes, and elegant book design. The build Darchitect is a fork of Twenty Twenty-One, this year’s default WordPress… Continue reading Darchitect
fast-forward only [git]
tl;dr git config –global pull.ff only makes git pull happy. 🌟 I just set up a new computer and, every time I ran git pull, I was greeted with a message I had not seen before: Looking further into it, I found several recommendations to set the global configuration to be pull.ff or “fast-forward only.”… Continue reading fast-forward only [git]
Lazy loading YouTube gets a bit meta
I was recently shown the CSS Tricks article, Lazy load embedded YouTube videos, and holy heck is it clever. The gist is that it loads the HTML content inside srcdoc instead of src. In this case, the content is a link to the video. It also lazy loads the image (performance!). I went a tiny… Continue reading Lazy loading YouTube gets a bit meta
My Gutenberg setup
Sometimes, the simplest solution is the simplest solution. In this case, I’ve tried just about every popular development setup for WordPress. MAMP is still the winner. I had been using the WordPress docker environment that is available when working on the Gutenberg project. It’s mostly reliable, but makes my computer fan really tired. If you’re… Continue reading My Gutenberg setup
What is your WordPress dev setup?
I’m interested in trying out some new tools and am looking for your recommendations. Here are some questions I have: What do you use to run WordPress locally? (Docker, VVV, something else?) Where do you keep your project/git folders? (in the plugins directory, sync a build to plugins, Docker instance inside the project folder?) What… Continue reading What is your WordPress dev setup?