Michael Crosby

Other articles

  1. SecureString How To

    Working with the SecureString class in .NET is fairly easy. This class allows you to keep string data encrypted in memory. Maybe you load connection strings, passwords, or financial data into memory when your application starts or loads an object so the least you can do is use the SecureString ...

    read more
  2. F# Url Shortener

    Every year I try to learn a new language. If you are a one trick pony you are not only limiting your self in opportunities but you are also limiting your thinking to the one paradigm that you know.

    So this year I wanted to learn something very different from ...

    read more
  3. Infrastructure - Part 1


    Running your own infrastructure is awesome, if your a hacker like me. If your a square and you don't want to mess with your own hardware you have two choices if you are going to host your website or services online. If you don't feel like spending ...

    read more
  4. Development Infrastructure

    Having servers that automate much of your development process is cool. Entities living out on the web just waiting to process any task that you throw their way.

    I currently have two servers in my cluster that run my network. Everything from my public web sites, to mongodb and Postgresql ...

    read more
  5. web.py server setup

    Python is my favorite language to work with. It is so versatile. I can automate tasks, write quick scripts, process data, and even run a web application. It is very portable and I love the syntax. For a web framework I use web.py because it stays out of your ...

    read more
  6. Objective - C LINQ

    I have been working on two iOS applications over the past few days and have been longing for a LINQ like syntax in Objective-C. LINQ is an amazing way to work with collections and it really adds a productivity boost to your coding. Since Objective C does not have LINQ ...

    read more
  7. Objective C Design Patterns - Factory

    Design patterns can help you solve complex coding problems with proven solutions. This will be a mini series about different design pattern implementations in Objective - C. I will be using a simple console app and updating the code on github with each new pattern.

    Factory Pattern

    This pattern provides a ...

    read more
  8. CodeAssistant

    My second application was published this week.


    CodeAssistant is a simple tool to test code snippets in virtually any language on Windows. It has been in development for four months and has been a great learning experience for domain driven development and .NET's WPF.

    The application is build on ...

    read more
  9. Multithreading in C#

    From my point of view the reason why we create multithreaded applications is so the user experience does not suffer. We have operations that need completed but running these on the main thread will block the UI and piss off our users.

    Most of the operations have some similarities. Atleast ...

    read more
  10. tCal - iCal events in terminal

    I just puked up some old code for a little app that displays your iCal events in the terminal. I have it as one of my startup scripts so when I start a new bash session I see my events for the next 7 days. It's a very simple ...

    read more
  11. Bash Informational Startup

    If you use Terminal on your Mac like I do. It is the first application that is run at starup and the last to close. When you start Terminal in a new window or tab that is a great time to review your computer stats, iCal events, and disk sizes ...

    read more
  12. Compile Vim for Python


    I just added the newest MacVim compiled for python using the 10.7 Lion SDK. You can downloading it below.

    If you want to use the Python auto complete in vim then you have to compile vim for python on your system. If you are running OSX I have ...

    read more
  13. Python talking to Arduino

    I just setup my Arduino with an LCD display. You can follow the tutorial here to get the LCD and board wired up. We will also be using the sample code from that tutorial.

    The Problem

    The issue that I ran into was displaying messages from the Arduino IDE's ...

    read more
  14. How to manage your website with git

    So this is much easier if you have a static site that is generated using pelican or jerkyll. Both of these apps are great for generating blogs out of markdown or other simple text markup language. I use pelican because it is built with python and that is what I ...

    read more
  15. AVAudioPlayer Memory Leak

    This is a little bug in the AVFoundation framework. When using the AVAudioPlayer in you will get memory leaks when running in the iOS Simulator but not on devices.

    It is a pain whenever you do most of your testing on the desktop during development and then start testing on ...

    read more
  16. SVN to GIT and Extracting Individual Projects

    This post is still not formatting. I switched from worpress and this is a long post and have not had time to update it.

    So here is the issue. You first started to use version control and because you were coding solo and the low learning curve, you started to ...

    read more
  17. Setup your own Git Server over SSH

    The thing about dvsc that makes me nervous is that all the code and revision history is on your local computer. This makes it very fast when committing, branching, and merging but what if you have a drive failure or worse? All your code is gone if you don't ...

    read more
  18. Flex 4.5 vs Pure AS3

    I have built a few applications for Android using the Flex framework. It is a great framework and I can build, test, and publish apps very quickly. It takes productivity to the max.

    However, I have noticed that some of my apps take a noticeable time to launch on my ...

    read more
  19. Setup Password-less Login over SSH

    Everyone needs a fast instance in a datacenter to work with. Amazon's EC2 or any other VPS provider will give you access. Sometimes you need to transfer files around fast or do some data processing. Having a fast instance will help you get your job done faster.

    I have ...

    read more