GitHub Enterprise Version
javascript:(function(){
anchors = document.querySelectorAll('a');
for (anchor of anchors) {
if (anchor.title.includes('Enterprise Version')) {
alert(anchor.title);
}
}
// Navigate to http://onlinetonegenerator.com/dtmf.html | |
// Open DevTools - Console | |
// Paste the Code | |
// Press Enter | |
// Provide the number of milliseconds the default tone should hold for | |
var short = 250; | |
var long = short * 2; | |
function sleep(ms) { |
#!/usr/bin/env bash | |
getjq::prep(){ | |
TEMP_DIR="$(mktemp -d jq-download.XXXXXXXXXX)" | |
cd $TEMP_DIR | |
if [ $? -ne 0 ]; then | |
echo "$0: Cannot change directory to $TEMP_DIR, exiting..." | |
exit 1 | |
fi | |
} |
#!/usr/bin/env bash | |
slacked::timestamp(){ | |
date -u +"%Y%m%dT%H%M%SZ" | |
} | |
input_file="../emoji-image-list.json" | |
download_directory='emoji_cache' | |
mkdir -p "$download_directory" |
| | | |
_|_|_ | |
/_____\ | |
|-=====-| | |
|-------| | |
|-------| | |
|-------| | |
|-------| | |
|-------| | |
|-------| |
#!/usr/bin/env bash | |
PATH=./jqi-tmp:$PATH | |
jqi::getLatestTag(){ | |
local response | |
response="$(curl -s https://github.com/stedolan/jq/releases/latest)" | |
response="${response##*tag/}" | |
response="${response%%\">*}" | |
echo "$response" |
GitHub Enterprise Version
javascript:(function(){
anchors = document.querySelectorAll('a');
for (anchor of anchors) {
if (anchor.title.includes('Enterprise Version')) {
alert(anchor.title);
}
}
#!/usr/bin/env bash | |
function cwdmon::getPIDsByAppName(){ | |
appName="${1}" | |
pgrep -a $appName | |
} | |
function cwdmon::getAllCWDs(){ | |
for PID in $(cwdmon::getPIDsByAppName 'bash'); do | |
lsof -p "$PID" | grep -i "cwd" | awk '{ print $9}' |
#!/usr/bin/env bash | |
while IFS='' read -r line || [[ -n "$line" ]]; do | |
printf '=%.0s' {1..100} | |
printf '\n' | |
echo "${line}" | |
printf '=%.0s' {1..100} | |
printf '\n' | |
ping -q -c 1 $line | |
printf '\n' |
#!/usr/bin/env bash | |
SEMANTIC_VERSION='1.2.3' | |
SEMVER_ARRAY=(${SEMANTIC_VERSION//./ }) | |
echo "MAJOR: ${SEMVER_ARRAY[0]}" | |
echo "MINOR: ${SEMVER_ARRAY[1]}" | |
echo "PATCH: ${SEMVER_ARRAY[2]}" |
#!/usr/bin/env bash | |
# TEA: Tag Erasing Apparatus | |
tag=$1 | |
function delete_local_tag() { | |
git tag -d "${tag}" | |
} |