This file contains hidden or 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
| /* | |
| foundation.css | |
| https://gist.github.com/mvllow/b2b38d2968c1b3b6a393556530a8f65f | |
| Inspired by Tailwind CSS Preflight (https://tailwindcss.com/docs/preflight) | |
| */ | |
| /* | |
| 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) | |
| 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) |
This file contains hidden or 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
| function use_terminal_colors | |
| # Syntax highlighting variables | |
| # https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables | |
| set -U fish_color_normal normal | |
| set -U fish_color_command magenta | |
| set -U fish_color_keyword blue | |
| set -U fish_color_quote yellow | |
| set -U fish_color_redirection green | |
| set -U fish_color_end brblack | |
| set -U fish_color_error red |
This file contains hidden or 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
| # Usage: | |
| # cd Downloads | |
| # sh extract-vsix.sh mvllow.rose-pine-0.3.5 | |
| # ^ do not include .vsix | |
| path="$1" | |
| name="$(basename -- $1)" | |
| out_dir=~/.vscode/extensions | |
| tmp_dir=$(mktemp -d -t mvllow-dots) |
This file contains hidden or 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
| // Theme as of v1.2.0 | |
| const theme = { | |
| gray: { | |
| 100: "#f7fafc", | |
| 200: "#edf2f7", | |
| 300: "#e2e8f0", | |
| 400: "#cbd5e0", | |
| 500: "#a0aec0", | |
| 600: "#718096", | |
| 700: "#4a5568", |
This file contains hidden or 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
| /* | |
| # airbnb | |
| # supports react + hooks | |
| $ npx install-peerdeps --yarn --dev eslint-config-airbnb | |
| # with prettier | |
| $ yarn add --dev prettier eslint-config-prettier eslint-plugin-prettier | |
| */ |
This file contains hidden or 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
| git branch --merged | egrep -v "(^\*|master|main)" | xargs git branch -d |