Debugging requests with cURL

For more than one time I had to debug HTTP request or response headers and other details. To do that, I use two techniques, both based on cURL library. I explain them ahead. Technique #1: From the command line This is the easiest way to debug. It doesn’t require writing any actual code. Just call curl program […]

Writing an init script for a Java application

UPDATE, Oct, 1st 2014 This is an old post (from 5 years ago when I writing this update) and the solution isn’t the best. So take a look at the comments – specially that one by Tinoco. The need make us study topics we think we’ll never need. Today I had to write a simple bash program […]