@@ -1,7 +1,8 @@ | |||||
/* | /* | ||||
https://github.com/fs111/kurz.go/blob/master/src/codec.go | https://github.com/fs111/kurz.go/blob/master/src/codec.go | ||||
Copyright (c) 2011 André Kelpe | |||||
Originally written and Copyright (c) 2011 André Kelpe | |||||
Modifications Copyright (c) 2015 John Ko | |||||
Permission is hereby granted, free of charge, to any person obtaining a copy of | Permission is hereby granted, free of charge, to any person obtaining a copy of | ||||
this software and associated documentation files (the "Software"), to deal in | this software and associated documentation files (the "Software"), to deal in | ||||
@@ -30,7 +31,7 @@ import ( | |||||
const ( | const ( | ||||
// characters used for short-urls | // characters used for short-urls | ||||
SYMBOLS = "0123456789abcdefghijklmnopqrsuvwxyzABCDEFGHIJKLMNOPQRSTUVXYZ" | |||||
SYMBOLS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" | |||||
// someone set us up the bomb !! | // someone set us up the bomb !! | ||||
BASE = int64(len(SYMBOLS)) | BASE = int64(len(SYMBOLS)) | ||||
@@ -85,6 +85,11 @@ | |||||
<footer> | <footer> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<div style=""> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
<br/> | <br/> | ||||
<br/> | <br/> | ||||
@@ -70,6 +70,11 @@ | |||||
<footer> | <footer> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<div style=""> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
<br/> | <br/> | ||||
<br/> | <br/> | ||||
@@ -82,6 +82,11 @@ | |||||
<footer> | <footer> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<div style=""> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
<br/> | <br/> | ||||
<br/> | <br/> | ||||
@@ -81,6 +81,11 @@ | |||||
<footer> | <footer> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<div style=""> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
<br/> | <br/> | ||||
<br/> | <br/> | ||||
@@ -65,15 +65,6 @@ | |||||
<a href="{{.Url}}" class="btn-cta btn"> download</i> </a> <br/><br/> | <a href="{{.Url}}" class="btn-cta btn"> download</i> </a> <br/><br/> | ||||
<div class="row animated fadeInDown"> | |||||
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12"> | |||||
<div class="terminal-top"> | |||||
</div> | |||||
<div id="terminal" class="terminal"> | |||||
<iframe src="{{ .Url }}" id="md-preview" sandbox></iframe> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<br/> | <br/> | ||||
</section> | </section> | ||||
@@ -81,6 +72,11 @@ | |||||
<footer> | <footer> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<div style=""> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
<br/> | <br/> | ||||
<br/> | <br/> | ||||
@@ -85,6 +85,11 @@ | |||||
<footer> | <footer> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<div style=""> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
<br/> | <br/> | ||||
<br/> | <br/> | ||||
@@ -1,5 +1,10 @@ | |||||
<footer> | <footer> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<div style=""> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
<br/> | <br/> | ||||
<br/> | <br/> | ||||
@@ -218,7 +218,7 @@ | |||||
<br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt | <br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt | ||||
<br> | <br> | ||||
<br> | <br> | ||||
<span class="code-title"># Encrypt and upload</span> | |||||
<span class="code-title"># Download and decrypt</span> | |||||
<br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt | <br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt | ||||
</code> | </code> | ||||
</div> | </div> | ||||
@@ -421,31 +421,6 @@ | |||||
<a href="#" data-uv-trigger class="btn-cta">contact us</a> | <a href="#" data-uv-trigger class="btn-cta">contact us</a> | ||||
</div> | </div> | ||||
</section> | </section> | ||||
<section id="thank-you"> | |||||
<div class="wrapper"> | |||||
<h2 class="page-title"> | |||||
Special thanks to </h2> | |||||
<br> | |||||
<div class="row"> | |||||
<div class="col-md-4 col-md-offset-2 col-xs-12"> | |||||
<a class="btn-cta" href="https://twitter.com/remco_verhoef"><i class="icon-twitter"></i> Remco Verhoef</a> | |||||
</div> | |||||
<div class="col-md-4 col-xs-12"> | |||||
<a class="btn-cta" href="http://twitter.com/uvisgrinfelds"><i class="icon-twitter"></i> Uvis Grinfelds</a> | |||||
</div> | |||||
</div> | |||||
<h3>Want to be here? Support us!</h3> | |||||
<div class="donate"> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
</div> | |||||
</section> | |||||
<section id="tor"> | <section id="tor"> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<a href="https://www.torproject.org"><img src="images/tor.svg" alt=""> | <a href="https://www.torproject.org"><img src="images/tor.svg" alt=""> | ||||
@@ -458,6 +433,11 @@ | |||||
<footer> | <footer> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<div style=""> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
<br/> | <br/> | ||||
<br/> | <br/> | ||||
@@ -496,4 +476,4 @@ | |||||
</body> | </body> | ||||
</html> | |||||
</html> |
@@ -18,15 +18,6 @@ include "includes/head.html" | |||||
include "includes/download-top.html" | include "includes/download-top.html" | ||||
<div class="row animated fadeInDown"> | |||||
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12"> | |||||
<div class="terminal-top"> | |||||
</div> | |||||
<div id="terminal" class="terminal"> | |||||
<iframe src="{{ .Url }}" id="md-preview" sandbox></iframe> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<br/> | <br/> | ||||
</section> | </section> | ||||
@@ -1,5 +1,10 @@ | |||||
<footer> | <footer> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<div style=""> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
<br/> | <br/> | ||||
<br/> | <br/> | ||||
@@ -192,7 +192,7 @@ include "includes/head.html" | |||||
<br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt | <br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt | ||||
<br> | <br> | ||||
<br> | <br> | ||||
<span class="code-title"># Encrypt and upload</span> | |||||
<span class="code-title"># Download and decrypt</span> | |||||
<br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt | <br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt | ||||
</code> | </code> | ||||
</div> | </div> | ||||
@@ -395,31 +395,6 @@ include "includes/head.html" | |||||
<a href="#" data-uv-trigger class="btn-cta">contact us</a> | <a href="#" data-uv-trigger class="btn-cta">contact us</a> | ||||
</div> | </div> | ||||
</section> | </section> | ||||
<section id="thank-you"> | |||||
<div class="wrapper"> | |||||
<h2 class="page-title"> | |||||
Special thanks to </h2> | |||||
<br> | |||||
<div class="row"> | |||||
<div class="col-md-4 col-md-offset-2 col-xs-12"> | |||||
<a class="btn-cta" href="https://twitter.com/remco_verhoef"><i class="icon-twitter"></i> Remco Verhoef</a> | |||||
</div> | |||||
<div class="col-md-4 col-xs-12"> | |||||
<a class="btn-cta" href="http://twitter.com/uvisgrinfelds"><i class="icon-twitter"></i> Uvis Grinfelds</a> | |||||
</div> | |||||
</div> | |||||
<h3>Want to be here? Support us!</h3> | |||||
<div class="donate"> | |||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> | |||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;"> | |||||
</a> | |||||
</div> | |||||
</div> | |||||
</section> | |||||
<section id="tor"> | <section id="tor"> | ||||
<div class="wrapper"> | <div class="wrapper"> | ||||
<a href="https://www.torproject.org"><img src="images/tor.svg" alt=""> | <a href="https://www.torproject.org"><img src="images/tor.svg" alt=""> | ||||
@@ -436,4 +411,4 @@ include "includes/head.html" | |||||
</body> | </body> | ||||
</html> | |||||
</html> |