Digital Sanctum

Personal blog of Shane Witbeck Tags · Archive · About

2009 Archive

View by year: 2020 2013 2012 2011 2010 2009 2008 2007 2006 All

Solved: Installing Gems from Behind a Firewall

16 Dec 2009
For a few years my team has been happily using Ruby and JRuby in our work for a big international bank. Suddenly, we could no longer install or update gems from behind the...

Amazon S3 Upload with Ruby

25 Nov 2009
Need a quick and dirty way to upload some photos or other files via command prompt? Have Ruby? First, install the Amazon S3 gem: sudo gem i aws-s3 Then, edit the following to...

WordPress to Jekyll

18 Nov 2009
I’ve just completed moving this blog from WordPress to a static site generated using Jekyll. Why the move? Here are a few reasons why I decided to make the move: minimalism - I...

Tools of My Trade

23 Oct 2009
In response to Rubyists - what are your “tools of the trade”? Hardware Mac Pro: 4 core, 2 x 2.66GHz Dual-core Intel Xeon, 7GB RAM Dell 24” LCD Monitor: primary display Samsung 19”...

Running Apache Buildr with JRuby and Nailgun

23 Oct 2009
If your using Apache Buildr for building your projects one of the best ways to gain performance is to run Buildr with JRuby and Nailgun. Nailgun vastly improves the startup time for the...

Add Google App Engine Jars to your Maven Repository

10 Oct 2009
Since Google App Engine for Java came out several months ago I’ve been learning how it works. Since it’s launch there’s been a few releases and for some reason Google only made the...

Testing Your App Using Spring's AbstractTransactionalJUnit4SpringContextTests

02 Oct 2009
AbstractTransactionalJUnit4SpringContextTests is a pretty long class name but it makes easy work of testing a Spring application which uses a database. This post will walk through a quick example of how to use...

Installing Erlang on Mac OS X

01 Oct 2009
I’ve recently been intrigued by RabbitMQ which is an implementation of AMPQ (Advanced Message Queuing Protocol) written in Erlang. Here’s the short and sweet installation instructions for Erlang on Mac OS X: Download...

Solved: java.lang.NoClassDefFoundError: Acme/Serve/Serve

04 Sep 2009
During the setup of testing some RESTful integration tests by extending org.jboss.resteasy.test.BaseResourceTest, I received the following error: java.lang.NoClassDefFoundError: Acme/Serve/Serve Not a very helpful error message is it? This means you’re missing the Tiny...

Location of IntelliJ IDEA Files on Mac OS X

31 Aug 2009
IntelliJ IDEA is my IDE of choice and sometimes it’s helpful to view certain files associated with IDEA. The location of these files are not completely obvious when running on Mac OS X...

HURL: Great Tool for Testing Web API's

24 Aug 2009
If you’re looking for a dead simple web-based tool for inspecting HTTP requests, look no further. HURL has an easy-to-use interface where you can submit URLs with headers and parameters then view both...

Solved: Time Synchronization Issues with Amazon S3

22 Aug 2009
A while back I setup a script to create backups and store them on Amazon S3. Until recently, this has worked great. The script kept bombing with the following error when it actually...

Yahoo Loses Top Talent and Sheds Services in the Wake of MS Deal

13 Aug 2009
Yahoo’s deal with Microsoft recently sparked a lot of interest but perhaps the most interesting events are yet to come. Already, Yahoo has lost top talent like Doug Cutting and have now started...

Convert Plain Text Links to HREF Using Regular Expressions

16 Jul 2009
For a project I was working on recently I had snippets of plain text with links embedded but without the actual HTML code. Here’s some code to get the job done:

Google App Engine for Java: CRUD Operations with JDO and Spring MVC

02 Jul 2009
In a prior post, I provided and introduction to GAE for Java including getting your local development environment setup and uploading your application to Google’s servers. For this post, I will outline how...

JRuby on Google App Engine

30 Jun 2009
I’ve been reading up on running JRuby on GAE (Google App Engine) for Java. Here are some helpful resources for future reference and for others seeking information about this exciting mix. [](**</a> -...

JSTL Expressions Not Working in Google App Engine Solution

24 Jun 2009
If your JSTL expressions aren’t working with GAE for Java, try this quick fix. In your page directive, add isELIgnored="false". For example: <%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>

Google App Engine For Java: An Introduction

08 Apr 2009
A couple of days ago, Google announced that Java was now available to run on Google App Engine (GAE for short). Currently, they are only letting the first 10,000 developers who sign up...

Amazon Announces Elastic MapReduce

02 Apr 2009
Amazon has announced Elastic MapReduce, the latest product under it’s web services umbrella starting at $0.10 per hour. This latest offering leverages two of it’s existing products EC2 (cloud computing) and S3 (simple...

Top 10 Tools and Productivity Tips for the Solo Developer

01 Apr 2009
As a solo developer myself I’ve come to use these tools and techniques to help save me time and be more efficient. I prefer tools which are both cheap and simple so the...

Solution to SIOCADDRT no such process on Ubuntu

22 Mar 2009
While configuring some Ubuntu servers to have a static IP address recently, I came across this error when I attempted to restart the network interfaces: SIOCADDRT: no such process I realized that I...

Installing ImageMagick from Source on Ubuntu 8.04

18 Mar 2009
Here’s a quick and dirty on installing the latest (version 6.5.0-0 as of this writing) ImageMagick on Ubuntu 8.04. Start by removing any old versions previously installed via apt-get: sudo apt-get remove imagemagick...