Archive for October, 2009

C# different ways of declaring a delegate

By admin - Last updated: Friday, October 30, 2009

Lambda is quick and sweet. class DelegateTests     {         public void Run()         {             // there are many ways to call method Test             // 1, declare Func<int, string> delegate             [...]

Quick Programming References

By admin - Last updated: Friday, October 30, 2009

Ajax, C++, Java, Python, PHP, Perl, ASP, Unix, Ruby, Google, HTML, CSS, XML etc Actionscript Quick reference/Cheatsheet for ActionScript 2.0 Ajax What’s Ajax? Cheat Sheet — PDF Prototype Dissected — Cheat Sheet PNG scriptaculous Combination Effects — Cheat Sheet — PDF Apache Apache Cheat Sheet htaccess Cheatsheet mod_rewrite Cheat Sheet — PNG mod_rewrite Cheat Sheet [...]

SQL XML, select from xml using nodes() function

By admin - Last updated: Thursday, October 1, 2009

Very handy function that helps me move small data around. DECLARE @myXml AS XML SET @myXml = ‘<ArrayOfProduct>         <Product id="1">                 <Description>test1</Description>         </Product>         <Product id="2">                 <Description>test2</Description>     [...]