Skip to content

Instantly share code, notes, and snippets.

View DamnDam's full-sized avatar

Damien Thirion DamnDam

View GitHub Profile
@DamnDam
DamnDam / vnc_install.sh
Last active May 2, 2025 09:22 — forked from x43x61x69/vnc_install.sh
Steam Deck VNC Installation
#!/bin/bash
#
# Script for installing x11vnc on Steam Deck.
#
# Install:
#
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/DamnDam/eb9494e8b50a8296d05d01540469f4cd/raw/vnc_install.sh?$RANDOM)"
#
# This will modify root filesystem so it will probably get
# overwrite on system updates but is totally ok executing
-----BEGIN CERTIFICATE-----
MIIE0zCCA7ugAwIBAgIJANu+mC2Jt3uTMA0GCSqGSIb3DQEBCwUAMIGhMQswCQYD
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMIU2FuIEpvc2Ux
FTATBgNVBAoTDFpzY2FsZXIgSW5jLjEVMBMGA1UECxMMWnNjYWxlciBJbmMuMRgw
FgYDVQQDEw9ac2NhbGVyIFJvb3QgQ0ExIjAgBgkqhkiG9w0BCQEWE3N1cHBvcnRA
enNjYWxlci5jb20wHhcNMTQxMjE5MDAyNzU1WhcNNDIwNTA2MDAyNzU1WjCBoTEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExETAPBgNVBAcTCFNhbiBK
b3NlMRUwEwYDVQQKEwxac2NhbGVyIEluYy4xFTATBgNVBAsTDFpzY2FsZXIgSW5j
LjEYMBYGA1UEAxMPWnNjYWxlciBSb290IENBMSIwIAYJKoZIhvcNAQkBFhNzdXBw
b3J0QHpzY2FsZXIuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
@DamnDam
DamnDam / ProxyDetect.bas
Last active August 23, 2018 14:34
Excel-REST auto-proxy
Attribute VB_Name = "ProxyDetect"
''
' Based on code shared by Stephen Sulzer
' https://groups.google.com/forum/#!topic/microsoft.public.winhttp/ZeWN2Xig82g
'
Option Explicit
Option Private Module
Public Function autoProxy(APIclient As WebClient)
Dim ProxyInfo As ProxyInfo