Git Cherry Pick

by Bill Beckelman 28. July 2010 19:02
My GIT use is for my own personal projects, so I often don’t need many of its features. I used a new one tonight that could not of been easier: cherry-picking. I needed one small commit that I made on my working branch in my master branch. How to do it though? This article was all I needed.

Tags:

Git

Setup a Git Alias for Rolling Back Any Pending Changes

by Bill Beckelman 21. July 2010 22:36
I have a hard time remembering git reset --hard HEAD for some reason when I want to rollback changes to the last commit in my working branch when I go down a path that doesn’t work. Mercurial has an easy to remember command for this hg rollback. Git has a feature called Alias though that you can use... [More]

Tags:

Git

Get the text of a Dropdown’s Selected Item Using jQuery

by Bill Beckelman 5. April 2010 08:03
I always have to look this one up for some reason, so I thought I would put it here to make that easier: $("#Dropdown option:selected").text(); I initially found the answer on this Stackoverflow post.

Tags:

jQuery

Custom ASP.NET MVC Authorization Attribute For Ajax Requests

by Bill Beckelman 1. April 2010 14:34
One issue that I have had for a while that I think I finally solved was what to do with unauthorized jQuery Ajax requests in my ASP.NET MVC application. I finally wrote a custom authorization attribute to take care of the situation. I ran into two issues while constructing the attribute; the first ... [More]

Send Email To a Drop Folder in ASP.NET or ASP.NET MVC

by Bill Beckelman 31. March 2010 13:10
Just a quick tip that I picked up somewhere a while back. Just add the code below to your web config and you don’t have to worry about sending out test emails. It will just drop a .eml file to the folder you designate. You can then open the file and inspect the email with just about any email client... [More]

Policy Signing in C# for Streaming Private Content From Amazon CloudFront

by Bill Beckelman 30. March 2010 12:29
On March 29, 2010 Amazon announced public availability of CloudFront’s private content streaming feature. When I first looked at Amazon’s CloudFront offering a few weeks ago, this feature was one I knew I needed and it wasn’t available so I didn’t look much further. With this announcement, I decided... [More]

Tags:

ASP.NET MVC | ASP.NET | AWS

Log Parser 2.2 From Microsoft

by Bill Beckelman 24. March 2010 08:01
I really like ELMAH for logging unhandled exceptions on my websites. Some of the things that it logs are the user’s IP address as well as the page they were attempting to reach and the referring page that they came from. Sometimes though, this isn’t quite enough and I like to look at the IIS log fil... [More]

Tags:

IIS | ASP.NET MVC | ASP.NET

Wireless Connection Sharing with Windows 7

by Bill Beckelman 22. March 2010 08:50
On a recent trip, my wife and I stayed in a hotel with a single wired connection. Kind of a pain with two laptops. Luckily, I had read about Connectify for Windows 7 somewhere not to long ago which allows you to create a wireless access point from your laptop. I have to say it was an easy setup and ... [More]

JetBrains WebStorm IDE

by Bill Beckelman 19. March 2010 09:44
I have been using the new web IDE from JetBrains (the makers of Resharper) called WebStorm through several of their preview releases now. I have to say I am really impressed. The Javascript and CSS editors seem to be miles ahead of Visual Studio (2008 at least).  They are projecting a beta rele... [More]

Handling Errors During Ajax Calls With ASP.NET MVC

by Bill Beckelman 18. March 2010 12:54
Gracefully handling errors that occur during Ajax calls in a simple yet standard way that didn’t clutter up my methods with a lot of extra code took a while to figure out. I ended up creating an OnException action filter that I place on my controller or methods as appropriate. When an error is thro... [More]

Tags:

ASP.NET MVC


About Me

I live and work in Salt Lake City, Utah. My background is in aviation. I have a degree in Aeronautical Science from Embry-Riddle Aeronautical University in Prescott, AZ. I have worked as a commercial airline pilot and most recently as a technical advisor for a charter airline.