Introduction
Introduction Statistics Contact Development Disclaimer Help
Added some aliases, performed minor cleanup - fiche - A pastebin adjusted for g…
git clone git://vernunftzentrum.de/fiche.git
Log
Files
Refs
LICENSE
---
commit 7ad6a82fd4f816c91d12da0eb808e242ef6edfa1
parent 53c0027b3c38a0a253d975747037507780833d3c
Author: solusipse <[email protected]>
Date: Sat, 2 Sep 2017 21:22:35 +0200
Added some aliases, performed minor cleanup
Diffstat:
README.md | 66 ++++++++++++++++++++++++++-----
1 file changed, 56 insertions(+), 10 deletions(-)
---
diff --git a/README.md b/README.md
@@ -3,7 +3,7 @@ fiche [![Build Status](https://travis-ci.org/solusipse/fiche.sv…
Command line pastebin for sharing terminal output.
-# Client-side usage
+## Client-side usage
Self-explanatory live examples (using public server):
@@ -21,14 +21,62 @@ In case you installed and started fiche on localhost:
ls -la | nc localhost 9999
```
+### Useful aliases
+
+You can make your life easier by adding a termbin alias to your rc file. We li…
+
+#### `tb` alias
+
+__Linux (Bash):__
+```
+echo 'alias tb="nc termbin.com 9999"' >> .bashrc
+```
+
+```
+echo less typing now! | tb
+```
+
+__macOS:__
+
+```
+echo 'alias tb="nc termbin.com 9999"' >> .bash_profile
+```
+
+```
+echo less typing now! | tb
+```
+
+#### Copy output to clipboard
+
+__Linux (Bash):__
+```
+echo 'alias tbc="netcat termbin.com 9999 | xclip -selection c"' >> .bashrc
+```
+
+```
+echo less typing now! | tbc
+```
+
+__macOS:__
+
+```
+echo 'alias tbc="nc termbin.com 9999 | pbcopy"' >> .bash_profile
+```
+
+```
+echo less typing now! | tbc
+```
+
+__Remember__ to restart your terminal session after adding any of provided abo…
+
## Requirements
To use fiche you have to have netcat installed. You probably already have it -…
-------------------------------------------------------------------------------
-# Server-side usage
+## Server-side usage
-## Installation ##
+### Installation
1. Clone:
@@ -50,8 +98,6 @@ To use fiche you have to have netcat installed. You probably …
-------------------------------------------------------------------------------
-## Settings
-
### Usage
```
@@ -61,9 +107,9 @@ usage: fiche [-D6epbsdSolBuw].
[-l log file] [-b banlist] [-w whitelist]
```
-These are command line arguments. You don't have to provide any of them to run…
+These are command line arguments. You don't have to provide any of them to run…
-### Examples
+### Settings
-------------------------------------------------------------------------------
@@ -204,11 +250,11 @@ ExecStart=/usr/local/bin/fiche -d yourdomain.com -o /path…
WantedBy=multi-user.target
```
-__WARNING:__ In service mode you have to set output directory with `-o` parame…
+__WARNING:__ In service mode you have to set output directory with `-o` parame…
-------------------------------------------------------------------------------
-## Example nginx config
+### Example nginx config
Fiche has no http server built-in, thus you need to setup one if you want to m…
@@ -227,6 +273,6 @@ server {
}
```
-# License
+## License
Fiche is MIT licensed.
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.