2014-11-05 11:55:46 +01:00
<!doctype html>
<!-- [if lt IE 7]> <html class="no - js lt - ie9 lt - ie8 lt - ie7"> <![endif] -->
<!-- [if IE 7]> <html class="no - js lt - ie9 lt - ie8"> <![endif] -->
<!-- [if IE 8]> <html class="no - js lt - ie9"> <![endif] -->
<!-- [if gt IE 8]><! -->
< html class = "no-js" >
<!-- <![endif] -->
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
2014-11-08 14:58:20 +01:00
< title > transfer.sh - Easy and fast file sharing from the command-line.< / title >
2014-11-05 11:55:46 +01:00
< meta name = "description" content = "Easy and fast file sharing from the command-line." >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
<!-- Place favicon.ico and apple - touch - icon.png in the root directory -->
2014-11-10 17:18:55 +01:00
< link rel = "stylesheet" href = "/styles/main.css" >
2014-11-08 14:58:20 +01:00
< link href = '//fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel = 'stylesheet' type = 'text/css' >
< link href = '//fonts.googleapis.com/css?family=Droid+Sans+Mono' rel = 'stylesheet' type = 'text/css' >
2014-11-05 11:55:46 +01:00
< script src = "scripts/vendor/modernizr.js" > < / script >
< / head >
2014-11-10 17:18:55 +01:00
2014-11-08 14:58:20 +01:00
< body id = "download" >
2014-11-05 11:55:46 +01:00
< script >
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
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 >
2014-11-08 14:58:20 +01:00
< div id = "navigation" >
< div class = "wrapper" >
< a href = "/" >
< h1 > transfer.sh< / h1 >
< / a >
< ul class = "hidden-xs" >
< li > < a href = "/" > home< / a >
< / li >
< li > < a href = "/#samples" > sample use cases< / a >
< / li >
< li > < a href = "/#contact" > contact us< / a >
< / li >
< / ul >
< / div >
2014-11-05 11:55:46 +01:00
< / div >
2014-11-08 14:58:20 +01:00
< section id = "home" >
< div class = "wrapper" >
< h2 >
{{.Filename}}< / h2 >
2014-11-10 17:18:55 +01:00
< h4 >
Type: < b > {{.ContentType}}< / b > < / h4 >
< h4 >
Length: < b > {{.ContentLength}}< / b > bytes< / h4 >
2014-11-08 14:58:20 +01:00
< a href = "{{.Url}}" > < / a >
< 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" >
2014-11-10 17:18:55 +01:00
< div id = "md-preview" > {{.Content}}< / div >
2014-11-08 14:58:20 +01:00
< / div >
< / div >
< / div >
< br / >
< div >
< a href = "#" id = "copy-link-btn" class = "btn-cta btn" > copy link< / a >
< a href = "{{.Url}}" class = "btn-cta btn" > download< / i > < / a >
< div id = "copy-link-wrapper" class = "copy-link-wrapper" >
< p > Press Ctrl / CMD + C to copy link to your clipboard.< / p >
< input readonly = "readonly" type = "text" value = "{{.Url}}" / >
< / div >
< div id = "overlay" class = "overlay" > < / div >
< / div >
2014-11-05 11:55:46 +01:00
2014-11-08 14:58:20 +01:00
< / section >
2014-11-05 11:55:46 +01:00
< 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)
})()
< / script >
<!-- [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 >
<![endif]-->
< script >
(function(b, o, i, l, e, r) {
b.GoogleAnalyticsObject = l;
b[l] || (b[l] =
function() {
(b[l].q = b[l].q || []).push(arguments)
});
b[l].l = +new Date;
e = o.createElement(i);
r = o.getElementsByTagName(i)[0];
e.src = '//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e, r)
}(window, document, 'script', 'ga'));
ga('create', 'UA-40833733-1', 'transfer.sh');
ga('send', 'pageview');
< / script >
2014-11-10 17:18:55 +01:00
< script src = "/scripts/main.js" > < / script >
2014-11-08 14:58:20 +01:00
2014-11-10 17:18:55 +01:00
2014-11-08 14:58:20 +01:00
2014-11-05 11:55:46 +01:00
< script >
2014-11-10 17:18:55 +01:00
var text = $('#md-preview').html();
2014-11-05 11:55:46 +01:00
var converter = new Showdown.converter();
var html = converter.makeHtml(text);
2014-11-10 17:18:55 +01:00
$('#md-preview').empty();
2014-11-05 11:55:46 +01:00
$('#md-preview').append(html);
< / script >
< / body >
< / html >