how to test for broken links on incoming changes to the codebase (and not only validite URL syntax).
replace <1234>
with the desired MR number, and <main>
with the MR base branch name, and run
#!/usr/bin/env bash | |
main() { | |
log | |
log_ln "hi :)" | |
check_links $(cat -) | |
log_ln "bye bye!" | |
} |
git fetch upstream | |
git checkout master | |
git rebase upstream/master | |
git push -f origin master |
#!/usr/bin/env bash | |
function main() { | |
validate "$@" | |
set_name "$@" | |
if [[ "$2" == '-p' ]]; then | |
update_policy | |
fi | |
} |
# | |
# a one-liner to get raw content from github enterprise, relying on basic authentication. | |
# eliminates the need to create an access token and incorporate it in the url. | |
# | |
# | |
# fill in the blanks: | |
# | |
# USER your login user name for authentication (you'll be prompted for password on the terminal) | |
# GHE_DOMAIN the github enterprise custom domain |
/* - - - space - - - */ | |
.space { | |
background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%); | |
color: #fff !important; | |
} | |
/* put stars elements behind everything else */ | |
.space > :not([class^=stars]) { |
#!/usr/bin/env bash | |
if [[ $HELP = true ]]; then | |
less << 'EOF' | |
overview | |
-------- | |
migrates git-flux configurations from global to local context. |
webpack | awk '/ERROR/{f=1} f{print; if (/@/) exit}' |
(function (triggerIntervalSeconds) { | |
triggerIntervalSeconds = triggerIntervalSeconds || (60 * 5); | |
var runInterval = triggerIntervalSeconds * 1000; | |
var runBuildTimeout = 300; | |
function runBuild(done) { | |
var runBtn = jQuery("button:contains(Run)")[0]; | |
console.log('opening build run dialog...'); |