Create a comprehensive .gitignore file in seconds!
When getting started with a project, there are some files and directories that we should not include in source control. Files that contain credentials that should be kept secret (such as a .env file), or directories that contain the output of a build are a couple of examples. Often, when
Preparing for a performance review cycle
Performance review cycles can be stressful for some, and there can be a fear that highly meaningful, impactful work will go unrecognized. The lack of full recognition for such work can translate into: * delays in career advancement, commonly in the form of a promotion; * a loss in potential earnings in
Approaching a major version dependency upgrade
Keeping dependencies up to date has become significantly easier over the years with free tooling such as Dependabot and Renovate now widely available and having robust configuration for however you and your team want dependency updates to be handled within a given project. While these tools are easy to incorporate
Setting up an RSS feed for a Hugo blog using the PaperMod Theme
Supporting an RSS feed on your blog is an easy way of keeping those who follow you up to date on your latest posts. Hugo, a popular static site generator, comes with a default RSS 2.0 template which PaperMod, a popular Hugo theme maintained by adityatelange, builds upon further.
Omitting CSS Rules Using the :not Pseudo-class
With the proliferation of design libraries in order to reduce bugs within the UI, create a more consistent user experience, and increase developer velocity in order to get features shipped faster, it’s common to have CSS stylesheets that are more generic in nature. However, like most things, there are
Testing Typescript Types
The ability to inform and educate us on how a package functions and behaves through the use of types is one of Typescript’s biggest strengths as a language, alongside its’ ability to gradually be adopted within an existing Javascript project. Unfortunately, we can’t always expect that those types
How to Add an SSL Certificate and Custom Namecheap Domain to a Gitlab Pages Site
Adding an SSL certificate and custom Namecheap domain to a GitLab Pages site can be a bit more challenging than it seems. Crucial pieces of the setup information live in sometimes dense documentation across different sites. It can be hard to tell if you’ve set things up correctly given
Determining Whether Your Javascript Object is of Type X
There are times when you’re interested in knowing additional details about the Javascript Object that you’re handling, such as whether you’re handling an Array, Date, or standard Object. However, the typeof operator, when used against these different objects, returns the following results: console.log(typeof [1,2,
Jest Snapshot Testing With Dates and Times
Snapshot testing is great for quickly creating unit tests for components by getting a ‘snapshot’ of what a component looks like when it’s rendered on the page given certain prop values. This removes the need to manually check the amount of specific elements being rendered on the component, or