Skip to content

Commit

Permalink
curl-tor-bug (#17): Created dotfiles/example/rocha/.curlrc; workaroun…
Browse files Browse the repository at this point in the history
…d for 'curl: (7) Failed to connect to example.org port 443: Connection refused'
  • Loading branch information
fititnt committed Oct 24, 2020
1 parent 39b3b0f commit ef1777e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/portable-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ mkdir /home/amnesia/Persistent/software/appimage
#### 3.4 Path for persistent .deb installers ...................................
mkdir /home/amnesia/Persistent/software/deb

#### 3.5 Path for sinle file binaries to add to the path .......................
# See file dotfiles/example/rocha/.bash_profile
mkdir /home/amnesia/Persistent/software/bin
# Or you could use the /bin on persistence
# mkdir /home/amnesia/Persistent/bin


#### 4 [OPTIONAL] Structured directory layout for git projects _________________
# If you're a frequent git/github/gitlab user, some more organized directory
# structure may makes sense. This one will be somewhat optionated
Expand Down
20 changes: 20 additions & 0 deletions dotfiles/example/rocha/.bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ if [ -d "$HOME/bin" ] ; then
fi

#### Custom additions from original ~/.profile, START __________________________

#### /home/amnesia/Persistent/software/bin .....................................
# @see docs/portable-software.sh
# If this path exists, executable binaries here will have priority over
# /home/amnesia/bin.
if [ -d "/home/amnesia/Persistent/software/bin" ] ; then
PATH="/home/amnesia/Persistent/software/bin:$PATH"
fi

#### /home/amnesia/Persistent/bin ..............................................
# @see docs/portable-software.sh
# If this path exists, executable binaries here will have priority over
# /home/amnesia/Persistent/software/bin and /home/amnesia/bin.
if [ -d "/home/amnesia/Persistent/bin" ] ; then
PATH="/home/amnesia/Persistent/bin:$PATH"
fi

#### Startup scripts ...........................................................
# TODO: this feature was not fully tested yet. (fititnt, 2020-10-24 18:42 UTC)
#
# Note: this code exists both on the my-git-repo/bin/startup-scripts.sh and
# my-git-repo/dotfiles/example/rocha/.bash_profile

Expand Down
4 changes: 4 additions & 0 deletions dotfiles/example/rocha/.curlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# @see https://curl.haxx.se/docs/manpage.html

# "Tails v4.12 (tor network) error 'curl: (7) Failed to connect to example.org port 443: Connection refused' & 'curl --socks5 127.0.0.1:9050' #17"
preproxy = 127.0.0.1:9050

0 comments on commit ef1777e

Please sign in to comment.