Front-end Web Developer. Language lover. Traveler. Dude.
Image for post
Image for post

If you’re a first-time-caller-long-time-listener to my Medium articles you’ll know that my last article “Do I really need a bundler?” was about bundlers and task runners .

In that article, I described how you can compile SCSS (a different syntax from actual SASS but sometimes used interchangeably with SASS) from the command line (you might only know this as the Terminal on MacOS or the Command Prompt on Windows).

In this article I’m going to demonstrate how you can quickly install and configure the Sass command line utility to compile your SASS files. Official documentation found here.

Method 1: Install Globally Using NPM

It should come…


Image for post
Image for post
To bundle or not to bundle?

For some reason I never really asked myself this question and just forged into the world of task runners like Gulp and Grunt — and bundlers like Rollup, Webpack, Parcel as I got going in web dev.

The abilities and advantages that these tools brought to the table were irresistible, and learning them also brought the benefit of fixing build system errors of projects that I forked or inherited.

How many out there have found themselves with the sudden challenge of managing Webpack config files after “ejecting” from a React application and realized that they were somewhat in over their…


Image for post
Image for post
Alpine.js Logo

First day at a new position.

They’re always a doozie, but I think given that fact, it went considerably well.

So.

Nine hours of work in the can and what would a sane and rational person do once that quittin’-time-horn sounded?

That’s right. He would scarf down some food and get on CodePen to goof around with Alpine.js.

Nailed it!

Well done. Now pat yourself on the back and let’s make a little stepper thing using this new directive-driven “just sprinkle a lil’ of this on your HTML” — micro-yet-modeled-after-Vue framework.

Steps

Doing something quick and dirty for a demo we’re…


Image for post
Image for post
CMB2 checkbox field object

…Was tearing through a bunch of meta fields using CMB2 and noticed some unexpected behavior when I went to set a checkbox’s default value to true.

When I refreshed the admin — sure enough — the checkbox was checked.

Everything good right?

Well, had I saved it with a true value and went on my way then yes.

But as I usually do, I went looking for trouble.

The Problem

I…

  1. Cleared the corresponding database row for that field.
  2. Reloaded the WP admin.
  3. Unchecked the checkbox.
  4. And saved my changes.

Oh looky here.

To your shock and horror.

The admin reloads but…


Image for post
Image for post

I wouldn’t say I go looking for lifehacks, but I don’t shy away from them either.

Case in point — I purchased a 24" smart TV and upon setting it up discovered that it had some pretty lousy sound.

My layman description of the sound would be something like, “It sounds like they pointed the speakers in the TV the wrong direction and then proceeded to muffle the sound with some plastic covering.”

To add insult to injury, I overpaid for this little guy.

After crying myself to sleep — waking and eating some ice cream — crying myself back…


Image for post
Image for post

So you’re a few weeks into owning your first set of Airpods Pro and you think you know it all?

Here are a few things you might not have discovered in that span of time.

1. Quickly Check Battery Level For Airpods & Case

There are several ways to check battery levels on your Airpods Pro, but one of the quickest is to stick your Airpods in the Apple charging case, leave the lid open, and hold it right up against your iPhone.

Wait a few seconds and you should see the battery levels pop up from the bottom of your screen.

Not working? Check the documentation.


Image for post
Image for post

I have really been meaning to write this for a few years now, really since my days of grinding trying to build out layouts with major holes in my CSS game.

As with most “Top Things To Learn” articles, this article is completely subjective and mainly based what I found to be “gotcha” topics when it came to styling with CSS.

This article assumes you know the very basics of CSS already such as Selectors, Combinators, Classes, IDs, etc…

If not, internetingishard.com is a good place to start and has excellent explanations and diagrams.

If you do know the bare…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store