Archive: 2019

0

git

git docs git tutorials github help basic1. create a first repo1234567891011# create a dir> mkdir dir && cd dir# initialize a repo> git init# check repo status> git status# add new

0

ssh port forward

openbsd ssh ssh SSH1. 服务器端安装ssh-server123456789101112131415161718# 1. 服务器端, ssh server安装# Ubuntu 没有安装SSH-server服务器,需要安装SSH服务器并开启 > sudo apt-get install openssh-server# 查看是否开启;sshd代表开启 > sudo

0

docker

Docker1. install1. dockerdocker 1234567891011121314151617181920# SET UP THE REPOSITORY> sudo apt-get update && sudo apt-get install \ apt-transport-https \ ca-certificates \ curl

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:#