Three20 And Custom NIB TableViewCells

I am pretty new to Objective-C development and iOS development in general, but in my effort to fill small gaps on the internet with useful information, I believe I have found a small area that hasn’t had much love. If you are unfamiliar with iOS development you may have never heard of Three20. Three20 is a framework developed by Facebook and used in the creation of Facebook’s iOS app. It can best be described from their own site: ...

August 23, 2011 · 4 min · 787 words · Nick Berardi

Reducing the size of a VirtualBox hard drive

Often times I have run into the situation where I need to share a VM image with a co-worker or store as a base starting point. Case in point today I needed to create a SharePoint 2010 on Windows 2008 R2 image for some classes and development I will be doing in the next few weeks. After getting done with the base install I was left with a large footprint on my hard disk of the virtual hard drive that I know could be reduced in size. So here are the steps I took to reduce the size of the virtual hard drive. ...

July 7, 2011 · 3 min · 439 words · Nick Berardi

Thought This Was Funny

June 30, 2011 · 0 min · 0 words · Nick Berardi

Ways to deal with litigious people

Recently I just got out of a contract in the beginning of June, that unfortunately I stayed at way too long in. That is another story. But, I have nothing bad to say about the company because the work was interesting, just management at the company had different views of the contract between the two of us. The management wanted an employee and I always maintained that I wanted to stay an independent contractor. ...

June 13, 2011 · 5 min · 945 words · Nick Berardi

JustCode makes coding just better

I wanted to hold off writing this post, because I wanted to be impartial to the product as possible. However, when I first installed Telerik’s JustCode, I instantly knew that this was the productivity enhancement tool for me. Let me back up a little, over the years I have given ReSharper and CodeRush more than enough latitude to impress me and after using them for 3 months or more at a time I always end up just uninstalling them. And I constantly repeated this process over and over again, start with naked Visual Studio, get antsy want to try something new install ReSharper, get fed up, uninstall, install CodeRush, get fed up, uninstall, repeat. ...

June 3, 2011 · 4 min · 724 words · Nick Berardi

.gitconfig

I have been using GIT for about a year now, and over the last year I have configured some things in GIT that make my life as a developer much easier. This post is going to show you my .gitconfig and hopefully accelerate your own configurations of GIT. Finding the .gitconfig file Note: all of this below assumes you are using msysgit. If your are not using msysgit, your mileage may vary. ...

April 18, 2011 · 3 min · 545 words · Nick Berardi

Adding Git Command Line To Visual Studio

If you are an avid Git user like I am, but also happen to work in a Visual Studio environment, you know that getting to your Git Bash command prompt is anything but easy. My typical process looks probably something like yours: Open Visual Studio Open your project you are working on Right click on a folder in the project and choose “Open Folder in Windows Explorer” Back your way up through the folders in Windows Explorer till you get to the parent folder that is the root of your project. Then right click on the root folder of your project and choose “Git Bash Here” Start using Git Bash To me this process got so annoying and tedious that I finally decided to explorer other options to get to my Git Bash prompt. The best one that I have come up with so far and works perfectly for me is adding the Git Bash as an “External Tool” in Visual Studio. To get started you will need a couple of things: ...

March 17, 2011 · 3 min · 447 words · Nick Berardi

A Smarter Entity Framework Include Method

One of the things I have always disliked about Entity Framework and their support for LINQ is that while your whole LINQ statement is compile time checked to make sure you didn’t fat finger any SQL statement, the Include() statement is not. How many times has something like this happened to you? var account1001 = (new AccountEntities()) .Accounts.Include("Userx") .Where(account => account.Id == 1001) .SingleOrDefault(); You might have noticed in the above that I probably wanted “Users” instead of “Userx”. I don’t know about you but this happens to me all the time, and if the code was just compile time checks like the rest of the LINQ statement everything would be great and I would instantly catch the bug when the code was compiled. ...

February 27, 2011 · 2 min · 377 words · Nick Berardi

Anybody Know How To Fix This Problem?

Ever since I uninstalled Team Explorer 2010, I am receiving the following error: --------------------------- Microsoft Visual Studio The ‘Microsoft.TeamFoundation.Client.ServicesHostPackage, Microsoft.VisualStudio.TeamFoundation.TeamExplorer, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ package did not load correctly. The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file ‘C:\Users\Nick\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml’. Continue to show this error message? Yes No Does anybody have any idea how to solve this?

February 22, 2011 · 1 min · 86 words · Nick Berardi

NuGet Fluent Cassandra

Fluent Cassandra is now available via NuGet. If you have never heard of FluentCassandra then go here to learn more: http://coderjournal.com/2010/06/your-first-fluent-cassandra-application/ If you have never heard of NuGet then go here to learn more: http://nuget.codeplex.com/wikipage?title=Getting%20Started

February 21, 2011 · 1 min · 35 words · Nick Berardi