Connect Python to OSI Soft PI

OSI PI is a historian database. I had a task to connect a python application to this database. Unfortunately, the vendor doesn’t support Python (odd, they are named “PI”, but I digress). Additionally, the drivers provided by the company initially didn’t work. This post details how I was able to finally connect python to OSI PI. It may not be the most elegant, but it functions for the purposes of my application Read the rest of this entry »

Tags: ,

Quantized Coefficients of a JPEG Image in MATLAB

Recently, I needed to access the quantized coefficients of a JPEG image. Fortunately, MATLAB has an amazing JPEG tool box that makes this an easy to accomplish task. Read the rest of this entry »

Tags: ,

Forcing HTTP traffic over HTTPS using Apache

I recently was required to redirect all traffic for a domain over an HTTPS connection. Using the Apache’s .htaccess files and the RewriteEngine, this task is trivial.

Read the rest of this entry »

Tags: , , ,

Upgrading Redmine from 0.9.3 to 1.1.2

I use Redmine to manage all of my project source code. It is very useful for version control, issue tracking and general project management. I highly recommend it to both individual developers and teams of developers. Recently, I upgraded from version 0.9.3 to version 1.1.2 so that I couldĀ  take advantage of several new features – specifically, the new API. Documented below is steps I took and issues I encountered.
Read the rest of this entry »

Tags: ,

Multiple IP Addresses on the same physical connection (Linux)

There are times when a server can be allocated more than one IP Address even though it contains only one physical network card. To associate these IP addresses with the server some manipulation of networking settings will need to be performed. The steps outlined in this walk-through are for RedHat based systems. This tutorial is for statically assigned IP Addresses (as a server generally will have).
Read the rest of this entry »

Tags: , , , ,