Browsing articles in "Languages"
Mar
21
2013
C# // PHP

Unique Hash (Tiny Code) ported to C#

base62x

In my search for efficient algorithms that create unique indexes based on arbitrary values, I found this wonderful snippet of code on a Developer’s blog. It seems useful when creating unique identifiers that need to be publicly visible while still creating some obfuscation as to how they are sequentially calculated. Since this solution uses base 62 numbering for the result it will also use less characters when dealing with larger values in a string. This method is definitely not […]

Sep
10
2011

Customize App Button for Ultratoolbar

Custom Toolbar App Image

Simple problem. Simple Solution. You’re using the Infragistics Ultratoolbar control to get that Microsoft Ribbon going and you want to customize the App Button’s image, but when you set a custom image as the AppButton in the toolbar it doesn’t look as good as the default Infragistics button. Default App Button Display and Functionality While the default image encompasses the entire button and has a fading mouse over effect , a custom button will leave […]

Aug
14
2011

Hacked: CSS & JS Compression on GoDaddy

Internet Security

Let me welcome you to the first post on our new blog. Here is “The Situation”: You have a website hosted on a shared hosting environment like GoDaddy or any other Apache environment that doesn’t support mod_gzip and mod_deflate and you wanted to serve those big CSS and JS resources as compressed, that way your users get a faster and more efficient experience. The following is a very popular method of transparently compressing and sending […]