Programming & Development

  • Simple URL ReWriting/Mapping in IIS7

    There’s an easy alternative to other over-complicated solutions on the web if your mappings are simple/static and/or you have a spare grunt to quickly and easily keep them updated without having to write a line of code. In web.config add:… Continue reading

  • Lorem Ipsum Text

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu massa sapien, aliquam adipiscing est. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque aliquam sapien sed mauris tristique vehicula sagittis justo vulputate. Cras eu urna… Continue reading

  • Quick Regex Reference

    Commonly Used: Get Top Level Domain of Email: Continue reading

  • Defend and Fix your site attacked by “lizamoon” and other types of SQL Injection

    Before I discuss some of the more technical details regarding defense against “lizamoon” and similar attacks, an important note I would like to make to any business executives who may stumble across the article or hear it secondhand: PCI if… Continue reading

  • Create an Uninstall Shortcut for Windows Installer in C#

    When utilizing the windows installer project type bundled with Visual Studio I was very surprised to find there was no simple functionality to add an uninstall shortcut. Instead, there are a few workarounds, some better than others but overall going… Continue reading

  • Burn Hybrid CDs using Free Tools

    CD Burning in general is supported in most operating systems right out of the box. However, if you’re looking for a free alternative to features which are otherwise considered “premium”, like burning hybrid CD’s that work on Windows and Mac… Continue reading

  • Ruby Quick Code Reference

    CRUD: Create (alternate syntax): Read (alternate syntax): Update (alternate syntax): Delete (alternate syntax): References Railsforzombies.org Continue reading

  • Access Denied on File Delete or Cannot delete file

    If you receive an “access denied” message on your PC, whether in Windows or Linux, which occurs when trying to delete or modify a file, it can usually be narrowed down to a few reasons: – The file is marked… Continue reading

  • Change ReadOnly File Attribute in C#

    Keep in mind when deleting files from code the typical override allowing users to delete anything in their path, whether it is marked readonly or not, will prevent your IO process from continuing and throw a nice little generic “access… Continue reading

  • Left in C#

    The C# way, using substring: After adding a reference in your project to “Microsoft.Visualbasic” under NET tab: See reference below if you’d alternatively like to save a few keystrokes and create your own generic re-usable function called “Left” in C#… Continue reading