Skip to content

Instantly share code, notes, and snippets.

@olmstadfm
Last active July 19, 2016 08:23
Show Gist options
  • Save olmstadfm/d7ed14ba286ca960a91e to your computer and use it in GitHub Desktop.
Save olmstadfm/d7ed14ba286ca960a91e to your computer and use it in GitHub Desktop.
Emacs behind HTTP proxy with authentification
(setq url-proxy-services
'(("http" . "ip:port")
("https" . "ip:port")))
(setq url-http-proxy-basic-auth-storage
(list (list "ip:port"
(cons "Input your LDAP UID !"
(base64-encode-string "login:pass")))))
# via some good guys from stackoverflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment