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
import System;
import Fiddler;
class Handlers
{
static const SERVER_HOST: String = "localhost"; // WSL2 must use exact local IP (ip addr list eth0)
static const DISPATCH_SERVER_PORT: Int32 = 42069;
static const UPSTREAM: Array = [
".yuanshen.com",
".hoyoverse.com",
: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;
}
# 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 │
└─────────┴────────┴────────┴────────┴────────┴───────────┴──────────┴────────┘
┌───────────┬─────────┬─────────┬─────────┬────────┬──────────┬──────────┬─────────┐

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
$Dirs =
"E:\Pictures\Screenshots",
"E:\Pictures\Steam Screenshots",
"E:\Videos\Recordings\GeForce Experience\Autodesk Flow Design",
"E:\Videos\Recordings\GeForce Experience\Autodesk Flow Design\FFBatch",
"E:\Videos\Recordings\GeForce Experience\Genshin Impact",
"E:\Videos\Recordings\GeForce Experience\Genshin Impact\FFBatch",
"E:\Pictures\bh3rd",
"E:\Pictures\Genshin Impact Screenshots"
$TargetSubDir = "old"
#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
@BobbyWibowo
BobbyWibowo / functions.md
Last active July 2, 2023 06:25
Puddletag/Mp3tag functions cheatsheet

Puddletag/Mp3tag functions cheatsheet

Puddletag

Linux.

Tag to Dir

Music/%albumartist%/%album%