Categories
Uncategorized

Drupal 8 Cache API examples cheat sheet

Here are some random useful snippets for dealing with caches in Drupal 8, just because I keep having to dig them up from the API. I’ll try to add more here as I go.

Categories
Uncategorized

Static sites should be the default

Let’s define a “static” site to mean that each page is just a regular old HTML file sitting in directory. In other words, if you visit /about-us in a browser, then you’re sent the HTML file that lives at /about-us/index.html which contains the entire page. Obviously, nobody wants to sit there and edit each HTML file individually, so fabulous […]

Categories
Uncategorized

Parenting tips and tricks

My 4th kid is now almost a month old, so it seems like as good a time as any to write up some random tips I’ve learned for dealing with young kids. Here they are, in no specific order. Sleep A friend of mine with 3 kids, when asked for parenting advice, said “just think […]

Categories
Uncategorized

Book Riot’s 2018 Reading Challenge

I spent the first few months of 2018 working through the Book Riot 2018 Read Harder Challenge. I had gotten stuck in a rut of reading dumb suspense and murder mystery books and wanted to break out of that, so this seemed logical. Overall thoughts Two thumbs up! This challenge got me to read a ton […]

Categories
Uncategorized

Idiotic feelings per day (IFPS)

How often each day do you feel like an idiot? Hopefully, the answer is “just enough.” I believe that measuring idiotic feelings per day (IFPS) is a decent method of predicting or identifying burnout. Here are your options: I feel like an idiot all the dang time! This is likely a sign that one (or […]

Categories
Uncategorized

A minimal .vimrc file

For those of you who work on a lot of unfamiliar servers, you probably use vim a good bit. It can be useful to have a simple, small .vimrc file that you can just copy to wherever to set some sane defaults. Here’s the one I use for that. It fixes indenting, syntax highlighting, and […]

Categories
Uncategorized

JIRA ticket template in the 3 C’s format

If you’ve never heard of the 3 C’s, here’s some context. Basically, it’s a strategy for writing issues/tickets that breaks them into the Card (user story), the Conversation (documentation and detailed requirements), and the Confirmation (testing steps and acceptance criteria). Here’s a concise little template that you can copy and paste when creating JIRA tickets. h2. […]

Categories
Uncategorized

A collection of random useful Git snippets

This is the post that I’ll use as a living dumping ground for random useful git snippets that I come across. Enjoy! Use git blame to see when a change was REALLY made, as opposed to just a whitespace or copy/paste commit: Fetch a file from another branch without switching branches: Delete already-merged git branches […]

Categories
Uncategorized

Grav CMS for Drupal developers

If you’ve never heard of it, Grav is a pretty neat little flat-file CMS. If you’re a Drupal developer, words like “flat-file” and “neat” and “little” are probably foreign to you. This post is an attempt to explain what Grav is, why it’s neat, and how to use it, in terms that you’ll understand. Wait, […]

Categories
Uncategorized

An insulting guide to budgeting

The cold harsh reality is that we have to balance the budget. Michael Freaking Bloomberg “But I don’t want to budget! Sticking to a budget is such a chore! Entering all my transactions is so hard!” Yeah, whew, that’s a tough one. But you know what is even harder? Being hopelessly, desperately poor. Or, maybe […]