'FYI' Category

  • HOWTO: Add global ajax event handlers with jQuery

    Май 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

    Апрель 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

    Ноябрь 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 не показывает папку Builds, вместо которой Build с красным крестиком

    Октябрь 27, 2010

    Тут описано решение, которое мне помогло — 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 показывает последние прочитанные книги в обратном порядке?

    Сентябрь 20, 2010

    Скорее всего в нем сбились внутренние часы — подключителсь к сети и выполните синхронизацию Menu->Sync and Check for Items.

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