S3 Policy - Enforcing default SSE-S3 encryption

So you've setup default encryption on your bucket using the standard SSS-S3:

»
Author's profile picture Will Dampney on aws, s3, encryption, security, and s3-policy

Notes on Windows Bash

I've been using the Ubuntu flavour Windows Linux Subsystem for over 6 months now, and its now an essential tool to my workflow. Coming from a Linux and Mac background, having a tool offering similar features is a massive bonus.

»
Author's profile picture Will Dampney on productivity, windows, and bash

Nothing Doesn't Go In Here

On Episode 247 of Back To Work, Merlin Mann and Dan Benjamin discussed how to take control of your paper journals and notebooks. Free yourself from the tyranny of the clean, empty notebook! Merlin makes specific reference to the philosophy behind Wreck This Journal by Keri Smith. What an absolutely brilliant idea!

»
Author's profile picture Will Dampney on productivity and podcasts

Making taglibs more testable in Groovy & Grails - a better way to construct using Groovy Builders

Writing custom taglibs can easily become messy - explicit HTML, appending ad-hoc strings to a StringBuilder, adding attributes based on tag arguments can easily turn relatively simple code into an unmaintainable mess. Not to mention trying to trace logic paths to track down bugs..

»
Author's profile picture Will Dampney on software-development, code-quality, and grails

Grails 2.5.0 - Disabling autoTimestamp during Integration Tests

At some point between Grails 2.2 and 2.5, the functionality around the autoTimestamp flag has changed in a way that has caused it to not function during integration tests. What this means is that if you are testing integrations that involve the creation of a domain that has the autoTimestamp flag, you may be hit with not-nullable errors:

»
Author's profile picture Will Dampney on software-development and grails

How to use Tomcat 7 Host Manager

Tomcat Host Manager is a web application inside of Tomcat that manages Virtual Hosts within the Tomcat application server.

»
Author's profile picture Will Dampney on software-development, web-applications, and tomcat

jQuery plugin for collapsing content - readmore.js

If you're looking for a simple method to collapse and expand blocks of HTML content, I highly recommend the jQuery plugin readmore.js by Jed Foster.

»
Author's profile picture Will Dampney on web-development and jquery

Audio synthesis with Web Audio intro - Stylophone

Stuart Memo has recreated the short-lived, stylus-operated Stylophone in HTML5, using Web Audio and his own vector-drawn keyboard library qwerty-hancock to demonstrate the basics of audio synthesis with the Web Audio API:

»
Author's profile picture Will Dampney on web-development and html5-audio

Converting an existing javascript file to a require.js AMD module

Require.js is a Javascript module loader, helping to reduce complexity of applications by managing dependencies and allowing easier separation and organisation of code into modules.

»
Author's profile picture Will Dampney on web-development and javascript

Using Regular Expressions in Objective C

As of iOS 4.0 and OSX 10.7, Apple provides a class NSRegularExpression which implements the use of regular expressions in Objective C.

»
Author's profile picture Will Dampney on software-development and iphone-development

Loading external javascript into Blogger

Unfortunately, Blogger doesn't make it particularly straight-forward to include 3rd-party scripts in my blog. Things like Alex Gorbatchev's syntax highlighter or other externally-hosted scripts (e.g. Google code, github etc.) I may want to be available in all my posts. There are a few options to get javascript into a post:

»
Author's profile picture Will Dampney on web-development and javascript

Add some color to your Jira logs!

Tired of the old black and white run-of-the-mill log files? Well have I got the solution for you!

»
Author's profile picture Will Dampney on software-development and system-administration

Using an email server in your unit testing

How to interact with Apache James in integration tests

At times, I have the need for my development testing to interact with an email server (e.g. testing cgi-bin scripts, JIRA mail plug-ins), to verify that emails are sent and received by either my components or external systems. I found that Apache James was quick to get up and running, with very little configuration.

»
Author's profile picture Will Dampney on software-development and code-quality

Integration testing of a custom JIRA CreateOrCommentHandler email processor

I'm working on a customised email handler (based on Atlassian's original CreateOrCommentHandler class), that extends some of the available parameters to enable our team to better handle their Jira loads.

»
Author's profile picture Will Dampney on software-development, atlassian-jira, and code-quality

Using WebDriver, jBehave to test dynamic web forms

I've been updating an ancient yet integral Perl form handler script (based on bnbform), and I will be introducing some fairly significant changes. Thus I'd like to make sure I don't introduce any errors, or changes that would affect existing forms on our site.

»
Author's profile picture Will Dampney on software-development, web-development, and code-quality