美文网首页
力争每日吃鸡成功

力争每日吃鸡成功

作者: Hmcf | 来源:发表于2021-07-22 17:52 被阅读0次

参加日更 | 让坚持成为习惯

egrep

如:
1、查看当前目录下的文件中包含hello字符的文件及对应的行
> egrep hello *

2、输出过滤掉文件中包含以hello开头及为空的行之后的内容
> egrep -v "^hello|^$" 每日吃鸡.log

3、输出包含hello 或者 world 的行
> egrep 'hello|world' 每日吃鸡.log 

Jenkins

  • 尽量把Jenkinsfile放在一级目录

  • Jenkinsfile中指定的工作空间,对dockerfile中的一些文件路径起作用

  • 配置文件中branches: [[name: xxx]]
    这个里面尽量写branches: [[name: BRANCH_NAME]]
    根据配置文件获取,不要手动指定

Mac 下针对单个应用关闭暗黑模式

广告:新版为知笔记对markdown支持升级,值得试用!

➜  ~ osascript -e 'id of app "wechat"'
com.tencent.xinWeChat
➜  ~ defaults write com.tencent.xinWeChat NSRequiresAquaSystemAppearance -bool YES
➜  ~

相关文章

网友评论

      本文标题:力争每日吃鸡成功

      本文链接:https://www.haomeiwen.com/subject/fjkymltx.html