Skip navigation

Monthly Archives: May 2011

I have finally caught the JQuery bug. Although I’m not really a fan of javascript, or web development, it’s just too easy to build UI interactions with it. I built an interface with it yesterday after just watching some demos…

This is actually really useful. I may actually set this up to be an extension method on system.string.


So, I didn’t EXACTLY check the code at the URL above to see if it was working…it’s not. And TECHNICALLY I need to convert hyphen delimited strings (such as an LDAP proper schema object name) to Hungarian Notation which is caml case with a leading lower case letter (for a proper ldapDisplayName value).

MY BAD. You caught me. You’re a better programmer than me. To qoute ‘Pretty Woman’:

“Very well, sir. You’re… not only handsome, but a powerful man. I could see the second you walked in here, you were someone to reckon with…”

private static string ConvertToLdapDisplayName(string p)
    string prefixThatShouldBeLowerCase = "";
p = p.Replace(prefixThatShouldBeLowerCase, prefixThatShouldBeLowerCase.ToLower());
string[] testArr = p.Split(new char[] { '-' });
StringBuilder sb = new StringBuilder();
foreach (string s in testArr)
if (s == prefixThatShouldBeLowerCase)
string camlCase = s[0].ToString() + s.Substring(1).ToLower();
return sb.ToString();

This is too awesome for words. I can’t wait to start tinkering with ACS.

This site has a cool feature where you can hover your mouse over a part of the expression and it will highlight an english language explanation of that part.

Did you know that regular expressions are a type 3 Chomsky–Schützenberger grammar? I know…shocking, right?

As this is the system with which I earn my living hopefully I can get in on the CEP program.

This is gold.

You can edit the applications config file (usually some thing like application-name.exe.config) with “<runtime><enforceFIPSPolicy enabled=”false”/></runtime>”.

This is a handy compendium of HTML 5 adoption by browser.