Copy code as HTML from VS 2008 into Live Writer
The best option for me is this:http://copysourceashtml.codeplex.com/http://www.squaredroot.com/2008/01/07/Copy-Code-to-Clipboard-Extension-for-BlogEngine/Technorati Теги: VS 2008,AddIns
View ArticleC# - the fastest way to iterate over dictionary
Having a big dictionary, say 1M of <double,double> samples – what is the fastest way to iterate over it? Comparing 3 options (iterate over KeyValuePair in the dictionary, iterate over Values...
View Article::boost for C# - Umbrella
Nice project: http://umbrella.codeplex.com/. Provides many components similar to the ::boost basics (like bind()...) - for C#.Technorati Tags: C#,C++,::boost
View ArticleExcellent guide on hosting wcf in asp.net iis environment
www.leastprivilege.com - Hosting WCF Services in ASP.NET - The Survival GuideTechnorati Tags: WCF,IIS 7
View ArticleSolution for "Impossible to log SQL 2008 performance counters under Windows...
Alex Pinsker: Impossible to log SQL 2008 performance counters under Windows 2008 64 bit?Here is solution, found by our DBA:1. Open regedit.exe2. Find the key...
View ArticleSome photos from Think Next 2010
Some photos from Think Next 2010:Portable sonar device, enable to show people locations through walls:Big touch-screen device:Technorati Tags: Think Next 2010
View Article16 years of survival in extreme conditions - in 43 sentences
Below is my (partial) translation of a short story written by Varlam Tihonovich Shalamov who was prisoner of Gulag camps from 1937 till 1953. It’s called “What I have seen and understood in jail”. 16...
View ArticleFree eBook’s from Red Gate
Please visit here for the full list with descriptions. Below some links:Mastering ProfilingBest of SQL Server centralDefensive Database ProgrammingThe SysAdmin handbook.NET performance and...
View ArticleFallen giant
Few photo subsets from this blog: “Heroic deeds live in eternity” – are they?
View ArticleSubset of TED lectures on health
(with bits of practical information)http://www.ted.com/talks/gregory_petsko_on_the_coming_neurological_epidemic.html– drink coffee, no strikes/box, no avian flue, low pressure, 3 grams of omega-three a...
View ArticleWorkforce turnover around me (LinkedIn stats)
Following to LinkedIn data 57 out of my 382 contacts changed jobs in 2010. This is 15%. Probably actual rate is a bit higher since in some cases this info may be not updated in LinkedIn.
View ArticlePass xml to stored procedure
In C#: 1 // create XML string 2 var dataToPass = newStringBuilder("<RowsOfNumbers>"); 3 dataToPass.AppendFormat("<id>{0}</id>", 1); 4...
View ArticleDynamic casting in c#
var typesSubset = new[] { typeof(decimal), typeof(Int32), typeof(Int64) };Type someDynamicType = typeof (int);int someDynamicValue = 777;if (typesSubset.Any(t => t == someDynamicType)){ object...
View ArticleGoogle Desktop Search as intranet search tool
Here is list of GDS proxies that could be used:http://www.asabox.com/goolag/http://sourceforge.net/projects/soogle/http://www.projectcomputing.com/resources/desktopProxy/(left as comment on my former...
View ArticleWhat is a size of DateTime type in C#?
What is a size of DateTime type in C#? - A trivial question, unexcitingly facing few obstacles. Self-explanatory code below describes how you can't get it and how you can (and yes, it's 8 bytes): using...
View ArticleSQL–how to find nth row / nth order element
Example below is self-explanatory – you should assign rank by desirable criteria and then just group by your categories (product id and name is sample below), selecting only entries of certain rank. In...
View Article“267: The directory name is invalid” error when running via runas command
Should be one of:User Access Control settings prevent you from executing a programDirectory has no access for user which is specified in runasYou shared your folder and that reset user rights on the...
View ArticleCurrencies having stocks quoted in cents
I think this is exhaustive list for now:BWpBotswana PulaGBpBritish PoundILsIsraeli ShekelKWdKuwaiti DinarMWkMalawian KwachaSZlSwaziland LilangeniZArSouth African Rand
View ArticleGet user name in SQL
… without domain:SELECT PARSENAME(REPLACE(ORIGINAL_LOGIN(), '\', '.'), 1)
View ArticleGC KeepAlive method–what it really does
Quite useful, I was missing this corner.. Below is quote from documentation as it is provided by code author.// This method DOES NOT DO ANYTHING in and of itself. It's used to// prevent a finalizable...
View ArticleHow to prevent collision of Visual Assist and ReSharper in Visual Studio
VassistX→Options→Projects→File Handling→Extensions to ignore: .ctc;.config;.cs;.config;.xml;
View Article
More Pages to Explore .....