Commands
Common NPM Commands
· β˜• 2 min read
** By default, a command operates on the current directory environment. Adding the -g flag makes it apply globally instead.** Upgrade npm 1 npm install npm -g Show the current version 1 npm -v Show the npm registry configuration 1 npm config get registry Change the npm registry 1 2 npm config set registry http://registry.

Common Commands in Django Development
· β˜• 1 min read
Creating a Django Project 1 django-admin startproject your_project_name Creating an App 1 2 3 django-admin.py startapp your_app_name # ζˆ–θ€… python manage.py startapp your_app_name python manage.py and django-admin do essentially the same thing. The difference is that python manage.py also sets the DJANGO_SETTINGS_MODULE environment variable and adds the project’s path

Linux Performance Command Tools
· β˜• 1 min read
There are many performance tools on the Linux platform, enough to make your head spin, but long-term exploration and experience have shown that the most useful ones are still those time-tested, simple little utilities. Below are the command-line tools collected from system performance expert Brendan D. Gregg’s talk on Linux performance (Linux Performance Tools).