From e49e00d0c5261b8945f81cb74f33b8d0536cac54 Mon Sep 17 00:00:00 2001 From: Howland Owl Date: Fri, 9 Dec 2016 18:24:58 +0200 Subject: [PATCH] Add ssh+tunnel worssh, geturl + urllist --- geturl.sh | 12 ++++++++++++ urllist | 9 +++++++++ worssh | 3 +++ 3 files changed, 24 insertions(+) create mode 100755 geturl.sh create mode 100644 urllist create mode 100755 worssh diff --git a/geturl.sh b/geturl.sh new file mode 100755 index 0000000..3577538 --- /dev/null +++ b/geturl.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +URL=`dmenu -fn 'mOsOul for Powerline-10' -nb navy -nf chartreuse -sb black -sf orange -p "Url>" -l 8 < ~/bin/urllist` +if [ $URL ]; then + if [ "$URL" = "clipboard" ]; then + URL=`xclip -o` + fi + export http_proxy=192.168.42.5:8118 + tabbed -r2 surf -e -a@Aa -BDfg $URL +fi + + diff --git a/urllist b/urllist new file mode 100644 index 0000000..026f1bf --- /dev/null +++ b/urllist @@ -0,0 +1,9 @@ +https://startpage.com +https://duckduckgo.com +http://gitlabrador.amigadns.com +https://github.com +http://eurasia.nu +https://rockpapershotgun.com +https://my.safaribooksonline.com +http://192.168.42.2/mopidy +clipboard diff --git a/worssh b/worssh new file mode 100755 index 0000000..2c2a1f0 --- /dev/null +++ b/worssh @@ -0,0 +1,3 @@ +#!/bin/zsh +ssh -D 9944 -o "ProxyCommand /usr/bin/nc -X 5 -x 127.0.0.1:9000 %h %p" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "${@}" +