Skip to content

Instantly share code, notes, and snippets.

Avatar
🔴
Streaming coding sessions on Twitch!

Jaid

🔴
Streaming coding sessions on Twitch!
View GitHub Profile
@Jaid
Jaid / rocketFilter.user.js
Last active Nov 16, 2022
Rocket Filter on pgomap-h.de
View rocketFilter.user.js
// ==UserScript==
// @name Rocket Filter
// @description Team GO Rocket encounter filter on pgomap-h.de
// @updateURL https://gist.github.com/Jaid/b8371f93a4ed67d57deb14930ee9684f/raw/rocketFilter.user.js
// @downloadURL https://gist.github.com/Jaid/b8371f93a4ed67d57deb14930ee9684f/raw/rocketFilter.user.js
// @namespace https://jaidchen.com
// @version 1.1.0
// @author Jaid <jaid.jsx@gmail.com>
// @match *://www.pgomap-h.de
// @icon https://www.google.com/s2/favicons?sz=64&domain=pgomap-h.de
@Jaid
Jaid / daemon.json
Last active Nov 15, 2022
Sane configuration for Docker daemon on Debian servers (very important, otherwise container logs may flood the root partition over night)
View daemon.json
{
"features": {
"buildkit": true
},
"builder": {
"gc": {
"defaultKeepStorage": "4GB",
"enabled": true
}
},
@Jaid
Jaid / sasControllers.md
Last active Nov 2, 2022
SAS PCIe controller specs comparison
View sasControllers.md
Label Code IO controller PCIe PCI transfer Ports SAS Duplex Lane bandwidth
LSI 9217-8i SAS2308, Fusion MPT 2.0 3.0 x8 8000 mb/s 8x 6 gb/s 2.1 half 600 mb/s
Avago 9211-8i SAS2008, Fusion MPT 2.0 2.0 x8 4000 mb/s 8x 6 gb/s 2.0 half 600 mb/s
Avago 9207-8i SAS2308, Fusion MPT 2.0 3.0 x8 8000 mb/s 8x 6 gb/s 2.1 half 600 mb/s
LSI 9210-8i SAS2008, Fusion MPT 2.0 2.0 x8 4000 mb/s 8x 6 gb/s 2.0 half 600 mb/s
Avago 9300-8i SAS3008, Fusion MPT 2.5 3.0 x8 8000 mb/s 8x 12 gb/s 3.0 half x8 9600 mb/s
MegaRAID 9261-8i SAS2108, RAID-on-Chip 2.0 x8 4000 mb/s 8x 6 gb/s ? ? ?
@Jaid
Jaid / powershell.log
Created Oct 29, 2022
Broken Windows Samba to Linux connection logs
View powershell.log
PS C:\WINDOWS\system32> logman start why -ets -p Microsoft-Windows-SMBClient Smb_Info -o why.etl
The command completed successfully.
PS C:\WINDOWS\system32> logman stop why -ets
The command completed successfully.
PS C:\WINDOWS\system32> wevtutil qe /f:text /lf:true why.etl | findstr "SMB.send SMB.receive"
SMB receive: [NEG_MP ] (Mid/Sid/Tid) (0/0/0) Creds 1 Status 0 VcEndpoint 0xffffaa096996d9c0
SMB receive: [NEG_MP ] (Mid/Sid/Tid) (1/0/0) Creds 1 Status 0 VcEndpoint 0xffffaa096996d9c0
SMB send[0]: [SESSION ] (Mid/Sid/Tid) (2/0/0) MidCharge 1 Creds 33 SendLengh 162 VcEndpoint 0xffffaa096996d9c0
SMB receive: [SESSION ] (Mid/Sid/Tid) (2/346272224/0) Creds 1 Status 3221225494 VcEndpoint 0xffffaa096996d9c0
SMB send[0]: [SESSION ] (Mid/Sid/Tid) (3/346272224/0) MidCharge 1 Creds 33 SendLengh 549 VcEndpoint 0xffffaa096996d9c0
@Jaid
Jaid / id_jaid.pub
Last active Oct 29, 2022
Public ssh key: id_jaid.pub
View id_jaid.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC0yRxU2h2h/+96OIrs0KQbe/q5KLFyEZ8msghqKo0LQRPkfFsh2qT60Qr8OIq/V0nZpqW8v0HUYUA1c4sEF3k+E0Ur1oKD5p9rmTZfPwvSMDJYKjRvN+BwKR4pzwzNfghnsK09r/foy1hDpaOZIOmM8+LtrYxtuN+DcWP8LQ5sod3nYzmTWOlHJrajn2DqtWULhoF8o83r7FqAG02n6vU84BdAZNoNTqgJx/2kLn7OQKRR4nH7CBCGdsS7WyerOWG4lEyPI9Suu9UxUcWlLCitKXIbdKG4F/NjBbsUY240IJI/xjhNK/7Ig4X5q66CcTpGqTYKSTLuhMIA/u2F1i7UzzXhNCenu5YlhoSFucSy3Gf+UiM3ZZorgEhzaONIGHsoMtgf4by1/iR7qL7Ap1j0/t3TUdiDrDAGUBLeFquo/73IHu66cLUTWF8F4WKIOGUBiEretZ/LircNUeSB9rPCNsqR0fi33sDrXsaWu3nctN1d8Tjcwy9GRHo1KhS1FbsrKj90HoSREMnsPvbU4jjUsD9oHUGb2GwaI/4kIXyFdPsgNtWTL4X66FgzIvouexprH0uo1CCIiFh1Pz/+TvwDzIiEwr6Nj1T5UXyaH89H7NjMBqctVy9h1h8GqhXpEP7SAhib43E3QKkx0lUPsd/dVtzt3yDtMsy4+f0lRFU4BQ== jaid.jsx@gmail.com
@Jaid
Jaid / readme.md
Last active Nov 1, 2022
Server setup script (expects ~/setup.json (object with key "githubToken") to exist)
View readme.md

Requirements

  • jq
  • File ~/setup.json looking like this:
{ "githubToken": "ghp_000000000000000000000000000000000000" }

Usage

@Jaid
Jaid / displays.md
Last active Oct 2, 2022
My displays
View displays.md
From Model Year Size Height Width Bit Panel Brightness Contrast Colors Watts Hz Response
BenQ GL2760H 2014 27 1080 1920 6 + 2 FRC TN 300 cd/m² 1 000 (dynamic 12 000 000) 72% NTSC 34 60 2 ms
BenQ GL2450H 2014 24 1080 1920 6 + 2 FRC TN 250 cd/m² 1 000 (dynamic 12 000 000) 72% NTSC 31 60 5 ms
Acer XF240H 2015 24 1080 1920 6 + 2 FRC TN 350 cd/m² 1 000 (dynamic 10 000 000) 72% NTSC 23 144 1 ms
Wacom DTH-1320 2016 13.3 1080 1920 8 IPS 250 cd/m² 800 87% AdobeRGB 20 60 30 ms
Samsung S27BM500EU 2022 27 1080 1920 8 + 2 FRC VA 250 cd/m² 3 000 ? 26 60 4 ms
@Jaid
Jaid / jaidDefault.bcul
Created Sep 28, 2022
My Bulk Crap Uninstaller filter list
View jaidDefault.bcul
<?xml version="1.0" encoding="utf-16"?>
<UninstallList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Filters>
<Filter>
<Name>Include all</Name>
<Exclude>false</Exclude>
<ComparisonEntries>
<FilterCondition>
<InvertResults>true</InvertResults>
<ComparisonMethod>Equals</ComparisonMethod>
@Jaid
Jaid / ConvertConfig.ini
Last active Oct 6, 2022
Windows 11 Pro arm64 UUP App List
View ConvertConfig.ini
[convert-UUP]
AutoStart =1
AddUpdates =1
Cleanup =1
ResetBase =1
NetFx3 =1
StartVirtual =1
wim2esd =1
wim2swm =0
SkipISO =0
@Jaid
Jaid / appVersions.yml
Created Sep 17, 2022
Latest app versions
View appVersions.yml
apps:
photoshop: 23.5.1 # https://helpx.adobe.com/be_en/photoshop/kb/uptodate.html
illustrator: '26.5' # https://helpx.adobe.com/illustrator/release-notes.html
lightroomClassic: '11.5' # https://helpx.adobe.com/lightroom-classic/help/whats-new.html
acrobatPro: 22.002.20212 # https://en.wikipedia.org/wiki/Adobe_Acrobat
premierePro: '22.6' # https://helpx.adobe.com/premiere-pro/using/whats-new.html
afterEffects: '22.6' # https://helpx.adobe.com/after-effects/release-note/release-notes-after-effects.html
mediaEncoder: 22.6.1 # https://helpx.adobe.com/media-encoder/using/whats-new.html
audition: '22.6' # https://helpx.adobe.com/audition/using/whats-new.html
bridge: 12.0.3 # https://helpx.adobe.com/bridge/using/whats-new.htm