How to update Python?

UPDATE: 2018-07-06 This post is now nearly 5 years old! Python-2.7 will stop receiving official updates from python.org in 2020. Also, Python-3.7 has been released. Check out Python-Future on how to make your Python-2 code compatible with Python-3. For updating conda, the documentation now recommends using conda update –all in each of your conda environments … Read more

Clone works, remote push doesn’t. Remote repository over copssh

stupid fix (this changed /SSH/home/rvc/.gitconfig): rvc@RVC-DESKTOP /c/code/myapp (master) $ git config –global remote.origin.receivepack “git receive-pack” rvc@RVC-DESKTOP /c/code/myapp (master) $ git push Counting objects: 3, done. Delta compression using up to 4 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 246 bytes, done. Total 2 (delta 0), reused 0 (delta 0) To ssh://rvc@192.168.1.65:5858/SSH/home/rvc/myapp.git 680f32e..2da0df1 … Read more

how to get program files x86 env variable?

On a 64-bit machine running in 64-bit mode: echo %programfiles% ==> C:\Program Files echo %programfiles(x86)% ==> C:\Program Files (x86) On a 64-bit machine running in 32-bit (WOW64) mode: echo %programfiles% ==> C:\Program Files (x86) echo %programfiles(x86)% ==> C:\Program Files (x86) On a 32-bit machine running in 32-bit mode: echo %programfiles% ==> C:\Program Files echo %programfiles(x86)% … Read more

Visual Studio Code “Open With Code” does not appear after right-clicking a folder

Copied from Right click on Windows folder and open with Visual Studio Code Create file vsCodeOpenFolder.reg with this content (If you didn’t choose the default installation path then you need to adjust the paths in this file): Windows Registry Editor Version 5.00 ; Open files [HKEY_CLASSES_ROOT\*\shell\Open with VS Code] @=”Edit with VS Code” “Icon”=”C:\\Program Files … Read more

How do I start Mongo DB from Windows?

Step 1 Download the mongodb Step 2 Follow normal setup instructions Step 3 Create the following folder C:\data\db Step 4 cd to C:\Program Files\MongoDB\Server\3.2\bin> enter command mongod by default, mongodb server will start at port 27017 Step 5 (optionally) download RoboMongo and follow normal setup instructions Step 6 Start RoboMongo and create a new connection … Read more