From 53752a866edd753848a46f13915c86ff5d53c62f Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Wed, 18 Aug 2021 11:42:16 +0200 Subject: [PATCH] added `termbin` alias --- README.md | 1 + bashrc_overrides/convenience_aliases | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index d0cb340..33d337a 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,4 @@ Feel free to try or poke around in the source (it's all human-readable bash), or Explaining section for not-so-intuitive configurations - alias `sambaserver`: please `cd` into the directoy is needed to be shared and execute `sambaserver` followed by `"shareuser;"`, then just login with username `shareuser` and the provided password with the host computer as URL/IP, autodiscovery of both the host and the share was tested working on Windows and a Samsung Tablet. +- alias `termbin`: use when piping a cat/echo/file/etc to upload to termbin.com (¡requires Netcat!) diff --git a/bashrc_overrides/convenience_aliases b/bashrc_overrides/convenience_aliases index 18c6fdb..7014ba5 100644 --- a/bashrc_overrides/convenience_aliases +++ b/bashrc_overrides/convenience_aliases @@ -4,3 +4,4 @@ alias historygrep='history | grep' alias newrepo='bash <(curl -s https://get.bjphoster.com/new-git-repo.sh)' alias sambaserver='docker run -it --rm --network host -p 137:137 -p 138:138 -p 139:139 -p 445:445 -v `pwd`:/share dperson/samba -n -p -s "sambashare;/share;yes;no;no;shareuser" -w "WORKGROUP"' +alias termbin='nc termbin.com 9999'