Author Archives: Raymond Mauge

Setting Homebrew User Agent for restrictive proxy

This post is intended to help anyone who is having trouble using Homebrew using a proxy. A symptom of this is the error message: curl: (22) The requested URL returned error: 407 or curl: (22) The requested URL returned error: … Continue reading

Posted in curl, Homebrew, mac os, proxy | Leave a comment

Dancing the Lambada with AWS Lambda or sending emails on S3 events

Introduction The aim of this post is to offer a quick start to using AWS Lambda by using a small application for illustration. It is meant for someone who has some experience using Node.js (although I had very little when … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Advanced Behavior-Driven Development (BDD) using Rest-Assured

Behaviour-Driven Development (BDD) is an improvement over Test-Driven Development, but in more of a social manner rather than in strictly technical terms. Specifically, it enriches the description of how a system should behave under testing by using language that is … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

System arguments in Python Windows Service

I recently had to install a Python applicationĀ as a Windows Service and lost a few hours to a seemingly obvious problem involving arguments. And of course I solved it rather quickly by using an old “trick”; walking away and then … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

The Right of the People to keep and bear infamous language constructs

Having tried Ruby/Rails quite some time ago (2007) and disliking the “magic”, I decided to give the dynamic duo another chance to see what the older me thinks of them today. So far I dislike Ruby less :p. It does … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

The Expert Builder Paradox

It can be a source of argument as to the qualities and experience than one expects to be embodied by an “expert” in any field. I do not want to entertain this argument here; let that lie in the domain … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Monitor a directory for automatic upload to Amazon S3 with S-3PO

My employer has given me permission to open source the application that I developed to move our media to Amazon S3. I think that it can be part of any solution that needs this functionality and I hope that the … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

ManyToOne, OneToMany Indexed Collection Complete Example

Here is the complete code for a ManyToOne,OneToMany Indexed Collection. It took way too long to put this together so I hope it will save many hours for others who need to solve the same problem. package models; import java.util.ArrayList; … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Apache as a front-end proxy to a Play! Application on Ubuntu

Here are some instructions to get a Play Application working with Apache2 as a proxy. I am using Ubuntu 10.04 and assume that Apache has already been installed. Create a file that contains the name of your virtual host at … Continue reading

Posted in Apache, Play framework | Leave a comment

Play! Framework render template shortcut

Sometimes you want to render directly to a known template from a controller. To do this you can use the documented method renderTemplate(String templateName, Object[] args) Doing so requires that the first parameter be the complete path to the template. … Continue reading

Posted in Play framework | 1 Comment