added termbin alias

This commit is contained in:
Bryan Joshua Pedini 2021-08-18 11:42:16 +02:00
parent a4885fa060
commit 53752a866e
2 changed files with 2 additions and 0 deletions

View File

@ -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 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;<SUBSTITUTE-YOUR-PASSWORD-HERE>"`, 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 `sambaserver`: please `cd` into the directoy is needed to be shared and execute `sambaserver` followed by `"shareuser;<SUBSTITUTE-YOUR-PASSWORD-HERE>"`, 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!)

View File

@ -4,3 +4,4 @@ alias historygrep='history | grep'
alias newrepo='bash <(curl -s https://get.bjphoster.com/new-git-repo.sh)' 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 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'