As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
configdocs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public - Sep 07, 2020 update docs for
npm version
| """ | |
| Fabric tunneling utilities | |
| by [email protected] | |
| class ForwardServer and relates things are refere Robey Pointer's paramiko example. | |
| (http://bazaar.launchpad.net/~robey/paramiko/trunk/annotate/head%3A/demos/forward.py) | |
| usage:: | |
| with make_tunnel('[email protected]:10022') as t: |
------------------------------- ------------------ Django --------------------
| Browser: GET /udo/contact/2 | === wsgi/fcgi ===> | 1. Asks OS for DJANGO_SETTINGS_MODULE |
------------------------------- | 2. Build Request (from wsgi/fcgi callback) |
| 3. Get settings.ROOT_URLCONF module |
| 4. Resolve URL/view from request.path | # url(r'^udo/contact/(?P<id>\w+)', view, name='url-identifier')
| 5. Apply request middlewares | # settings.MIDDLEWARE_CLASSES
| #-*- coding: utf-8 -*- | |
| u""" | |
| MOD: pymongo | |
| """ | |
| import pymongo | |
| #=============================================================================== |
| // Makefile | |
| // ${workspaceRoot} the path of the folder opened in VS Code | |
| // ${file} the current opened file | |
| // ${fileBasename} the current opened file's basename | |
| // ${fileDirname} the current opened file's dirname | |
| // ${fileExtname} the current opened file's extension | |
| // ${cwd} the task runner's current working directory on startup | |
| { | |
| "version": "0.1.0", | |
| "command": "bash", |
| ## File: ~/.bashrc | |
| ## Your virtualenv is in /home/.virtualenvs/ | |
| # Auto-activate python virtualenv | |
| if [ ! -z $PYTHONVIRTUALENV ]; then | |
| source /home/.virtualenvs/$PYTHONVIRTUALENV/bin/activate | |
| fi | |
| ## File: .vscode/settings.json |