'FYI' Category

  • HOWTO: Add global ajax event handlers with jQuery

    May 30, 2011

    Task: add global state for selenium tests to wait for when ui is very ajax based. //javascript var _Busy = false; function setBusy(flag) { _Busy = flag; } function isBusy() { return _Busy; } $(document).ajaxStart(function () { setBusy(true); }); $(document).ajaxStop(function () { setBusy(false); }); //C# – selenium wrapper public void WaitForUiReady() { _selenium.WaitForCondition(“selenium.browserbot.getUserWindow().isBusy() == false”, […]

  • HOWTO: Integrate Visual Studio and DiffMerge

    April 25, 2011

    Go to Tools->Options /Source Countrol/VSTFS-Configure User Tools… View: .* C:\Program Files (x86)\SourceGear\DiffMerge\DiffMerge.exe /title1=%6 /title2=%7 %1 %2 Merge: .* C:\Program Files (x86)\SourceGear\DiffMerge\DiffMerge.exe /title1=%6 /title2=%8 /title3=%7 /result=%4 %1 %3 %2

  • Combobox.SelectedValue does not work properly in VS 2008

    November 10, 2010

    Found out that if Combobox.Sorted is set to true then Combobox.SelectedValue returns not the actual selection. As a possible workaround I used Combobox.SelectedItem – that worked for me at least.

  • Team explorer does not show Builds folder, but Build with a red cross

    October 27, 2010

    This really helps – http://codeclimber.net.nz/archive/2008/11/12/red-x-on-build-folder-on-team-explorer.aspx first of all you should to rename the cache folder for Team Foundation “C:\Documents and Settings\[accountname]\Local Settings\Application Data\Microsoft\Team Foundation\2.0″ (in Vista or Windows 2008 the path is “C:\Users\[accountname]\AppData\Local\Microsoft\Team Foundation\2.0\Cache”) Then execute this command line: Start > Run : “devenv /resetuserdata”.

  • Kindle shows most recent books in reversed order?

    September 20, 2010

    If your Kindle shows most recent books in reversed order, probably its clock is not synchronized – connect turn wireless on and do Sync and Check for Items.

Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org