Entries Categorized as 'Code Library'

Auto Updating OpenDNS with Dynamic IP Address via Ubuntu Server

Date November 5, 2010

I have a linux Ubuntu server and a dynamic IP for the DSL connection. The office needs web filtering and getting a static IP will just add cost to the now tight budget. Looking around there is actually a way to update OpenDNS IP address under linux. Below are what is needed to be installed […]

Java JNI: Unsatisfied Link Error in Library Path

Date May 5, 2009

I’m currently playing around with Java Native Interfaces(JNI) and I must say its been too long since I programmed in Java. Its good to be back! Anyway, lets hop to the main topic… I was following the tutorial from Sun in creating my first JNI and calling my compiled C++ library, I was stuck in […]

MySQL: Query Real Values from Delimiter-Separated-String-IDs

Date September 15, 2008

I had a problem in using a string-comma-separated-value returned from a query in an “IN” statement. I used the IDs from one table, concat them into a comma separated value and insert them into another table. Baaaad idea… Now when I query that value, I can’t use it directly into an “IN” statement to retrieve […]

Java 5 JDK and Jakarta Tomcat 5.5 in Ubuntu Server Installation

Date September 13, 2008

These are the steps I took to install Jakarta Tomkat 5.5 in conjunction with Java 2 SDK in Ubuntu server. Login as root, you can also use “su” though I prefer to login as root. apt-get install sun-java5-jdk This will install Java 2 SDK (1.5), ubuntu will start downloading packages that are not found in […]