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.
Hibernate within Dropwizard CLI Commands
Learn how to utilize Hibernate within Dropwizard, an extensible Java framework. This guide shows how to use it in CLI commands.
LDAP Authentication with Dropwizard
Authentication for your application may be crucial to its operation. Dropwizard provides a pretty clear description of different capabilities, but I thought I’d give a simple step-by-step implementation path. 1. Dependencies The good folks at yammer have provided this open source authenticator for Dropwizard specifically for LDAP. Add this to your pom: Please note, I’m […]
How Starting Your Own Startup Changes You
Starting your own startup is a radical process, many times undertaken by people who have never done it before. It can be painful, certainly stressful, but also very exciting and motivating. My experience was no different, with extraordinary highs and dragging lows, and I hope sharing about it helps dissipate any apprehension in going after your own.
Browserify and ReactJS
Entering into using Browserify for the first time demands an answer to an important question — What is Browserify? Browserify simplifies dependencies management and usage of your Javascript application by utilizing commonJS import formats (require(‘modules’)) and bundling them with your app for deployment. It’s kind of funky to say, and yes several times I referenced […]