From c13477aeead1781a01b6446fc49664cd764e59ad Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 10 Dec 2020 15:28:28 -0500 Subject: improve front page html using some css tricks --- front.html.in | 224 +++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 136 insertions(+), 88 deletions(-) diff --git a/front.html.in b/front.html.in index fcd2afa..e6e6ca3 100644 --- a/front.html.in +++ b/front.html.in @@ -12,83 +12,141 @@ 8) {8} --> - - {6} - - - - -
+ + {6} + + + + + + +
+
+
+

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}
post your text directly: - echo "text here" | curl -F'file=@-;' {0} +
echo "text here" | curl -F'file=@-;' {0}
you can also POST remote URLs: - curl -F'url=https://example.com/image.jpg' {0} +
curl -F'url=https://example.com/image.jpg' {0}
or you can shorten URLs: - curl -F'shorten=http://example.com/some/long/url' {0} +
curl -F'shorten=http://example.com/some/long/url' {0}
-file URLs are valid for at least 30 days and up to a year (see below). -shortened URLs do not expire. -not allowed: {5} -maximum file size: {1} - - -

ACCEPTABLE USE POLICY

-
-please do not post any informations that
-may violate law (login/password lists, email lists, personal information).
-
-{0} is NOT a platform for:
-
-
    -
  • child pornography
  • -
  • malware, including potentially unwanted applications
  • -
  • botnet command and control schemes involving this service
  • -
  • anything even remotely related to crypto currencies
  • -
  • hosting your backups
  • -
  • spamming the service with CI build artifacts
  • -
  • piracy
  • -
  • alt-right shitposting
  • -
-

REQUIREMENTS

-
-there is only one thing you need to use this service - curl.
-curl is available on most platforms, including Windows, Mac OS X and Linux.
-
-if you run a server and like this site, clone it! centralization is bad.
-https://github.com/envs-net/0x0
+file URLs are valid for at least 30 days and up to a year (see below).
+shortened URLs do not expire.
+not allowed: {5}
+maximum file size: {1}
+

+

ACCEPTABLE USE POLICY

+

please do not post any informations that +may violate law (login/password lists, email lists, personal information).
+
+{0} is NOT a platform for:

+
    +
  • child pornography
  • +
  • malware, including potentially unwanted applications
  • +
  • botnet command and control schemes involving this service
  • +
  • anything even remotely related to crypto currencies
  • +
  • hosting your backups
  • +
  • spamming the service with CI build artifacts
  • +
  • piracy
  • +
+

REQUIREMENTS

+

+there is only one thing you need to use this service - curl.
+curl is available on most platforms, including Windows, Mac OS X and Linux.
+
+if you run a server and like this site, clone it! centralization is bad.
+https://github.com/envs-net/0x0
you can also support it financially via liberapay. -img_shield_receives_via_liberapay -

- -

ALIAS

-
-to make your life easier, you can add aliases to your .bash_aliases on Linux
-and .bash_profile on Mac OS X. just remember to reset your terminal session after that.
-0file() { curl -F"file=@$1" {0} ; }
+

+

ALIAS

+

to make your life easier, you can add aliases to your

.bash_aliases
on Linux +and
.bash_profile
on Mac OS X. just remember to reset your terminal session after that. +
0file() { curl -F"file=@$1" {0} ; }
 0pb() { curl -F"file=@-;" {0} ; }
 0url() { curl -F"url=$1" {0} ; }
-0short() { curl -F"shorten=$1" {0} ; }
+0short() { curl -F"shorten=$1" {0} ; }
now you can use: -0file "yourfile.png" +
0file "yourfile.png"
 # or
-echo "text here" | 0pb
+echo "text here" | 0pb
-if you want a nice wrapper, try ~tomasino's pb -
- -

FILE RETENTION PERIOD

-
+if you want a nice wrapper, try ~tomasino's pb

+

FILE RETENTION PERIOD

+
 retention = min_age + (-max_age + min_age) * pow((file_size / max_size - 1), 3)
 
    days
@@ -111,36 +169,26 @@ retention = min_age + (-max_age + min_age) * pow((file_size / max_size - 1), 3)
         |                              ......
      30 |                                    ....................
           0{2}{3}
-           {4}
-
- -

ABUSE

-
+           {4}
+

ABUSE

+

if you would like to request permanent deletion, please send an email to {8}. please allow up to 24 hours for a response. -

-
- - - - - - + + -
- +
+ -- cgit