diff options
Diffstat (limited to 'application/views/file')
-rw-r--r-- | application/views/file/client.php | 29 |
1 files changed, 0 insertions, 29 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> - |