How to remove the cause of an unexpected indentation warning when generating code documentation?

Just add a blank line after the summary description of the method, before the description of the parameters: “”” Gtk.EventBox::button-release-event signal handler. :param widget: The clicked widget (The Gtk.EventBox). :param event: Gdk.EventButton object with information regarding the event. :param user_data: The Gtk.LinkButton that should be opened when the Gtk.EventBox is clicked. :return: None “”” Here … Read more

MSHTML DLL on Windows 10

I just created a blog post on this issue. The problem is that the Microsoft.mshtml.dll assembly in the Global Assembly Cache becomes unregistered from ActiveX during the upgrade process. To fix this issue, it is necessary to run “regasm” on the assembly: Open an instance of “Developer Command Prompt for VS2013” (or whatever version of … Read more

Show touch keyboard (TabTip.exe) in Windows 10 Anniversary edition

OK, I reverse engineered what explorer does when the user presses that button in the system tray. Basically it creates an instance of an undocumented interface ITipInvocation and calls its Toggle(HWND) method, passing desktop window as an argument. As the name suggests, the method either shows or hides the keyboard depending on its current state. … Read more

How can I activate a Conda environment from PowerShell?

You don’t need administrator permissions. Once you install Anaconda or Miniconda on Windows, open a Anaconda PowerShell Prompt from Start Menu. Or, if you don’t see it there, then assuming you have installed miniconda3 at path C:\miniconda3\4.9.2, do: powershell -ExecutionPolicy ByPass -NoExit -Command “& ‘C:\miniconda3\4.9.2\shell\condabin\conda-hook.ps1’ ; conda activate ‘C:\miniconda3\4.9.2’ ” Now try: conda init powershell … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)