Skip to content

Instantly share code, notes, and snippets.

@alanmimms
alanmimms / proxy.md
Created December 26, 2023 22:01 — forked from yougg/proxy.md
complete ways to set http/socks/ssh proxy environment variables

set http or socks proxy environment variables

# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT

# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT

# set http proxy with user and password (with special characters)
;;; I needed this for Verilog. I wanted a way to put something in the Emacs kill buffer
;;; and "yank" it over and over while incrementing the first found binary value in the kill buffer.
;;; It's patterned after another solution I found elsewhere, but this is mostly my code at this point.
;;; Bog-standard dumb code I wrote because I thought I could hack it out quickly while learning Elisp. it's nothing
;;; wonderful, but maybe it will save someone some time someday.
;;;
;;; Example:
;;; Start with the text
;;; case ({ADbool, ADsel})
;;; 5'b1010101:

Keybase proof

I hereby claim:

  • I am alanmimms on github.
  • I am alanmimms (https://keybase.io/alanmimms) on keybase.
  • I have a public key ASC0SO9KHlNRD8D2b9Q_neC_v3LvpZHiICXEXBZVP0NVOwo

To claim this, I am signing this object: