This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OpenSSL Intermediate CA configuration file. | |
# Copy to `./root/intermediate.cnf`. | |
[ ca ] | |
# `man ca` | |
default_ca = CA_default | |
[ CA_default ] | |
# Directory and file locations. | |
dir = ./intermediate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OpenSSL root CA configuration file. | |
# Copy to `./root/openssl.cnf`. | |
[ ca ] | |
# `man ca` | |
default_ca = CA_default | |
[ CA_default ] | |
# Directory and file locations. | |
dir = ./root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OpenSSL intermediate CA configuration file. | |
# Copy to `intermediate/openssl.cnf`. | |
[ ca ] | |
# `man ca` | |
default_ca = CA_default | |
[ CA_default ] | |
# Directory and file locations. | |
dir = ./intermediate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OpenSSL root CA configuration file. | |
# Copy to `./ca/openssl.cnf`. | |
[ ca ] | |
# `man ca` | |
default_ca = CA_default | |
[ CA_default ] | |
# Directory and file locations. | |
dir = . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
import shutil | |
# 脚本目的:自动删除指定文件夹下的相关文件夹 如批量删除node_modules依赖 | |
def get_dirsize(dirPath): | |
size = 0 | |
for root, dirs, files in os.walk(dirPath): | |
for file in files: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
registry "https://registry.npm.taobao.org" | |
disturl "https://npm.taobao.org/dist" | |
sass_binary_site "https://npm.taobao.org/mirrors/node-sass/" | |
phantomjs_cdnurl "https://npm.taobao.org/mirrors/phantomjs/" | |
electron_mirror "https://npm.taobao.org/mirrors/electron/" | |
nvm_nodejs_org_mirror "http://npm.taobao.org/mirrors/node" | |
NODEJS_ORG_MIRROR "http://npm.taobao.org/mirrors/node" | |
SQLITE3_BINARY_SITE "http://npm.taobao.org/mirrors/sqlite3" | |
profiler_binary_host_mirror "http://npm.taobao.org/mirrors/node-inspector/" |