Code a Christmas Game ... with Cats!

Code a Family Christmas Game …With Cats

Ryan Brewer Articles, Community, Tutorial 1 Comment

Have kiddos at home for break this time of year? If so, I’m sure you’ll appreciate this quick, fun boredom killer. We’ll create a game for you and your family, and the best part: your kids can create the whole thing!

Play as the Christmas Tree Star, who’s been knocked off the tree by the (crazy) house cat. Like every Star, you’re far from helpless. You’ll jump your way back to the top. But beware! The (truly crazy) cat is still inside the tree …with black eyes open wide …hunting you.

JASMINE SPIES UNIT TESTING

Unit Testing Using Jasmine Spies

Todd Leininger Articles, Development Technologies & Tools, Programming, Testing, Tutorial Leave a Comment

Unit testing is an important part of the development process. It gives us the ability to know that our code is working as intended and can also let us know if we may have broken something that we didn’t even think of.

With the help of Jasmine Spies, we can make our test setup easier, and we can give ourselves more options for what we can test against. Hopefully, this will give you a good starting point for all your Jasmine spying needs!

Kubernetes on Raspberry Pi

Kubernetes on Raspberry Pi

Lou Mauget Articles, Cloud, Development Technologies & Tools, Kubernetes, Tutorial 3 Comments

Kubernetes, or k8s, is an important container orchestration platform. In this blog, I’ll describe creating a workable Kubernetes cluster implemented on a stack of four Raspberry Pi boards. In the end, I’ll have provided an outline of how I created it and I’ll show how to replicate a stateless app across Kubernetes pods running on the nodes โ€” the Pi boards.

Batching Excel Files in Azure to Order DME

Batching Excel Files in Azure to Order DME

Zach Gardner Architecture, Articles, Azure, Cloud, Tutorial Leave a Comment

The steps described in this blog post allow for the adding of a Logic App on Azure to append rows to an Excel file. It took a lot of trial, and mostly error, to figure out how to describe what I wanted in the way that the Logic App would understand. Hopefully, the steps that I outlined in this blog post will save others the time it took me to come up with them.

Preventing Layout Shift

Using CSS Grid to Prevent Page Jank

Lawrence Chabela Articles, CSS & HTML, Design, JavaScript, Programming, Tutorial Leave a Comment

Layout shifts, or page jank as I like to call it, rears its ugly head when a visible element changes position or dimensions, causing the position or dimensions of content around it to be changed.

There are too many possible reasons behind a layout shift to cover in one post, so Iโ€™ve narrowed it down to one in particular for the sake of brevity. In this article, we will discuss this scenario: a component changing its height due to its state being changed from user interaction.

I know that this is a relatively isolated example, especially in the grand scheme of things. However, I think this proves an important point. Solving a layout shift doesn’t always have to be a tedious and complicated process to fix. Sometimes, scenarios like this can easily be solved using the CSS we already have at our disposal.