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
// ==UserScript==
// @name MinMaxClose Button
// @author xiaoxiaoflood
// @include main
// @shutdown UC.MinMaxCloseButton.destroy();
// @onlyonce
// ==/UserScript==
// inspired by: https://j.mozest.com/ucscript/script/83.meta.js
/** Import Lepton stylesheet (Chrome) *****************************************/
@import url("css/leptonChrome.css");
/** Add your custom styles below **********************************************/
/* Enable option to edit bookmark URLs under Add Bookmark (blue star) menu */
/*
.editBMPanel_locationRow {
display: initial !important;
/**
* @name Material_Discord_Custom
* @version 2.0.0
* @description A theme based on Google's Material Design
* @author CapnKitten
*
* @website https://github.com/BobbyWibowo/Material-Discord-Custom
* @source https://github.com/BobbyWibowo/Material-Discord-Custom
*/
/** Material Discord by CapnKitten (22/01/2023) -- unix timestamp is mainly to enforce browser cache refresh **/
@BobbyWibowo
BobbyWibowo / README.md
Created October 12, 2022 21:39
regex.test vs known string.startsWith
#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
)
$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"
# 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
https://download.autodesk.com/us/support/files/autodesk-licensing-service-update/win/adsklicensinginstaller-win-11.0.0.4854.zip
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",