git 忽略文件不起作用 .gitignore
git rm -r --cached . git add .
git commit -m "update .gitignore"
git status
查看是否是"working directory clean"
git rm -r --cached . git add .
git commit -m "update .gitignore"
git status
查看是否是"working directory clean"
Python 在程序并行化方面多少有些声名狼藉。撇开技术上的问题,例如线程的实现和 GIL1,我觉得错误的教学指导才是主要问题。常见的经典 Python 多线程、多进程教程多显得偏“重”。而且往往隔靴搔痒,没有深入探讨日常工作中最有用的内容...
准备工作一台服务器:Ubuntu Server 16.04.1 LTS 64位安装RabbitMq可以参照RabbitMq官网的安装教程(Installing on Debian and Ubuntu),来进行安装。这里我们使用apt-ge...
通过如下命令来获取容器的日志地址 docker inspect --format '{{.LogPath}}' 97069f94437bcat命令查看上述命令找到的日志地址cat /...
yum update 跟apt-get update 不一样centos的yum update相当于ubuntu的apt upgrade如果想用ubuntu的apt update,centos是yum makecache因为执行yum -y...
#防火墙关闭systemctl stop firewalld.service#永久关闭防火墙systemctl disable firewalld.service#临时关闭selinuxsetenforce 0#永久关闭sed -i &qu...
查看命令运行的实时结果watch "ls |wc -l" 能够实时的监控命令执行的结果,不过刷新时间有点长,大概2秒,可以修改为1秒iftop查看出入网流量情况nload实时查看出入网流量情况fre...