RSSAmplifier

Blog

Peek and Poke

peekandpoke.wordpress.comRSS feed ↗10 posts

Latest posts

Defining a new TypeScript Type by extracting string literal values of an existing object

Many times we need to use string literals that only exist in another object in TypeScript. Examples include: use in a database lookup table or displaying in a GUI. The alchemy of the syntax to achieve this can appear a Continue reading

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

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

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

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

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

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

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

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

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