Skip to content

Instantly share code, notes, and snippets.

View DamnDam's full-sized avatar

Damien Thirion DamnDam

View GitHub Profile
-----BEGIN CERTIFICATE-----
MIIESzCCAzOgAwIBAgICAQEwDQYJKoZIhvcNAQELBQAwgaExCzAJBgNVBAYTAlVT
MRMwEQYDVQQIEwpDYWxpZm9ybmlhMREwDwYDVQQHEwhTYW4gSm9zZTEVMBMGA1UE
ChMMWnNjYWxlciBJbmMuMRUwEwYDVQQLEwxac2NhbGVyIEluYy4xGDAWBgNVBAMT
D1pzY2FsZXIgUm9vdCBDQTEiMCAGCSqGSIb3DQEJARYTc3VwcG9ydEB6c2NhbGVy
LmNvbTAeFw0yMDA2MDUwNTMyNDRaFw00MTA2MjMwNTMyNDRaMIGuMQswCQYDVQQG
EwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEVMBMGA1UEChMMWnNjYWxlciBJbmMu
MRUwEwYDVQQLEwxac2NhbGVyIEluYy4xODA2BgNVBAMTL1pzY2FsZXIgSW50ZXJt
ZWRpYXRlIFJvb3QgQ0EgKHpzY2FsZXJ0aHJlZS5uZXQpMSIwIAYJKoZIhvcNAQkB
FhNzdXBwb3J0QHpzY2FsZXIuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
@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