A practical distillation for Fullstack Academy students
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 resizeObserver = new ResizeObserver(() => { | |
const viewerBody = document.querySelectorAll("article.viewer__body"); | |
viewerBody.forEach((node) => { | |
node.setAttribute( | |
"style", | |
"color:#FADA5E!important;font-family:ScalaSansOT,Literata;line-height:2;font-size: 24px;" | |
); | |
node | |
.querySelectorAll("p") |
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
# Make pretty branch names, translated from https://gist.github.com/JoshNavi/8bc9a12b7492fc093b2c8b0bb8b0473e#create_branch | |
function create_branch() { | |
local branch_name=$argv[1] | |
if [[ -z "$branch_name" ]] | |
then | |
echo "Need to pass a branch name to use" | |
return 1 | |
fi |