Custom constructors with mixins to add event bindings in JavaScript


Using a custom constructor with Object.create(), you can mixin methods that allow you to bind event handlers to method execution in JavaScript classes. How does that work? Read on ...

Add a local repo to GitHub

CLI, Git

If you have a local repo that you want to add as a new project to GitHub, follow these simple steps:

1. Log in to Github.

2. Create a new repo. Do NOT initialize the repo with a README file.

3. Copy the endpoint URL for the repo.

4. On the command line, type:

git remote add origin git remote -vgit push origin master

Installing Lucee on Tomcat 7/OS X

Java, Lucee

Lucee Server ( is a new application server that sits on the JVM. The server can be downloaded as a war file and installed on Apache Tomcat (or any other servlet container) with just a few simple steps. This method is based on a blog post by Sean Corfield on installing Railo on Tomcat

Shell script to start and stop Lucee and Nginx

CLI, Lucee, Nginx

I have been working on my shell programming and thought I would write a script to start and stop my Lucee (Tomcat) and Nginx servers at the same time as a convenience. You can substitute process names and program commands if you want to use the script with a different combination of programs. This script should work on any system supporting ps, grep, and awk, e.g. linux and OS X.

Reading and Writing Binary Files to MongoDB/GridFS with Lucee

Lucee, MongoDB

MongoDB  offers an alternative to traditional database stores. It also offers an alternative persistence store to the file system for storing binary files on the server.

Lucee MongoDB Extension

Lucee, MongoDB

With the release of Lucee, Micha Offner announced on the Lucee Google Group the availability of the MongoBD extension released as an open source project on BitBucket under LGPL 2.1 I installed the extension to Lucee and immediately came across a difference in my existing code that has required some updating. Specifically, using the $aggregate operator in Mongo led me to some syntax that would not be normal in the mongo shell.

New Open Source CFML Server - Lucee

CFML, Lucee

There is a new kid on the block in the land of open source CFML engines. Lucee 4.5 rolled out yesterday and generated immediate buzz in the CFML community. Lucee is a fork of the popular Railo CFML engine, brought to life by many of the same people that created and maintained Railo over the last several years. 

Build Nginx on Ubuntu - Adding SPDY, Updating Nginx, OpenSSL, PCRE

CLI, Linux, Nginx, Ubuntu

Keeping up with server updates can be complicated and time consuming, but its importance can't be overstated. Recent attacks against OpenSSL have necessitated emergency patches from the OpenSSL team. The latest OpenSSL version, 1.0.1j, patches recently discovered vulnerabilities, so we are updating to the latest version of OpenSSL. Note that the latest version of Nginx also supports building with BoringSSL and LibreSSL if you prefer those libraries.

A Working Eclipse Theme is Hard to Find

Eclipse IDE

I have been looking for an Eclipse color theme that was light rather than dark but still easy on the eyes. I could not find one that I like that made searches and highlighting visible and distinct from the surrounding code, so I made one myself. It is based on a theme that copies the Notepad++ look, but this theme uses beige tones instead of white and gray tones for backgrounds, search highlighting, etc.

You can grab it here:

Installing Python on OS X Mavericks with Homebrew


I've just hit a bug in the build system on OS X Mavericks that looks to be due to an update of XCode 6.1. The bug is causing the build process for Python via Homebrew to fail. This is a known issue - apparently XCode 6.1 always favors the OS X 10.10 SDK, even on OS X 10.9.

Hopefully this issue is resolved soon. Until then, if you run into this problem, you have two choices:

- Upgrade to OS X Yosemite (available free on the App Store)

- Download XCode 6.01 from the Apple Developer Site:



Recent Entries

Entries Search