All Stories

Automatically updating fat jar with Jenkins Publish over SSH

While using the Publish over SSH plugin for Jenkins in a project recently, I thought it would be great to have Jenkins restart the deployed fat jar on the remote...

Swagger, Jersey2 and embedded Jetty - without strings

I remembered having used a cool framework for self-documenting APIs called Swagger on a recent contract I was working on. Swagger is brilliant, easy and intuitive. Or so I thought....

ADB for generic Android device

While working on an Android project several months ago, I found that my cheap generic Chinese Android tablet wouldn’t get detected by ADB. This made it difficult to debug the...

MongoDB: Can't take a write lock while out of disk space

While working on a project recently, we had to process a large number of files and dump the results into MongoDB. The client even provided us with a fancy instance...

org.hibernate.exception.GenericJDBCException: Incorrect string value

I’m fairly new to Hibernate. I prefer using Java’s JDBC drivers and getting my work done without any additional frameworks on top of it. But sometimes your client comes along...

Changing the default port on Jenkins

I recently installed Jenkins on an Amazon instance for work. It was an EC2 instance running Ubuntu. I installed it using: