Updating Jenkins on Ubuntu

If you want to upgrade Jenkins and keep your data, you just need to download the latest jenkins.war file, copy it in your tomcat/webapps directory and restart Tomcat. It is recommended to create a backup of the previous jenkins.war file. You may want to revert to the previous version if you find any issues after upgrading.

$ cd <installation_directory>
## Stop the server
$ ./ctlscript.sh stop

## Copy your previous .war file in case you need to restore it
$ cp apache-tomcat/webapps/jenkins.war apps/jenkins/jenkins.war.bak

## Remove jenkins all files to force Tomcat to deploy the new jenkins.war file
$ rm -r apache-tomcat/webapps/jenkins
$ rm -r apache-tomcat/webapps/jenkins.war
$ rm -r apache-tomcat/work/Catalina/localhost/jenkins

## Donwload the new version of jenkins
$ wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war
$ mv jenkins.war apache-tomcat/webapps/

## Start the server
$ ./ctlscript.sh start

JQuery click a table row to Trigger a Checkbox Select

When selecting rows with a checkbox, it would be nice to be able to click on the row to select the checkbox instead of having to click on the checkbox itself. The trick in selecting a row is making sure the row click event doesn’t get activated when the user clicks the checkbox, essentially firing the event twice.

Here is my example. I am using a Bootstrap 3 marked up table with table class=”table”:

$(".table tbody tr").click(function(event){
if(event.target.type !== 'checkbox') {
$(':checkbox', this).trigger('click');

Leeward Associates is now on GitHub!

Visit us at https://github.com/dirksm/ to see examples of our work and snippets we’ve been working on!

Set a static IP in Ubuntu

In this post I will show you how to manually configure your network interface by editing the following files using your preferred text editor(nano gedit vi). For the purpose of this post I am using the “nano” editor. Read More

Sharing Folders in Ubuntu 12.04 via command line

Share folders across a network in Linux is not a very complicated task. Today I will show you how to set it up in a desktop running Ubuntu 12.04 LTS. Read More

Logging Business Miles with Mileage Tracker

As a small businessman, I’m required to keep track of the miles I travel for business purposes each year. I’ve tried mobile phone apps, web applications, etc.. but none of them had everything I needed. My goal is to have a system that can be accessed from multiple media – phone, tablet, PC, and any other devices. With that thought I started my Mileage Tracker application. Read More

Small City Software – A case study

Small City SoftwareA friend of mine came to me a few months ago regarding an idea. He was serving on his city’s Board of Alderman and was noticing the fact that the IT infrastructure the city was using was a patchwork of different pieces of software – some home-grown, others off the shelf. He noticed that each department set their own IT standards and used whatever software they liked. Even the email servers were different. He also noticed that their workload could be much simpler if they had a piece of software that could easily manage their tasks. Read More

Pros and Cons of becoming a Consultant

A discussion topic on LinkedIn made me think about why I wanted to become a consultant. I had to ask myself the question “Why did I become a consultant? Was it the pay? The prestige?” I started to write a comment on this topic but quickly realized that I would have to write this down first to collect my thoughts and then copy it into the comments section. The problem was, I was 1000 characters over my limit when I posted my “comment”! Therefore, I decided to blog about this topic instead. Read More

Top 10 Client-Side Performance Problems in Web 2.0

To coincide with my previous post, I’ve also included a link to a post that Andreas Grabner from DynaTrace Software wrote regarding Web 2.0 performance issues. These are especially helpful and can relieve headaches down the road when you are trying to debug performance issues with a Web 2.0 client.


Top 10 Performance Problems taken from Zappos, Monster, Thomson and Co

Andreas Grabner from DynaTrace Software recently published an article highlighting the Top 10 performance issues that they have experienced when working with their clients. The article is well written and very informative. I have found myself working on similar issues regarding performance and know that these issues are present.