Skip to content

Instantly share code, notes, and snippets.

Avatar

@whitep4nth3r whitep4nth3r

View GitHub Profile
@whitep4nth3r
whitep4nth3r / reset-next.sh
Last active Sep 12, 2021
Reset a new Next.js application with an HTML language attribute, responsive font sizes, and cleaned up index.js
View reset-next.sh
#!/bin/bash
# Input flags
LANG=""
APP_NAME=""
# The directory path must be relative to where the script lives
DIR=""
@whitep4nth3r
whitep4nth3r / gist:e6b10ef17636e29010d7a8b57800685e
Created May 5, 2021
Delete all branches merged into main
View gist:e6b10ef17636e29010d7a8b57800685e
// Add to your shell configuration to improve your life!
dam() {
git checkout main && git branch --merged | egrep -v "(^\*|main)" | xargs git branch -d
}
@whitep4nth3r
whitep4nth3r / brand.css
Last active Sep 8, 2021
whitep4nth3r CSS vars
View brand.css
:root {
--red: #f11012;
--red-darker: #d90d10;
--green: #82af3a;
--black: #0f111a;
--white: #ffffff;
--offwhite: #f8f8f2;
--turquoise: #489fb9;
--pink: #cf4a88;
--purple: #633395;