Tag Archives: Stupid

State List in Dictionary Form

Tired of having to look this up from time to time, so I’m putting this here for my own use. If you get something out of it, good for you. In the end, I really don’t care. public Dictionary GetAllStates() { if(_stateList == null) { _stateList = new Dictionary(); _stateList.Add(“Alabama”,”AL”); _stateList.Add(“Alaska”,”AK”); _stateList.Add(“American Samoa”,”AS”); _stateList.Add(“Arizona”,”AZ”); _stateList.Add(“Arkanas”,”AR”); [...]

Leave a comment Continue Reading →

What I Hate About Programming

Lately I have been screwing around with creating a blog framework using MVC and jQuery, the former being more troublesome from a design stand point. For example, The use of controllers and actions can cause a great deal of second guessing. Do I put all the admin view attached actions, like one for viewing a [...]

1 Comment Continue Reading →

jQuery Whack-A-Mole… Timer, Hide, Slide, and Fun

So I’ll just straight up file this under “I really shouldn’t have” and not bother asking for forgiveness. For some reason I had it in my mind I wanted to see if I could take the stuff I learned from this guy and this guy and see if I could make a simple Whack A [...]

Leave a comment Continue Reading →

Programmer: Hero to All or Digital Masochist?

Ok so it hit me the other day when I was asking myself why I program. Basically I’ve hit that point in my career where I am starting to re-evaluate what the s— I’m doing and why I’m doing it. Actually it was more like me lamenting over my current path and I came to [...]

Leave a comment Continue Reading →

ConfigurationManager And AppSettings… A Wrapper Class Story

You can file this under “Do I really need this?” but for now I kind of like it. That, however, may change in the next hour. The idea is simple, create a class that uses the ConfigurationManager AppSettings NameValueCollection (Triple Combo!) but only presents properties that represent the keys in the .config file. This way [...]

3 Comments Continue Reading →