This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
if [ -z "$1" ] | |
then | |
echo "Please provide a version number, like 1.13.5" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const buttonDelaySeconds = 5; | |
const selector = ".btn.url-link"; | |
function run() { | |
var els = document.querySelectorAll(selector); | |
var origHrefs = []; | |
els.forEach(function (el) { | |
origHrefs.push(el.href); | |
el.style["pointer-events"] = "none"; | |
el.style.opacity = 0.2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gh api graphql --paginate -f query=' | |
query($endCursor: String) { | |
viewer { | |
repositories(first: 100, after: $endCursor) { | |
nodes { nameWithOwner } | |
pageInfo { | |
hasNextPage | |
endCursor | |
} | |
} |
OlderNewer