How do I detect what .NET Framework versions and service packs are installed?

The registry is the official way to detect if a specific version of the Framework is installed. Which registry keys are needed change depending on the Framework version you are looking for: Framework Version Registry Key —————————————————————————————— 1.0 HKLM\Software\Microsoft\.NETFramework\Policy\v1.0\3705 1.1 HKLM\Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\Install 2.0 HKLM\Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\Install 3.0 HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\InstallSuccess 3.5 HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5\Install … Read more

You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user)

Update: I now have a paid script that will set up a proper Ruby environment for you with a single command! I also updated my guide that explains the various ways you can install Ruby gems on a Mac and why I only recommend using a version manager like chruby and ruby-install. You are correct … Read more

Install tkinter for Python [duplicate]

It is not very easy to install Tkinter locally to use with system-provided Python. You may build it from sources, but this is usually not the best idea with a binary package-based distro you’re apparently running. It’s safer to apt-get install python-tk on your machine(s). (Works on Debian-derived distributions like for Ubuntu; refer to your … Read more

Installing Homebrew on macOS

It’s on the top of the Homebrew homepage. From a Terminal prompt: /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)” The command brew install wget is an example of how to use Homebrew to install another application (in this case, wget) after brew is already installed. Historic… Before about 2020, the command given on the Homebrew page was: … Read more

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