Skip to content

Instantly share code, notes, and snippets.

Avatar
🎶
I may be slow to respond.

Bobby BobbyWibowo

🎶
I may be slow to respond.
View GitHub Profile
View SimpleUpload.ps1
#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
)
View MoveOldScreenshots.ps1
$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"
View autocannon-0003.out
# 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 │
└─────────┴────────┴────────┴────────┴────────┴───────────┴──────────┴────────┘
┌───────────┬─────────┬─────────┬─────────┬────────┬──────────┬──────────┬─────────┐
View nginx-geoip2-ubuntu.md

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
View adsklicensinginstaller-win-11.0.0.4854.zip
https://download.autodesk.com/us/support/files/autodesk-licensing-service-update/win/adsklicensinginstaller-win-11.0.0.4854.zip
View Grasscutter_Fiddler.js
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",
View kitty-materia-dark.conf
# 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 Jun 30, 2022
Skip Redirect extension backups configs
View No-skip-urls-list
/abp
/account
/adfs
/auth
/cookie
/download
/login
/logoff
/logon
/logout
View WMSEUserSettings.json
{
"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 Jan 3, 2022
One Dark (to be paired with Qogir KDE/GTK+ theme) colorscheme for Alacritty
View alacritty-one-dark.yml
# 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'