All Stories

How to check if IP is private?

While designing systems that auto-scale, one of the roadblocks that I hit was being unable to identify the public IP of the machine I was running my code on.

Get Jetty Server port

I was working on a project where I had a central load-sharing server with multiple nodes to serve data from. I wanted the project to auto-scale, i.e. bring up new...

Docker on Windows 10: Getting started

For a recent project we decided to try out containerization, so I thought it’d be good to get my feet wet by playing around with Docker.

POST call to Jersey/Jax-rs endpoints with @FormParam using Retrofit @Field

As part of testing my endpoints, I use Retrofit. It is brilliant to say the least. But finding documentation on it can be a little tricky.

Jedis: ERR wrong number of arguments for ‘rpush’ command

While refactoring a large project with some legacy unmanageable code which used Redis, I came across this exception:

MySQL Command Window Popup

I recently installed MySQL after a long time. I’ve been so used to the flexibility that MongoDB offers me that I haven’t looked at MySQL in ages. However I had...