Latest Posts
-
jq Cheatsheet
jq is a powerful command-line JSON processor that makes it easy to extract, transform, and query structured data. Below is a compact cheatsheet using a sample vehicle dataset to demonstrate some of its most useful features. Sample JSON: vehicles.json jq Commands Pretty Print Select a Field Returns each vehicle make. Filter by Condition Filters vehicles…
-
Be Intentional
I’m currently re-reading “Unreasonable Hospitality” by Will Guidara. It’s a phenomenal book sprinkled with nuggets of wisdom throughout the pages; however, chapter three introduces a main concept that is carried throughout the rest of the book. The chapter title sums it up best: “The Extraordinary Power of Intention” (full review coming soon). What does it…
in books -
Lessons From: The Prince (by Nicolo Machiavelli)
While this book did not make my Top Ten list, it was referenced multiple times by the authors within that list. So, I just had to see for myself. While I don’t think everything is applicable today (like killing all of the family members of your freshly conquered enemies), I think a lot of the…
in books -
Why You Should Put Your Bash/Zsh Configurations in Source Control
Note: You can see my zshconfig here. As developers, we spend a considerable amount of time fine-tuning our environments. Customizing your bash or zsh configuration can significantly enhance your productivity, whether through personalized shortcuts, workflow automation, or optimized command sequences. However, there’s always one looming concern—what happens when you get a new machine? The problem…
in programming -
WordCamp US 2024: Key Takeaways
A quick disclaimer: There is so much to do and so much to learn at WordCamp. I highly encourage you to watch all of the sessions online; however, I am only covering a couple of the sessions I was able to attend in person this week. Just because it isn’t mentioned here, does not mean…
-
Why “The Algorithm” by Hilke Schellmann is a Must-Read Before Your Next Job Search
In today’s hyper-connected world, algorithms and artificial intelligence (AI) play a massive role in shaping our professional lives, often in ways we don’t fully understand. Whether you’re applying for your dream job or simply navigating your daily routine at work, algorithms are silently influencing the decisions that affect you—from reading your resume to tracking your…
in books -
Handling Missing Build Assets in NPM Packages Due to .gitignore
When integrating custom WordPress blocks into other React projects, you may encounter a situation where some built assets are missing after running npm install. This issue often arises when your npm package relies on files generated during the CI (Continuous Integration) process that are not necessarily checked in to the project. The Problem: .gitignore vs.…
in programming -
Reminder: Change Your Air Filters
Do you have a hard time remembering to do those quarterly home maintenance tasks like changing your air filter? Here is my dad hack for that… Now, every time air filters show up on my door, I know it’s time to change them out. My home is appropriately maintained, my air is clean, and I…
-
Understanding How Yarn Traverses Parent Directories for .npmrc Files
When working with Yarn, it’s essential to understand how it handles .npmrc files, especially when dealing with multiple configurations across different environments. A common issue can arise when a missing .npmrc file in a package causes discrepancies between local and CI/CD environments like Jenkins. How Yarn Handles .npmrc Files Yarn, by design, traverses the directory…
-
2 – Concurrent Editing in TipTap
In the first blog post in this series, we set up a basic Tiptap editor. Today, let’s enhance the editor by integrating real-time, concurrent editing capabilities using Yjs, a powerful CRDT library for shared editing, and the y-webrtc connector for peer-to-peer communication. Initial Setup Let’s start by examining the initial Tiptap setup without concurrent editing…