docker 国内安装
sudo apt-get remove docker \ docker-engine \ docker.iosudo apt-get install \ apt-transport-https \ ca-certificates \ ...
Linux 查看端口占用
lsof list open files lsof -i:your_port netstat netstat -anp | grep your_port -t: TCP -u: UDP -l: 仅显示 LISTEN 状态的套接字 -a: all -n: 不进行 DNS 解析 -p: 显示进程标 ...
MySQL 创建用户与授权
创建用户 CREATE USER 'usernaem'@'host' IDENTIFIED BY 'passwd';% host:指定该用户在哪个主机上可以登陆,如果是本地用户可用 localhost,如果想让该用户可以从任意远程主机登陆,可以使用通配符 % 授权 GRANT privileges ...
cmake
what's cmake CMakeLists.txt cmake PATH or ccmake PATH generate Makefile make example for one file In the fold Demo1 makeup CMakeLists.txt # Versionc ...
How to delete default bookmark of nautilus in ubuntu ?
The default bookmark is built from ~/.config/user-dirs.dirs and /etc/xdg/user-dirs.defaults. So we must comment the bookmark that you want to delete i ...
mosh, faster than ssh
port mosh use the port of 60001, then the secend increasely. iptables -I INPUT -p udp --dport 60001 -j ACCEPT how to support Chinese sudo apt install ...
Extending PyTorch
Extending torch.autograd Adding operation to autograd requires implementing a new Function subclass ofr each operation. Every new function requires yo ...