Tag Archives: HowTo

Java BDD with JBehave and Watij in Eclipse with JUnit

The purpose of this post is to explain how to write BDD acceptance tests in Java using the gherkin syntax, run those with JUnit and implement them using Web Browser automation. Before I begin let me assure you that I …

Read more »

Client-Side XSLT Transformations with JavaScript

I bet you haven’t ever thought of doing XSLT transformations inside the Web Browser on the client-side, but anyway it’s absolutely possible (cross-browser) and it performs pretty well as well, which shouldn’t be a big surprise since the browser is …

Read more »

Logging JavaScript Errors with ELMAH in ASP.NET MVC

One final piece of information I wanted to add to my last blog post about setting up ELMAH for ASP.NET MVC is how to log Client Side/JavaScript errors with ELMAH. To do that we need to: 1. Because ELMAH works …

Read more »

ASP.NET MVC Magical Error Logging with ELMAH

If you aren’t using ELMAH (Error Logging Modules and Handlers) you should be - http://code.google.com/p/elmah/ It’s the best thing since sliced bread for logging ASP.NET errors with practically zero effort. It basically plugs into the ASP.NET pipeline and logs all unhandled exceptions thrown and …

Read more »

Storing Date and Time in UTC and the definition “Today”

Storing date and times in UTC on the server side is all nice and dandy, however there are a few gotchas, one of which the definition of “Today” when you a dealing with time zones. Say we are dealing with …

Read more »

How to import a database schema into SQL Server Express with Visual Studio

Today I needed to import my SQL Server schema into a SQL Server Express instance on a different machine. I only have Visual Studio on this machine and no SQL Server Management Studio installed, so it took me a bit …

Read more »

HowTo Disable the Unsigned Security Warnings on Windows Mobile

The security warnings when deploying unsigned applications from Visual Studio to a real Windows Mobile device can get very annoying. Thankfully they can be disabled with a hack and here is how. Using the Remote Registry Editor supplied with Visual …

Read more »

Multiple Network Connections at the Same Time on Windows

In my scenario I have one Wireless connection for my Internet and one LAN connection to a small private network of my own with my NAS, PS3 and TV and I want to have them both at the same time. …

Read more »

Resize a VirtualBox Virtual Disk HowTo

It is not possible to increase the maximum virtual size of a VirtualBox VDI HDD once it is created. The only way I found to do it is to create a new larger VirtualBox HDD and use GParted to copy …

Read more »

Git automatic smart ChangeLog merging

This might be old news for some, but there is a merge driver for Git that can automatically perform smart merges of ChangeLogs. I’ve used it for months now and it has always worked flawlessly. 1) Install git-merge-changelog which is …

Read more »