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
@BobbyWibowo
BobbyWibowo / genshinimpact-3120x1440.json
Last active May 10, 2025 05:34
QtScrcpy custom key maps for Genshin Impact.
{
"switchKey": "Key_QuoteLeft",
"mouseMoveMap": {
"startPos": {
"x": 0.5,
"y": 0.32
},
"speedRatio": 3.5
},
"keyMapNodes": [
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
:root {
--yt-icon-active-color: #3daee9 !important;
/* --iron-icon-fill-color: #ffffff !important; */
}
ytd-rich-grid-renderer {
--ytd-rich-grid-items-per-row: 4 !important;
--ytd-rich-grid-posts-per-row: 4 !important;
}
@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'
{
"ArrowAlphaScript" : 0,
"ArrowHAnchorScript" : "Left",
"ArrowPosXScript" : 0,
"ArrowPosYScript" : 712,
"ArrowScaleScript" : 100,
"ArrowVAnchorScript" : "bottom",
"ArrowWidgetScript" : 0,
"AttributeAlphaScript" : 0,
"AttributeHAnchorScript" : "Left",
# Materia Dark (PapirusDevelopmentTeam/materia-kde)
background #181818
foreground #eff0f1
cursor #eff0f1
selection_background #ffffff
selection_foreground #2d2c2d
color0 #181818
color1 #e14245

This is only for Official NGINX mainline Ubuntu releases
https://nginx.org/en/linux_packages.html#Ubuntu

  • Install NGINX build dependencies
    Redo after every NGINX upstream updates, in case of new build dependencies
apt build-dep nginx
  • Install additional build dependencies
# Hyper-Express
$ autocannon http://localhost:3001/api/check --renderStatusCodes --debug --warmup [ -c 2500 -d 30 ] -c 2500 -d 30 -p 4
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Stat β”‚ 2.5% β”‚ 50% β”‚ 97.5% β”‚ 99% β”‚ Avg β”‚ Stdev β”‚ Max β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Latency β”‚ 267 ms β”‚ 447 ms β”‚ 622 ms β”‚ 645 ms β”‚ 427.02 ms β”‚ 76.18 ms β”‚ 708 ms β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
#Requires -Version 7
# For simplicity's sake, this only accepts uploading 1 file at a time
Param(
[Parameter(ValueFromPipeline)][string] $File,
[string] $Token,
[int] $AlbumID,
[switch] $Silent = $False
)
@BobbyWibowo
BobbyWibowo / README.md
Created October 12, 2022 21:39
regex.test vs known string.startsWith