Uhleeka - uhleeka.com - UH.LEE.KA
General Information:
Latest News:
Git Sparse Checkout 9 Aug 2013 | 06:11 am
From the root of your local git repo: Validate:
SharePoint 2010 SPSecurity.RunWithElevatedPrivileges HandleAccessDenied 21 Jun 2013 | 01:50 am
The Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges method enables you to supply a delegate that runs a subset of code in the context of an account with higher privileges than the current us...
C# Hash String to Hexadecimal String 30 May 2013 | 05:18 am
Outputs a 40 character hexadecimal hash string using the MD5 algorithm.
C# Thread.Sleep(TimeSpan) to Run Every 10 minutes 29 May 2013 | 12:36 pm
Based on truncating a DateTime to the second in C# while preserving the “Kind” (Local, UTC, Undefined): Thread.Sleep until the next 10 minute mark (e.g. Run every 00, 10, 20, 30, 40, 50 minutes): Cr...
JohnnyA WordPress malware on MediaTemple 15 Jul 2010 | 09:03 am
My MediaTemple (gs) account got hit by JohnnyA a couple weeks ago. I assume that it occurred because I was slow to update my WordPress to version 3.0. Lucky for me, I actually looked at my blog only 4...
Less than percent colon – code render blocks in ASP.NET 4 May 2010 | 09:49 am
ASP.NET 4.0 introduces the following code render block syntax: The search terms “less than percent colon” and “less than percentage colon” did not turn up anything for me in google, but thanks to sta...
Essential Freeware 29 Jan 2010 | 10:45 pm
Firefox – web browser http://www.mozilla.com/en-US/firefox/personal.html Firefox plugins Adblock Plus – https://addons.mozilla.org/en-US/firefox/addon/1865 BetterPrivacy – https://addons.mozilla.o...
Generic List<T> to DataTable using Reflection 28 Jan 2010 | 05:31 pm
The following function takes in a System.Collections.Generic.List<T> and returns a System.Data.DataTable with the properties (via reflection) of T as columns.
C# Serialization 28 Jan 2010 | 05:15 pm
Xml Serialization and Binary Serialization to a Base64 string Xml Serialization Snippit: Take a serializable object and serialize it into an xml string, stored in a System.Text.StringBuilder Binary...
VirtualBox 3.1 – Install Windows XP Guest on Ubuntu 9.04 Host 16 Dec 2009 | 04:50 pm
VirtualBox 3.1 significantly changed the way that harddisks, dvd/cd drives and floppies are mounted. The following steps are to install Windows XP as a guest on an Ubuntu 9.04 host with a IntelAhci SA...