Environment
VS Code Cannot Download the Go Plugin Toolchain
· β˜• 1 min read
After installing the Go plugin in VS Code, when you open a Go project the editor prompts you to install the toolchain. But golang.org is not directly accessible, so we need to download the packages manually into the GOPATH directory and install them there. Create the package directory 1 2 cd $GOPATH mkdir -p src/golang.

Building a Remote Kubernetes Development Environment
· β˜• 1 min read
Minikube is a single-node distribution of Kubernetes, suited to product evaluation and day-to-day development. Here we use Minikube to build a development environment: Kubernetes runs on a CentOS cloud server, and development happens remotely from a local OS X machine. 1. Install Minikube on the Cloud Server On the Minikube

Git and Development Environment Setup
· β˜• 2 min read
Compiled from the “Development Tips” series, gathering practices around Git collaboration and development environment setup. 1. warning: LF will be replaced by CRLF Windows, Linux, and Mac are inconsistent in how they mark line endings in files. Windows uses CRLF as the terminator, while Linux and Mac use LF. Git

Some Installation Problems with Node.js
· β˜• 1 min read
1. Installing node-sass When installing node-sass, the node scripts/install stage downloads a .node file from github.com, and network problems often cause this to fail. You can add an .npmrc file inside the project to configure a proxy for the installation: 1 2 sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ registry=https://registry.npm.taobao.org Or install with cnpm: 1 2 npm install -g cnpm --registry=https://registry.

An Introduction to Various Python Environment Isolation Tools
· β˜• 3 min read
1. Non-standard Library 1.1 virtualenv virtualenv is a very popular tool for creating isolated python libraries environments. I strongly recommend you learn about it, because it is very practical and widely used; many people use it to set up python development environments. The other tools below are mainly compared against virtualenv to illustrate the differences.