The Johnson Blog

Ramblings of a Computer Geek and his Wife…

The Johnson Blog Header Image

Entries Tagged as 'C#'

iPhone Objective-C for the C# Developer

February 19th, 2010 · 2 Comments · General

If you’re a C# developer making your first foray into the land of iPhone and Objective-C programming, you probably have a question or two.  I recently started working in earnest on an iPhone app, so I figured I would write down some of the tips I’ve picked up thus far. Here they are in no particular order.  [...]

[Read more →]

Tags: ···

More PowerShell – a Cmdlet

September 8th, 2009 · Comments Off · General

This past weekend I spent some time reading up on and writing my first PowerShell cmdlet.   The cmdlet is an easy one, but replaces a PS function I have copy/pasted into several scripts here and there to handle cleaning out directories of old backups or other types of files.  One scenario is my RadioShark which I have setup [...]

[Read more →]

Tags: ···

iTunes is iAnnoying

December 4th, 2008 · 1 Comment · General

Too bad the iPhone makes you get sucked into the world if iTunes – because it sucks.  I knew this going in, but it still isn’t fun when the limitations smack you in the face. The limitation of which I speak is its inability to detect new files in its directories, automatically update its library [...]

[Read more →]

Tags: ··

Unit Testing

March 14th, 2008 · 7 Comments · General

I would love some input on this from you fellow developers out there, as this is something I continue to try and improve on… WARNING, CODE BELOW THE BREAK!

[Read more →]

Tags: ···

Recipe Slideshows

December 10th, 2007 · Comments Off · General

Chef has a feature called Recipe Slideshows which allow you to view a recipe fullscreen in a PowerPoint-like format that’s much easier to read while you’re cooking than the small text of a cookbook, or the regular view of a recipe in Chef for that matter. I’ve had that feature around for a while, but [...]

[Read more →]

Tags: ·····

C# operator== overloading

October 26th, 2007 · 4 Comments · General

I recently came to a situation where operator overloading C# (specifically the == operator) would really be beneficial. Since I’ve typically steered away from this technique, for readability and maintainability, I hadn’t had much experience with it. My overloaded operator looks something like this: static bool operator==(Id<T> a, Id<T> b) { return a.Value == b.Value; [...]

[Read more →]

Tags: ··