So this was a fun little project at work that I started to help with my learning the ins and outs of Python. Theoretically, if your job titles and direct reports are kept up to date in Active Directory, you should be able to generate an organizational chart for any level of people. However, it’s […]

Mocking Membership provider

So as usual with so many of .NET 1.0 to .NET 2.0 era classes, Microsoft have made it near impossible to mock out MembershipProvider. The MembershipProvidersCollection class is read-only so you can’t just add your own provider at runtime. No matter! After some time with Reflector and some twiddling with reflection I came up with […]

I was sitting with the problem that every time I connected to my company’s VPN my internet stopped working. After trawling through through a bug on Launchpad, I came across a solution. Basically, do the following: With the Network Manager, under VPN connections, select ‘Configure VPN Connections’ Choose your VPN and select Edit Go to […]

  • Comments Off on Solution for dead Internet when connected to VPN on Karmic Koala

I had a problem with our build process at work the other day. For reasons I won’t go into, our source control is on a different network from the build server and the developers. This means checking out the full source everytime takes too long. So the first solution was not to use the “cleanCopy” […]

  • Comments Off on CruiseControl and slow Subversion checkout time

Splitting mp3s

So about 2 years ago, I bought a Creative ZEN Nano player from Amazon. It worked great for awhile, but now it’s a bit faded and the next/previous scrollwheel is a bit broken. I therefore, I can’t fast forward anymore. Bleh. Being the cheapskate that I am, I didn’t opt for the new version but […]