Skip to content

Instantly share code, notes, and snippets.

View BobbyWibowo's full-sized avatar
🎶
I may be slow to respond.

Bobby BobbyWibowo

🎶
I may be slow to respond.
View GitHub Profile
# Materia Dark (PapirusDevelopmentTeam/materia-kde)
background #181818
foreground #eff0f1
cursor #eff0f1
selection_background #ffffff
selection_foreground #2d2c2d
color0 #181818
color1 #e14245
@BobbyWibowo
BobbyWibowo / No-skip-urls-list
Last active March 9, 2024 14:47
Skip Redirect extension backups configs
/abp
/account
/adfs
/auth
/cookie
/download
/login
/logoff
/logon
/logout
{
"ArrowAlphaScript" : 0,
"ArrowHAnchorScript" : "Left",
"ArrowPosXScript" : 0,
"ArrowPosYScript" : 712,
"ArrowScaleScript" : 100,
"ArrowVAnchorScript" : "bottom",
"ArrowWidgetScript" : 0,
"AttributeAlphaScript" : 0,
"AttributeHAnchorScript" : "Left",
@BobbyWibowo
BobbyWibowo / alacritty-one-dark.yml
Last active January 3, 2022 14:40
One Dark (to be paired with Qogir KDE/GTK+ theme) colorscheme for Alacritty
# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true
# Colors (One Dark - to be paired with Qogir KDE/GTK+ theme)
colors:
# Default colors
primary:
background: '0x1e222a'
foreground: '0xfcfcfc'
:root {
--yt-icon-active-color: #3daee9 !important;
/* --iron-icon-fill-color: #ffffff !important; */
}
paper-button[subscribed].ytd-subscribe-button-renderer {
background-color: var(--yt-icon-active-color);
color: #eff0f1;
transition: .25s background-color;
}
curl \
-H "token: YOUR_TOKEN_HERE" \
-H "albumid: YOUR_ALBUM_ID_HERE" \
-H "filelength: NUMBER_FROM_5_TO_32" \
-H "age: HOURS" \
-H "striptags: 1_IF_YES" \
-F "files[]=@PATH_TO_FILE" \
https://safe.fiery.me/api/upload
@BobbyWibowo
BobbyWibowo / genshinimpact-3120x1440.json
Last active April 4, 2024 02:23
QtScrcpy custom key maps for Genshin Impact.
{
"switchKey": "Key_QuoteLeft",
"mouseMoveMap": {
"startPos": {
"x": 0.5,
"y": 0.32
},
"speedRatio": 3.5
},
"keyMapNodes": [
#!/usr/bin/env bash
NGINX_CONF_PATH="/usr/local/nginx/conf/deny-ips.conf"
if ! [ -f "$NGINX_CONF_PATH" ]; then
echo "Error: '$NGINX_CONF_PATH' is not found."
exit 1
fi
SCRIPT_NAME=$(basename $(readlink -f $0))
@BobbyWibowo
BobbyWibowo / get-backlight
Last active May 28, 2020 13:50
Backlight utility
#!/bin/bash
MAX_PATH="/sys/class/backlight/intel_backlight/max_brightness"
SET_PATH="/sys/class/backlight/intel_backlight/brightness"
MAX=$(cat $MAX_PATH)
CUR=$(cat $SET_PATH)
CURPERCENT=$(printf '%.2f' $(bc -l <<< "$CUR / $MAX * 100"))
printf '%s\n' "Backlight: $CUR/$MAX ($CURPERCENT%)"