From 76dfaa830b8c135e6b41471fb4cd7e8bd78cbfd5 Mon Sep 17 00:00:00 2001 From: cremesk Date: Mon, 8 Jul 2019 22:17:42 +0200 Subject: update html code and add Dark/Light Mode --- fhost.py | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) (limited to 'fhost.py') diff --git a/fhost.py b/fhost.py index 53112dc..68d6ec2 100755 --- a/fhost.py +++ b/fhost.py @@ -348,17 +348,19 @@ def fhost(): {6} - + + - + +
-

envs.net | THE NULL POINTER

+

envs.net | THE NULL POINTER

file hosting and URL shortening service.

USAGE

HTTP POST files here: - curl -F'file=@yourfile.png' {0} + curl -F'file=@yourfile.png' {0} You can also POST remote URLs: curl -F'url=http://example.com/image.jpg' {0} Or you can shorten URLs: @@ -391,11 +393,11 @@ You can also support it financially via Liberapay.

ALIAS

To make your life easier, you can add alias to your .bashrc on Linux and .bash_profile on Mac OS X. Just remember to reset your terminal session after that. -0file() { curl -F"file=@$1" {0} } -0url() { curl -F"url=$1" {0} } -0short() { curl -F"shorten=$1" {0}; } +0file() { curl -F"file=@$1" {0} ; } +0url() { curl -F"url=$1" {0} ; } +0short() { curl -F"shorten=$1" {0} ; } -0file yourfile.png +0file "yourfile.png"

FILE RETENTION PERIOD

retention = min_age + (-max_age + min_age) * pow((file_size / max_size - 1), 3) @@ -433,15 +435,25 @@ Please allow up to 24 hours for a response.
-
+
+ + +
+ +
+ + + -- cgit