mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-27 14:40:18 +01:00
Code clean-up and typos
This commit is contained in:
parent
60d5ab17a9
commit
3909b858ee
1 changed files with 46 additions and 36 deletions
|
@ -24,14 +24,23 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
(function(i, s, o, g, r, a, m) {
|
||||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
i['GoogleAnalyticsObject'] = r;
|
||||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
i[r] = i[r] || function() {
|
||||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
(i[r].q = i[r].q || []).push(arguments)
|
||||||
ga('create', 'UA-40833733-1', 'transfer.sh');
|
}, i[r].l = 1 * new Date();
|
||||||
ga('send', 'pageview');
|
a = s.createElement(o),
|
||||||
|
m = s.getElementsByTagName(o)[0];
|
||||||
|
a.async = 1;
|
||||||
|
a.src = g;
|
||||||
|
m.parentNode.insertBefore(a, m)
|
||||||
|
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
||||||
|
ga('create', 'UA-40833733-1', 'transfer.sh');
|
||||||
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="navigation">
|
<div id="navigation">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h1>transfer.sh</h1>
|
<h1>transfer.sh</h1>
|
||||||
|
@ -44,12 +53,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<section id="home">
|
<section id="home">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h2>
|
<h2>
|
||||||
Upload and share your files
|
Upload and share your files
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div id="from-terminal" class="box">
|
<div id="from-terminal" class="box">
|
||||||
|
@ -89,11 +97,11 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3 col-xs-3">
|
<div class="col-md-3 col-xs-3">
|
||||||
<i class="icon-terminal"></i>
|
<i class="icon-terminal"></i>
|
||||||
<h3>Made for us with shell</h3>
|
<h3>Made for use with shell</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 col-xs-3">
|
<div class="col-md-3 col-xs-3">
|
||||||
<i class="icon-link"></i>
|
<i class="icon-link"></i>
|
||||||
<h3>Share files just with a URL</h3>
|
<h3>Share files with a URL</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 col-xs-3">
|
<div class="col-md-3 col-xs-3">
|
||||||
<i class="icon-database"></i>
|
<i class="icon-database"></i>
|
||||||
|
@ -101,33 +109,28 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 col-xs-3">
|
<div class="col-md-3 col-xs-3">
|
||||||
<i class="icon-clock"></i>
|
<i class="icon-clock"></i>
|
||||||
<h3>Files are stored for 14 days</h3>
|
<h3>Files stored for 14 days</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-offset-3 col-md-3 col-xs-3">
|
<div class="col-md-offset-3 col-md-3 col-xs-3">
|
||||||
<i class="icon-tag"></i>
|
<i class="icon-tag"></i>
|
||||||
<h3>For free</h3>
|
<h3>For free</h3>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 col-xs-3">
|
<div class="col-md-3 col-xs-3">
|
||||||
<i class="icon-lock"></i>
|
<i class="icon-lock"></i>
|
||||||
|
|
||||||
<h3>Encrypt your files</h3>
|
<h3>Encrypt your files</h3>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<section id="samples">
|
<section id="samples">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h2>
|
<h2>
|
||||||
Sample use cases
|
Sample use cases
|
||||||
</h2>
|
</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h3>Uploading</h3>
|
<h3>Uploading</h3>
|
||||||
|
@ -138,25 +141,24 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h3>Make an alias</h3>
|
<h3>Make an alias</h3>
|
||||||
<h4>Create an alias, and add it to .bashrc for faster use</h4>
|
<h4>Create an alias, and add it to .bashrc for faster use</h4>
|
||||||
<code>transfer() { curl --upload-file $1 https://transfer.sh/$(basename $1); }<br>
|
<code>transfer() { curl --upload-file $1 https://transfer.sh/$(basename $1); }
|
||||||
alias transfer=transfer</code>
|
<br>alias transfer=transfer</code>
|
||||||
<h4>Now you can just use <strong>transfer</strong> command</h4>
|
<h4>Now you can just use
|
||||||
|
<strong>transfer</strong>command</h4>
|
||||||
<code>transfer hello.txt</code>
|
<code>transfer hello.txt</code>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h3>Transfer multiple files</h3>
|
<h3>Transfer multiple files</h3>
|
||||||
<h4>Upload multiple files at once
|
<h4>Upload multiple files at once
|
||||||
</h4>
|
</h4>
|
||||||
<code>curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/</code>
|
<code>curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/</code>
|
||||||
<h4>Combining downloads as zip or tar archive</h4>
|
<h4>Combining downloads as zip or tar archive</h4>
|
||||||
<code>curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz</code>
|
<code>curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz</code>
|
||||||
<br>
|
<br>
|
||||||
<code>curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip</code>
|
<code>curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip</code>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h3>Encrypt your files before the transfer</h3>
|
<h3>Encrypt your files before the transfer</h3>
|
||||||
|
@ -166,14 +168,13 @@ alias transfer=transfer</code>
|
||||||
<h4>Encrypt and upload</h4>
|
<h4>Encrypt and upload</h4>
|
||||||
<code>curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt</code>
|
<code>curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt</code>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="share">
|
<section id="share">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h2> Share the love </h2>
|
<h2>Share the love</h2>
|
||||||
<ul class="share-buttons">
|
<ul class="share-buttons">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Ftransfer.sh&t=" target="_blank" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(document.URL) + '&t=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-facebook"></i>
|
<a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Ftransfer.sh&t=" target="_blank" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(document.URL) + '&t=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-facebook"></i>
|
||||||
|
@ -198,8 +199,8 @@ alias transfer=transfer</code>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<i class="icon-mail"></i>
|
<i class="icon-mail"></i>
|
||||||
<h2>
|
<h2>
|
||||||
Any questions?
|
Any questions?
|
||||||
</h2>
|
</h2>
|
||||||
<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>
|
||||||
|
@ -215,17 +216,27 @@ alias transfer=transfer</code>
|
||||||
<a href="https://github.com/dutchcoders/transfer.sh/">
|
<a href="https://github.com/dutchcoders/transfer.sh/">
|
||||||
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})()
|
(function() {
|
||||||
|
var uv = document.createElement('script');
|
||||||
|
uv.type = 'text/javascript';
|
||||||
|
uv.async = true;
|
||||||
|
uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
|
||||||
|
var s = document.getElementsByTagName('script')[0];
|
||||||
|
s.parentNode.insertBefore(uv, s)
|
||||||
|
})()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!--[if lt IE 7]>
|
<!--[if lt IE 7]>
|
||||||
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function (b, o, i, l, e, r) {
|
(function(b, o, i, l, e, r) {
|
||||||
b.GoogleAnalyticsObject = l;
|
b.GoogleAnalyticsObject = l;
|
||||||
b[l] || (b[l] =
|
b[l] || (b[l] =
|
||||||
function () {
|
function() {
|
||||||
(b[l].q = b[l].q || []).push(arguments)
|
(b[l].q = b[l].q || []).push(arguments)
|
||||||
});
|
});
|
||||||
b[l].l = +new Date;
|
b[l].l = +new Date;
|
||||||
|
@ -234,8 +245,8 @@ alias transfer=transfer</code>
|
||||||
e.src = '//www.google-analytics.com/analytics.js';
|
e.src = '//www.google-analytics.com/analytics.js';
|
||||||
r.parentNode.insertBefore(e, r)
|
r.parentNode.insertBefore(e, r)
|
||||||
}(window, document, 'script', 'ga'));
|
}(window, document, 'script', 'ga'));
|
||||||
ga('create', 'UA-40833733-1', 'transfer.sh');
|
ga('create', 'UA-40833733-1', 'transfer.sh');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- build:js scripts/main.js -->
|
<!-- build:js scripts/main.js -->
|
||||||
|
@ -246,4 +257,3 @@ alias transfer=transfer</code>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue