Implementing a Generic Stack in C

In a previous post I went over how we could create a generic linked list implementation in C which would allow the caller to determine that type of information stored in the list (via a void *).

Yes, go on... ›

Implementing a Generic Linked List in C

Because I am a totally shameless nerd, I find myself writing applications in C from time to time just to make sure I still can. Aside from iOS development, I rarely have to work with C directly (without the help of a superset like C++ or Objective-C), but every once in a while I like to try and challenge myself to write an application in pure C.

Yes, go on... ›

Application Templates for Rails

Frequently I find myself creating basic rails apps to demonstrate a new feature, or prototype something for a spike test. Every time I created an app, I would run rails new -T, then add RSpec, Cucumber, Haml, possibly Bootstrap, etc.

Yes, go on... ›

Changing Your Windows 8 Product Key

I just recently installed Windows 8 on my home computer. During the installation process, I was not asked to provide a product key. This led to me not being able to activate Windows after the installation process.

Yes, go on... ›

MVC Razor Helpers using Delegates

Once in a while, I find myself implementing the same helper functions in different pages. In an effort to not repeat myself, I generally move helper functions into a common cshtml file in App_Code (as suggested here. While this works great for a single application, I’ve found myself copying helpers from project to project.

Yes, go on... ›

Efficient, Thread-Safe Caching with ASP.NET

Let me start by saying that I’ve made this mistake on many occasions in the past. I just assume that static/shared objects are thread-safe. Things like HttpContext.Current.Cache...OOPS!

Yes, go on... ›

Set up a Subversion Server in EC2

I recently wanted to setup a subversion server. Initially I thought of using Beanstalk since they handle pretty much everything for you for a very small monthly fee. However, I thought I might set up my own server in order to learn the process.

Yes, go on... ›

NSDate from OData

Recently I've been working on an iOS project that loads data that we publish via the Open Data Protocol.

Yes, go on... ›

Showing Enums as a Select List in MVC and Razor

Recently I needed to show a drop down list of all of the enumeration values. So I did what we all do and hit up Google. While there was plenty of information out there detailing how to convert the enum to a Dictionary<int, string> and render it, I couldn't find something that fit my needs.

Yes, go on... ›

Global Namespace Includes with MVC3 and Razor

While I'm loving MVC3 and the Razor view engine, I was sorely disappointed when I couldn't use the system.web/pages/namespaces collection in web.config to add global namespace includes.

Yes, go on... ›