Archive: 2019/8

0

CMD

Local environment1234567891011# list all environment variables > set > echo %PATH%## 添加环境变量# batch文件中, 当前脚本的目录> SET "SCRIPT_DIR=%~dp0"> SET "PATH=%SCRIPT_DIR%\x64/vc14/bin;

0

Modules and Packages

1. Modules​ A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended. Within a module, the module’s name (as a string) is ava

0

protobuf

a message type field types 12string queryint32 page_numbe field numbers ​ each field in the message definition has a unique number. These field numbers are used to identify your fields in the m

0

Network Configuration and Troubleshooting

1. ifconfig commandifconfig (interface configurator) command is use to initialize an interface, assign IP Address to interface and enable or disable interface on demand. 12345678910111213141516171

0

Bloom Filter

布隆过滤器 检测值是可能存在集合中或一定不存在集合中 原理: -

0

xargs

xargsThe xargs command in UNIX is a command line utility for building an execution pipeline from standard input. Whilst tools like grep can accept standard input as a parameter, many other tools can

0

cuda

1. nvidia-smi1. 检查显卡型号1> nvidia-smi --query | grep "Product Name" 2. 计算模式12345678# check> nvidia-smi -q | grep Compute# set# Set MODE for compute applications:#

0

python installer

Installerubuntumethod 1123456789# To enable universe repository> sudo add-apt-repository universe> sudo add-apt-repository main> sudo add-apt-repository restricted> sudo add-apt-reposito

0

python virtualenv

VirtualenvInstallation1> pip install virtualenv User Guide1. use the same version12# 虚拟Python环境 ENV is path> virtual ENV 2. different python version123# PYTHON: 指定使用Python版本(C:\Python27\pyth

0

Jupyter Notebook

Basic指定端口运行1> jupyter notebook --port portnum(9999) 指定启动目录1> jupyter notebook --notebook-dir dir_path 开启Notebook,不默认打开browser1> jupyter notebook --no-browser HELP1> jupyter notebook -