在Linux 中彻底卸载GitLab 步骤如下: 停止Git lab ~~~shell sudo gitlab ctl stop ~~~ 卸载Git lab ~~~shell sudo rpm e gitlab ce ~~~ 查看Gilt lab 进程 ~~~shell 查看还在运行的进程 ps e ...
分类:
其他好文 时间:
2020-03-14 11:13:18
阅读次数:
51
1. fnmatch UNIX式glob模式匹配 fnmatch模块用于根据glob模式(如UNIX shell所用的模式)比较文件名。 1.1 简单匹配 fnmatch()将一个文件名与一个模式进行比较,并返回一个布尔值,指示二者是否匹配。如果操作系统使用一个区分大小写的文件系统,则这个比较就是区 ...
分类:
编程语言 时间:
2020-03-14 11:10:28
阅读次数:
63
config windows firewall with specific way
一.Pinpoint是什么 简单的说,Pinpoint是一款对Java编写的大规模分布式系统的APM工具,有些人也喜欢称呼这类工具为调用链系统、分布式跟踪系统。我们知道,前端向后台发起一个查询请求,后台服务可能要调用多个服务,每个服务可能又会调用其它服务,最终将结果返回,汇总到页面上。如果某个环节发 ...
分类:
其他好文 时间:
2020-03-14 11:07:54
阅读次数:
62
Run the following in a command prompt ~~~shell pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install ~~~ Start up a Jupyter ...
分类:
其他好文 时间:
2020-03-14 10:51:10
阅读次数:
55
1. 修改 gitlab.yml文件 ~~~shell cd /opt/gitlab/embedded/service/gitlab rails/config vim gitlab.yml0 ~~~ 2. 修改文件内容 ~~~shell GitLab settings gitlab: Web ser ...
分类:
其他好文 时间:
2020-03-14 10:38:19
阅读次数:
51
最近学习shell脚本,每次都要创建textXX.sh,并赋予可执行权限,写个自动创建脚本练习一下。
分类:
系统相关 时间:
2020-03-14 09:21:30
阅读次数:
77
条件判断:if语句 if [ expression ] then command; fi注意:expression 和方括号[ ]之间必须有空格,否则会有语法错误 其他格式: if ... else ... fi 语句 if ... elif ... else ... fi 语句 eg: root@ ...
分类:
系统相关 时间:
2020-03-13 20:50:07
阅读次数:
76
1.写?个脚本(任意语?),在/root?录下创建?个?XXXX-XX-XX格式表示当前?期的?录,并在该?录内,创建test1-test100的多个??录,其中不要创建test50?录。#!/bin/bashdirdate=date‘+%Y-%m-%d‘mkdir-p/root/$dirdatefor((i=1;i<=100;i++))doif[$i-ne50];thenm
分类:
系统相关 时间:
2020-03-13 15:58:14
阅读次数:
65
#!/bin/bash echo "开始批量更新最新代码" for dir in `ls`; do if [ -d $dir ];then echo " "; cd $dir; echo "开始更新项目 $dir "; git fetch; echo "代码更新完成"; cd ../; fi don ...
分类:
其他好文 时间:
2020-03-13 10:21:04
阅读次数:
166