环境 centos 7 安装依赖包 yum install -y gcc gcc-c++ glibc glibc-devel pcre pcre-devel zlib zlib-devel openssl openssl-devel \unzip psmisc bash-completion lib ...
分类:
系统相关 时间:
2021-07-01 17:29:41
阅读次数:
0
before commit, do: git rm --cached <filename> ATTENTION: do not use 'git rm <filename>', this will delete the file from disk if commited, first use: " ...
分类:
其他好文 时间:
2021-07-01 17:07:16
阅读次数:
0
//-n 预览需要删除版本控制的文件列表 git rm -r -n --cached "vendor" //执行删除命令 git rm -r --cached "vendor" //添加文件到.gitignore //提交git commit -m "remove vendor" //提交到远程服务 ...
分类:
其他好文 时间:
2021-07-01 17:03:23
阅读次数:
0
由此报错,可以看到是由于进程过多,资源限制住了,主要检查如下文件: 环境centos7.6 [root@rac02 ~]# cat /etc/security/limits.conf orgrid soft nproc 2047orgrid hard nproc 16384orgrid soft n ...
分类:
系统相关 时间:
2021-07-01 17:01:50
阅读次数:
0
osmdroid's MapView is basically a replacement for Google's MapView class. First of all, create your Android project, and follow HowToMaven if you're u ...
分类:
移动开发 时间:
2021-07-01 16:54:55
阅读次数:
0
current status: We have a remote repository and a local project repository with no git configured. We want to push to remote and create new branch. Pr ...
分类:
其他好文 时间:
2021-07-01 16:24:13
阅读次数:
0
昨天突然发现Iterm2有个新的功能shell integration然后就去试了一下,结果装了之后不能用, 只是本地安装成功但是服务器不成功, 试了很多种方法都没成功,也安装了bash版和zsh版但是都没用,网上也没有相关问题。 最后想了想感觉应该是我的本地用zsh但是服务器用的是bash。 参考 ...
分类:
系统相关 时间:
2021-06-30 18:19:53
阅读次数:
0
#!/usr/bin/env bash __Author__="liy" # 发送钉钉告警 function DingDing(){ curl 'https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxx ...
分类:
其他好文 时间:
2021-06-30 18:14:38
阅读次数:
0
Description:Here will use pictures and text to report the statistics of the number of subscribers. Total number of subscribers:4243 1.toutiao(今日头条)Dot ...
分类:
其他好文 时间:
2021-06-30 18:09:06
阅读次数:
0
清理git提交记录并不能给“瘦身” 上周发现gitlab同步到线上的主服务器cpu和内存报警。 一查发现是隐藏目录 .git 过大导致的,导致每分钟同步卡死, 我其实有点怀疑是同步脚本中git命令导致的,要不就是下面的同步命令(每1分钟跑一次);要不就是每5分钟去git目录跑一次的git statu ...
分类:
其他好文 时间:
2021-06-30 18:05:44
阅读次数:
0