added sandbox

This commit is contained in:
Remco 2016-01-14 09:47:42 +01:00
commit fe4ef83b5c
12 changed files with 52 additions and 74 deletions

View file

@ -1,7 +1,8 @@
/*
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
this software and associated documentation files (the "Software"), to deal in
@ -30,7 +31,7 @@ import (
const (
// characters used for short-urls
SYMBOLS = "0123456789abcdefghijklmnopqrsuvwxyzABCDEFGHIJKLMNOPQRSTUVXYZ"
SYMBOLS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
// someone set us up the bomb !!
BASE = int64(len(SYMBOLS))

View file

@ -85,6 +85,11 @@
<footer>
<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/>

View file

@ -70,6 +70,11 @@
<footer>
<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/>

View file

@ -82,6 +82,11 @@
<footer>
<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/>

View file

@ -81,6 +81,11 @@
<footer>
<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/>

View file

@ -65,15 +65,6 @@
<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/>
</section>
@ -81,6 +72,11 @@
<footer>
<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/>

View file

@ -85,6 +85,11 @@
<footer>
<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/>

View file

@ -1,5 +1,10 @@
<footer>
<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/>

View file

@ -218,7 +218,7 @@
<br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
<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
</code>
</div>
@ -421,31 +421,6 @@
<a href="#" data-uv-trigger class="btn-cta">contact us</a>
</div>
</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">
<div class="wrapper">
<a href="https://www.torproject.org"><img src="images/tor.svg" alt="">
@ -458,6 +433,11 @@
<footer>
<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/>

View file

@ -18,15 +18,6 @@ include "includes/head.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/>
</section>

View file

@ -1,5 +1,10 @@
<footer>
<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/>

View file

@ -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>
<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
</code>
</div>
@ -395,31 +395,6 @@ include "includes/head.html"
<a href="#" data-uv-trigger class="btn-cta">contact us</a>
</div>
</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">
<div class="wrapper">
<a href="https://www.torproject.org"><img src="images/tor.svg" alt="">