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 / barraiderRegistryAccess.csv
Last active Jun 29, 2022
BarRaider Stream Deck Extensions Registry Access (analyzed with Sysinternals Process Monitor)
View barraiderRegistryAccess.csv
We can't make this file beautiful and searchable because it's too large.
"Time of Day","Process Name","PID","Operation","Path","Result","Detail"
"10:28:19,8254308","com.barraider.obstools.exe","7132","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
"10:28:19,8254382","com.barraider.obstools.exe","7132","RegOpenKey","HKLM\Software\Microsoft\Cryptography","SUCCESS","Desired Access: Read"
"10:28:19,8254501","com.barraider.obstools.exe","7132","RegSetInfoKey","HKLM\SOFTWARE\Microsoft\Cryptography","SUCCESS","KeySetInformationClass: KeySetHandleTagsInformation, Length: 0"
"10:28:19,8254559","com.barraider.obstools.exe","7132","RegQueryValue","HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid","BUFFER OVERFLOW","Length: 12"
"10:28:19,8254618","com.barraider.obstools.exe","7132","RegQueryValue","HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid","SUCCESS","Type: REG_SZ, Length: 74, Data: <REDACTED>"
"10:28:19,8254687","com.barraider.obstools.exe","7132","RegQueryValue","HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid","BUFFER OVERFLOW","Length: 49"
@Jaid
Jaid / generateDockerTlsKeys.bash
Last active Jun 29, 2022
OpenSSL routine for custom Docker API TLS keys (Written for Windows MSYS, but works everywhere)
View generateDockerTlsKeys.bash
#!/usr/bin/env bash
set -e
set -o errexit
: "${myPassword:=moin}"
: "${dockerApiIp:=192.168.178.39}"
: "${dockerApiPort:=2375}"
: "${altNames:=DNS:jaidPc,DNS:jaid-pc,DNS:jaidPc.fritz.box,DNS:jaid-pc.fritz.box,DNS:localhost,IP:127.0.0.1}"
: "${daysValid:=3653}"
: "${rsaBits:=4096}"
@Jaid
Jaid / dockerPurge.bash
Created Jun 29, 2022
Docker purge all
View dockerPurge.bash
#!/usr/bin/env bash
set -e
set -o errexit
docker system prune --all --force --volumes
docker buildx rm --all-inactive --force
docker buildx prune --all --force
@Jaid
Jaid / tesseractConfigVariables.txt
Created Jun 26, 2022
Tesseract v5 default config
View tesseractConfigVariables.txt
textord_dotmatrix_gap 3 Max pixel gap for broken pixed pitch
textord_debug_block 0 Block to do debug on
textord_pitch_range 2 Max range test on pitch
textord_words_veto_power 5 Rows required to outvote a veto
textord_tabfind_show_strokewidths 0 Show stroke widths (ScrollView)
pitsync_linear_version 6 Use new fast algorithm
oldbl_holed_losscount 10 Max lost before fallback line used
textord_skewsmooth_offset 4 For smooth factor
textord_skewsmooth_offset2 1 For smooth factor
textord_test_x -2147483647 coord of test pt
@Jaid
Jaid / neofetchConfig.bash
Created Jun 25, 2022
Neofetch default config
View neofetchConfig.bash
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info title
info underline
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
@Jaid
Jaid / README.md
Last active Jun 29, 2022
Docker daemon setup for Debian
View README.md

Paths

daemon.json

sudo nano /etc/docker/daemon.json

override.conf

sudo mkdir /etc/systemd/system/docker.service.d
@Jaid
Jaid / customizeVysor.json
Created Jun 21, 2022
My Vysor custumization settings
View customizeVysor.json
{
"dark": true,
"dense": true,
"themeColor": "#000000",
"accentColor": "#FF9800",
"backgroundColor": "#000000",
"android": {
"adb": {
"path": "C:/Users/Jaid/AppData/Local/Android/Sdk/platform-tools/adb",
"arguments": []
@Jaid
Jaid / README.md
Last active Jun 19, 2022
FFMpeg help output
@Jaid
Jaid / vysorSettings.json
Last active Jun 17, 2022
Vysor settings
View vysorSettings.json
{
"dark": true,
"dense": true,
"themeColor": "#000000",
"accentColor": "#FF9800",
"backgroundColor": "#000000",
"android": {
"adb": {
"path": "C:/Users/Jaid/AppData/Local/Android/Sdk/platform-tools/adb",
"arguments": []
@Jaid
Jaid / getLocalIpOnWindows.bash
Last active Jun 11, 2022
Get local IPv4 address programmatically on Windows (using Bash and Node)
View getLocalIpOnWindows.bash
ip=$(node -e "process.stdout.write(/(?<ip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\(Preferred\)/.exec(\`$(ipconfig -all)\`).groups.ip)")