上一页 1 ··· 152 153 154 155 156 157 158 159 160 ··· 494 下一页
摘要: 1. Download the git repo into local. 2. Copy the SSH / HTTPS URL from CodeCommit Repo Then run: git remote set-url origin ssh://code-commit.address.xx 阅读全文
posted @ 2021-02-17 21:24 Zhentiw 阅读(56) 评论(0) 推荐(0)
摘要: .ow { overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; white-space: normal } Post 阅读全文
posted @ 2021-02-17 18:01 Zhentiw 阅读(71) 评论(0) 推荐(0)
摘要: Read Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies Yarn: yarn install –immutable --immutable-cache --checkcac 阅读全文
posted @ 2021-02-15 23:27 Zhentiw 阅读(78) 评论(0) 推荐(0)
摘要: Schedule timed jobs on macOS with launchd launchd is a robust scheduled job automation tool on macOS that allows you to schedule a task to be run at r 阅读全文
posted @ 2021-02-12 20:40 Zhentiw 阅读(347) 评论(0) 推荐(0)
摘要: Getopts Let’s say you want to allow a user to pass a -v flag to turn on verbose logging in a script. Manually parsing out options passed to a script i 阅读全文
posted @ 2021-02-12 16:13 Zhentiw 阅读(49) 评论(0) 推荐(0)
摘要: Case Basic case "$1" in a) echo "a match";; b) echo "b match";; c) echo "c match" ;; *) echo "none of the case match" exit 1;; esac If we run: ./case_ 阅读全文
posted @ 2021-02-12 15:44 Zhentiw 阅读(81) 评论(0) 推荐(0)
摘要: Git hooks In root of project: mkdir -p hooks cd hooks touch post-merge post-merge: #! /bin/bash # all stdio in this script after this line will be sen 阅读全文
posted @ 2021-02-12 03:05 Zhentiw 阅读(63) 评论(0) 推荐(0)
摘要: In this lesson, we'll apply our jq skills and write a script that gets a list of dependencies from package.json and greps for usages of every package. 阅读全文
posted @ 2021-02-12 02:43 Zhentiw 阅读(70) 评论(0) 推荐(0)
摘要: jq Bash, unfortunately, doesn’t ship with a command that can work with JSON natively. In this lesson, we’ll learn how to read and do basic queries on 阅读全文
posted @ 2021-02-11 21:48 Zhentiw 阅读(77) 评论(0) 推荐(0)
摘要: Shell Parameter Exapnsion In this lesson, we'll see how shell parameter expansions can be used to simply expand a variable's valuable and also provide 阅读全文
posted @ 2021-02-11 21:31 Zhentiw 阅读(83) 评论(0) 推荐(0)
上一页 1 ··· 152 153 154 155 156 157 158 159 160 ··· 494 下一页