Skip to content

Instantly share code, notes, and snippets.

View vndmp4's full-sized avatar
🍀
lazy

VND.mp4 vndmp4

🍀
lazy
View GitHub Profile
@vndmp4
vndmp4 / github_code_font_custom.css
Created March 23, 2023 14:44
github code change code font stylus
@-moz-document domain("github.com") {
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&display=swap');
.react-code-text {
font-family: 'JetBrains Mono NL', 'JetBrains Mono', monospace !important;
font-size: 1rem;
}
}
@vndmp4
vndmp4 / nyan_cat_bash_echo.sh
Created January 16, 2023 07:18
nyan_cat_bash_echo.sh
echo_nyan_cat() {
e='\033'
RESET="${e}[0m"
BOLD="${e}[1m"
CYAN="${e}[0;96m"
RED="${e}[0;91m"
YELLOW="${e}[0;93m"
LIGHT_GREEN="${e}[0;92m"
GREEN="${e}[0;32m"
@vndmp4
vndmp4 / dnf_fzf.bash
Created November 9, 2022 12:55
dnf + fzf
fzf_dnf_install() {
local package
package=$1
dnf_fzf() {
local cache=$HOME/.cache/dnf_list.txt
if test -f "$cache"; then
package=$(\cat $cache | fzf_down)
else