Securing an Nginx Reverse Proxy Server using Basic Authentication

If you are using nginx reverse proxy for some of your personal web sites in a VPS server and wondering how you can set up common login for all of your websites, here is how to to that. If you want to set up a common login for multiple websites served through Nginx reverse proxy, […]

PyCharm Run: import pandas or numpy doesn’t work with conda

When running a file in PyCharm with conda environment, import pandas or import numpy doesn’t work This is due to a bug in PyCharm with conda A workaround could be: run import os in the system terminal using the same interpreter run print(os.environ[‘PATH’]) copy the result and add as PATH environment variable to your Run/Debug […]

PyCharm console: import _ssl DLL load fail error

Have trouble with the error “ImportError: DLL load failed while importing _ssl: The specified module could not be found.” when trying to open “python console” tab from PyCharm Open your Anaconda cmd Activate your Conda environment Get the full PATH value by typing echo %PATH% > mypath.txt this will create a txt file so you […]

Disable “Activate Windows Now” Popup in Windows 10/8/7

If you do not wish to have the auto-activation wizard bother you, you may choose to disable automatic activation. To do so in Windows 7, Windows 8 and Windows 10 open regedit and navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion \SoftwareProtectionPlatform\Activation In the right pane of the registry editor, you will find REG_DWORD value ‘Manual’. Right-click […]

No Sound in Firefox (Version 56+, Windows RDP environment)

If you are on a Remote Desktop Connection (RDP) on Windows, audio playback will be disabled due to increased security restrictions. This is a known issue in Firefox version 56+ that Firefox is working hard to fix. In the meantime, you can reduce the sandbox security level by following these steps: In the address bar, […]

Configure Webmin to Allow Connecting to MySQL Remotely

You’ll need to forward port 3306 from your router to your Virtualmin server Go into Webmin -> Servers -> MySQL Database Server -> MySQL Server Configuration, and set “MySQL server listening address” to “0.0.0.0”  to get it listening on all interfaces. (by default 127.0.0.1) For any Virtual Server that should have remotely accessible databases, go […]