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 [...]

Okay, this took me far too long to figure this out. Mainly due to my own misunderstanding of Python terminology regarding modules (For the record, a ‘module’ is a file not a directory of python files) and mainly because I couldn’t find a specific example for what I wanted to achieve. My goal was this: [...]

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 [...]

Windows Telnet Echo On

I recently pulled my hair out looking for how to enable echo during a windows telnet session. Turns out it’s pretty straightforward (as it usually is…) Get to a command prompt and type telnet At the telnet prompt type set localecho And that’s it.

« Previous Page« Previous Entries  Next Entries »Next Page »