Skip to content
Browse files

added sandbox

2 parents 0fd93a8 + b66235e commit fe4ef83b5c0fbb7e0d3156bfc9d2f3955b833367 @nl5887 nl5887 committed
View
5 transfersh-server/codec.go
@@ -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
5 transfersh-server/static/download.audio.html
@@ -85,6 +85,11 @@ <h2 class="page-title">{{.Filename}}</h2>
<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
5 transfersh-server/static/download.html
@@ -70,6 +70,11 @@ <h2 class="page-title">{{.Filename}}</h2>
<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
5 transfersh-server/static/download.image.html
@@ -82,6 +82,11 @@ <h2 class="page-title">{{.Filename}}</h2>
<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
5 transfersh-server/static/download.markdown.html
@@ -81,6 +81,11 @@ <h2 class="page-title">{{.Filename}}</h2>
<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
14 transfersh-server/static/download.sandbox.html
@@ -65,15 +65,6 @@ <h2 class="page-title">{{.Filename}}</h2>
<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 @@ <h2 class="page-title">{{.Filename}}</h2>
<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
5 transfersh-server/static/download.video.html
@@ -85,6 +85,11 @@ <h2 class="page-title">{{.Filename}}</h2>
<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
5 transfersh-server/static/includes/footer.html
@@ -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
34 transfersh-server/static/index.html
@@ -218,7 +218,7 @@ <h2 class="page-title">
<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 @@ <h2 class="page-title">
<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 @@ <h2 class="page-title">
<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/>
@@ -496,4 +476,4 @@ <h2 class="page-title">
</body>
-</html>
+</html>
View
9 transfersh-web/download.sandbox.html
@@ -18,15 +18,6 @@
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
5 transfersh-web/includes/footer.html
@@ -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
29 transfersh-web/index.html
@@ -192,7 +192,7 @@ <h2 class="page-title">
<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 @@ <h2 class="page-title">
<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="">
@@ -436,4 +411,4 @@ <h2 class="page-title">
</body>
-</html>
+</html>

0 comments on commit fe4ef83

Please sign in to comment.
Something went wrong with that request. Please try again.