Archive for October, 2009
C# different ways of declaring a delegate
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
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
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> […]