#!liberate perl (Huh?)
#!liberate perl (Huh?)
𝅘𝅥𝅯 'Tis the season to [REDACTED]! ♬ La la, la, la
#!liberate perl (Huh?)
𝅘𝅥𝅯 'Tis the season to [REDACTED]! ♬ La la, la, la
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/sh | |
cd "$(git rev-parse --show-toplevel)" || exit | |
usage() { | |
echo "Usage: $0 <featurebranch|pullrequest>" | |
echo "" | |
echo "Example:" | |
echo "$0 fb SP-1234" |
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/sh | |
cd "$(git rev-parse --show-toplevel)" || exit | |
usage() { | |
echo "Usage: $0 <featurebranch|pullrequest>" | |
echo "" | |
echo "Example:" | |
echo "$0 fb SP-1234" |
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 | |
cd "$(git rev-parse --show-toplevel)" || exit | |
slack_channel=${OTTO_SLACK_CHANNEL:-'#development'} | |
# For best results, grab the following packages on OSX | |
# brew install hub go-jira slack-cli moreutils | |
usage() { |
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
export NVM_DIR="$HOME/.nvm" | |
export YVM_DIR=/usr/local/opt/yvm | |
load-nvm-and-yvm() { | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
[ -r $YVM_DIR/yvm.sh ] && . $YVM_DIR/yvm.sh | |
} | |
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
links = [ ... | |
document.querySelectorAll('a') | |
].filter(el => !!el.href?.match(/^tel:.*/)) | |
links.forEach(el => { | |
qrEl = document.createElement('a') | |
qrEl.innerText = 'QR' | |
qrEl.style = 'width: 16px; height: 16px; font-size: 8px; border-radius: 1px; border: 1px solid currentColor; background: cyan' | |
el.href = `https://duckduckgo.com/?q=!qr+${el.href}` | |
el.appendChild(qrEl) |
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
// Extra ergonomic features for FreshTomato's router frontend | |
// https://www.freshtomato.org/ | |
let after = (ms, fn) => window.setTimeout(fn, ms); | |
let each = (ms, fn) => after(ms, () => { fn(); each(ms, fn); }); | |
let Q = sel => [ ... document.querySelectorAll(sel) ]; | |
// Color-code interfaces so we can tell who is wired in and who is on which wifi | |
[ |
OlderNewer