Through a crafty use of the string.slice function you can use a negative index to chop off the end of the url. This way you don’t have to check to see if there’s even a query string to chop off—no tedious substring length calculations.
Through a crafty use of the string.slice function you can use a negative index to chop off the end of the url. This way you don’t have to check to see if there’s even a query string to chop off—no tedious substring length calculations.
The null-coalescing operator in C# allows you to check if a variable has a null value and on-the-fly provide a default value in its place.
The .NET DateTime class has a handy CompareTo function that allows you to compare two DateTime objects. However, it’s not always easy to remember how the result relates to the relationship between the two DateTimes being compared.
Using Statements are a great way to avoid memory leaks in C#. This article explains what is happening functionally behind the scenes.
Performing find and replaces with regular expressions is a very powerful tool. Visual Studio has a few special ways of accomplishing this that vary from typical Regex practices.
These sets of icons were developed for The Stalwart Order in Star Wars: The Old Republic and House Stalwart in World of Warcraft. The WoW guild had an iron cross logo for a while, but the SWTOR group didn’t have…
At the end of 2011 I had a West Point student referred to me to design their company patch. He said they were the A-1 company, they had chosen “The Axemen” as their name and “If you’re not first, you’re…
Back in 2011 a friend of mine referred someone to me for some logo work. The client was seeking a fresh new logo for the St. Mary’s College Writing Center. They weren’t too terrible picky about the design, but did…
There are two schools of thought to developing applications that can reach a wide variety of users: Graceful Degradation and Progressive Enhacement. Each addresses the issue of contemporary expectations
In my budding attempts at photography inspired by a friend’s wedding, her sister allowed me to take several different shoots of her boys. Between these two photogenic dynamos and my fancy new Canon T2i, I came away with several fantastic…