Learn how to utilize property matchers in Jest Snapshot testing when the values in the object change, such as IDs or timestamps, to build resilient tests.
Category: Software Development
Easy Cheat Sheet for Using the sed Command
Using the sed command to do quick string manipulation in a shell script can be very handy. These tips will make you an exper
Simple Javascript Library for Distributed Tracing Propagation in Node
I wrote the library @oracle/trace-propagation to simplify passing trace information (tracing propagation) through a node service.
How to Deploy Gitlab CI Runners to Kubernetes
I’m a big proponent of Kubernetes and I figured how to run Gitlab runners in Kubernetes. This enables CI pipelines for my Gitlab instance and scales easily!
Simplify Your Computer Backup Process
Since we never plan for a laptop to physically break, it is critical to consistently and routinely maintain a computer backup of what’s important.
How to Convert a JavaScript Date to UTC Format
I recently had a problem where I wanted to convert my JavaScript Date to UTC format instead of local server time. In the browser, the Date’s representation will be in the host machine’s local time zone. If you are trying to take a server response Date string and perform logic, then you may experience some […]
Supercharge Your Makefile
A Makefile provides a simple entry point for any project for scripts and utilities. And there are a few tips I can offer to make yours more useful.
Cookies And Curl
Curl is the helpful shell command for HTTP requests, and typically I used them to testing a webservice. There are times where I need to send a cookie, and I always end up grepping for the last time I did it.
JDBI for Java 8 LocalDate and LocalDateTime
Java 8 introduced the superior LocalDate and LocalDateTime, but JDBI does not work so nicely with them. You’ll find errors like: In order to bind the parameters of a JDBI DAO for these Objects, you’ll need to implement your own Binder. Using the Binder And in usage, set the binder for the @Bind annotation. This […]
Automated Smoke Testing with SSL
Smoke testing is the verification of functionality in a live system, be that development, test or production. Many of us are familiar with deploying an application, and clicking around to be sure nothing is obviously broken. Is the application running? Am I connecting to the database correctly? But there are many more holes that form as an application grows, and integration testing becomes critical to catching them.
