Technology

Removing the Tracking Image from Alfresco

Alfresco is an enterprise document management system. There is a free Community Edition that is open source, but its web interface pulls in an image from their official website that can be used to remotely track usage. This tracking image is added via Javascript and cannot be removed by simply changing a template. It is hard coded into a core class. This tutorial goes through the steps needed to patch the Alfresco WAR file in order to remove the tracking image. It has been tested for Alfresco 4.2c and may need to be adjusted for other versions.

Read More Right Chevron

LtSense – Using Embedded Python for Sensor Networks, Wellington Python User Group

dyject – Python Dependency Injection

The first release of dyject is now out. Dyject is a simple dependency injection module for both Python 2 and Python 3. It had no dependencies outside of the standard Python library and uses a configuration parser to construct and wire objects. You can download packages from pypi, get the source code from githib or view the full instructions and documentation on dyject.com

Big Sense: REST Web Services in Scala for Sensor Networks, Wellington Java User Group

Rear View Mirror v1.0 Released

Rear View Mirror v1.0 is now out. It has an improved option dialog, cleaner update system and MSI installers for both the 32-bit and 64-bit versions. It also has a new website: RearViewMirror.cc.

Invalid partition table in VMWare ESX

Anyone who has expanded a drive in Linux knows it’s a two step process. First, the partition table must be altered to include the new space. Second, the file system must be expanded to make use of the new space within its partition. It’s a fairly straightforward process I’ve done many times, but I ran into an interesting issue when attempting this within VMWare.

Read More Right Chevron

Copy Reddit Subscriptions from One Account to Another

For those of you who use Reddit, if you’ve ever wanted to abandon one account for another, or just copy your subscriptions between your primary and your throw-away account, I’ve written a Python script called copy_reddit. I uses the praw API to copy both subscriptions and friends lists.

Reassigning DNS Entries in Windows/Active Directory using Powershell

Typically, internal DNS entries for websites must be different than the external addresses due to NAT issues. If your organization has a lot of web sites that exist on either a single server or a set of identical servers behind a load balancer, it’s best practice to have all DNS entries be CNAME records to either that particular server’s DNS entry or the entry for a server farm’s load balancer. Recently I was involved in a mass server migration where actual IPs were used throughout a Windows DNS server. The following is a Power Shell script designed to rename DNS records in mass on an Active Directory Domain Controller.

Read More Right Chevron

Signature Verification Between Java and Python

Using public/private key pairs to digitally sign text is a common way to validate the authenticity of a piece of data. However dealing with RSA keys, certificates and signatures can often be a bit overwhelming, especially between two different languages or platforms. This tutorial will demonstrate how to use RSA keys to generate and validation signatures in both Java and Python 2.

Read More Right Chevron

RearViewMirror 0.8.9.3 Released

It’s been a little over a year since I lasted updated RearViewMirror. The new version contains the following features:

  • Options, both global options and individual camera options
  • Ability to play an audio file (wav) when motion is detected
  • Ability to record motion that is detected

RearViewMirror is an application developed to be a fancy cubical mirror. It can support multiple camera and MJPEG sources and pop up a window when motion is detected.