Run a Java Application as a linux service

I needed to run a Java program as a service on a server running RHEL. I used the script below to get it working. I got direction from 1. http://stackoverflow.com/questions/11203483/run-a-java-application-as-a-service-on-linux 2. http://www.apexninjas.com/blog/2011/02/start-java-program-as-linux-daemon/ and 3. http://fedoraproject.org/wiki/Packaging:SysVInitScript#Initscript_template The third link provides a detailed explanation on init scripts; I recommend that, at the very least, you skim through […]

Read more

Watch out for the mafia in Uganda

A few weeks back, a minister declared that the mafia were out to have him sacked. As a fearless writer, I immediately reached for my overcoat and a magnifying glass and headed out to “the field” to gather all kinds of information about this clandestine criminal gang. It’s not the first time that these Mafioso […]

Read more

Fix for jQuery selector not working

I stopped short of giving my PC a bath when for some strange reason, the jQuery selectors I was using weren’t working. Thing is when doing basic testing for jQuery, you’ll write something to console.log (either that or you’ll put an alert and wait for it to annoyingly pop-up ). Things were so bad, I did both! Many, many hoops later, […]

Read more

[WordPress Plugin Development] Handling Forms

There are some great resources on how best to add a form to your plugin. Notably, there’s this from Tutsplus (They write very solid tutorials; Love them): http://code.tutsplus.com/tutorials/create-a-custom-wordpress-plugin-from-scratch–net-2668 In it, Cristian proposes that you use this for your form’s action and use this to handle the submission: This is fine if you aren’t using OOP […]

Read more

Shoot for the Miss Uganda crown

Last week, word reached us that the army was in talks with the Miss Uganda Foundation to take over the Miss Uganda beauty pageant. I’d hate to be in the Miss Uganda Foundation’s high heels; I imagine talks with the army to be largely one-sided communications on what’s going to happen next. You probably have […]

Read more

Why you need a class on patriotism

Word in powerful corridors says that schools risk losing licenses if they don’t provide patriotism lessons. A few students have already been enrolled and taught how to get their hearts to beat faster at the mention of Uganda. Many naysayers have said their nays arguing that no one should be taught how to be patriotic; […]

Read more