diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-08-25 16:33:30 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-08-25 16:33:30 +0200 |
commit | d3301dbfd99eb7ea1c0f99a50ba075142b2392a2 (patch) | |
tree | 15c5b9853a3c7f69c6be333417c55efd1cc68b36 /application/views | |
parent | 5bdd40c106609e4b8d1b8bdcb9cb61e67770e306 (diff) |
Remove documentation for deprecated API
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views')
-rw-r--r-- | application/views/file/client.php | 29 | ||||
-rw-r--r-- | application/views/file_plaintext/client.php | 8 |
2 files changed, 0 insertions, 37 deletions
diff --git a/application/views/file/client.php b/application/views/file/client.php index e868124ab..2adf4d663 100644 --- a/application/views/file/client.php +++ b/application/views/file/client.php @@ -6,27 +6,6 @@ GPG sigs, older versions: <?php echo anchor("https://paste.xinu.at/data/client"); ?> </p> -<p>To authenticate add the following to your ~/.netrc:</p> - -<pre> -machine <?php echo $domain; ?> login my_username password my_secret_password -</pre> - -<p> - If you are using fb-client ≥1.2 you can - <a href="<?php echo site_url("user/apikeys"); ?>">create an API key</a>, - save it in <code>~/.config/fb-client/apikey</code> and remove - your password from <code>.netrc</code>. Please refer to <code>man - 1 fb</code> for further details. -</p> - -<p> - If you are using fb-client ≥1.1 you can use - <code>~/.config/fb-client/config</code> to upload to a different - pastebin URL (https or you own installation). Please refer to - <code>man 1 fb</code> for further details. -</p> - <h2>Linux</h2> <p> Arch Linux: pacman -S fb-client<br /> @@ -40,11 +19,3 @@ machine <?php echo $domain; ?> login my_username password my_secret_password <p> Get <a href="http://brew.sh">Homebrew</a> and run <code>brew install fb-client</code>. </p> - -<h1>Shell</h1> - -<pre> -curl -n -F "file=@/home/user/foo" <?php echo site_url("file/do_upload"); ?> (binary safe) -cat file | curl -n -F "file=@-;filename=stdin" <?php echo site_url("file/do_upload"); ?> (binary safe) -</pre> - diff --git a/application/views/file_plaintext/client.php b/application/views/file_plaintext/client.php index a680a0b68..64b341149 100644 --- a/application/views/file_plaintext/client.php +++ b/application/views/file_plaintext/client.php @@ -1,12 +1,4 @@ -Shell (binary safe): - curl -n -F "file=@/home/user/foo" <?php echo site_url("file/do_upload")."\n"; ?> - cat file | curl -n -F "file=@-;filename=stdin" <?php echo site_url("file/do_upload")."\n"; ?> - Client: Development (git): http://git.server-speed.net/users/flo/fb Latest release: <?php echo $client_link."\n"; ?> GPG sigs, older versions: https://paste.xinu.at/data/client - -To authenticate add the following to your ~/.netrc: - machine paste.xinu.at login my_username password my_secret_password - |