summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax2017-05-15 13:28:57 +0200
committerMax2017-05-15 13:28:57 +0200
commit6f5143eaab67f67ac3beb572d5487851f20502ed (patch)
treef789f2b97ed67b0c584097dd74fbb59cd3091463
parent82b14feb2ca7796dc6a5c280c41680a803957273 (diff)
downloadiamfabulous.de-6f5143eaab67f67ac3beb572d5487851f20502ed.tar.gz
Removes old cruft.
-rw-r--r--config.toml2
-rw-r--r--content/snippets/convert-losless.md8
-rw-r--r--content/snippets/disk-usage.md8
-rw-r--r--content/snippets/my-ip.md8
-rw-r--r--content/snippets/screen-off.md8
-rw-r--r--content/snippets/ssh-force-password-authentification.md8
-rw-r--r--content/snippets/tar-usage.md8
-rw-r--r--content/uhttpd.md8
-rw-r--r--gulpfile.js16
-rw-r--r--layouts/projects/single.html4
-rw-r--r--layouts/uhttpd/single.html147
11 files changed, 14 insertions, 211 deletions
diff --git a/config.toml b/config.toml
index 248c7df..9fef85a 100644
--- a/config.toml
+++ b/config.toml
@@ -2,7 +2,7 @@ baseurl = "https://www.iamfabulous.de/"
languageCode = "en-us"
title = "welcome"
disableHugoGeneratorInject = true
-disableRSS = false
+disableRSS = true
disableSitemap = false
edit = "vim"
pluralizeListTitles = false
diff --git a/content/snippets/convert-losless.md b/content/snippets/convert-losless.md
deleted file mode 100644
index 0fc4042..0000000
--- a/content/snippets/convert-losless.md
+++ /dev/null
@@ -1,8 +0,0 @@
-+++
-date = "2016-10-21T18:28:33+02:00"
-draft = false
-title = "convert losless"
-
-+++
-
-$ avconv -i movie.mp4 -target pal-dvd movie.mpg
diff --git a/content/snippets/disk-usage.md b/content/snippets/disk-usage.md
deleted file mode 100644
index 15920b3..0000000
--- a/content/snippets/disk-usage.md
+++ /dev/null
@@ -1,8 +0,0 @@
-+++
-date = "2016-10-21T18:27:00+02:00"
-draft = false
-title = "sort by disk usage"
-
-+++
-
-$ du -sh * | sort -hr | grep -iE "^[0-9]+([,.][0-9]+)?[mMgG]"
diff --git a/content/snippets/my-ip.md b/content/snippets/my-ip.md
deleted file mode 100644
index 2e4cebd..0000000
--- a/content/snippets/my-ip.md
+++ /dev/null
@@ -1,8 +0,0 @@
-+++
-date = "2016-10-21T18:41:34+02:00"
-draft = false
-title = "my ip"
-
-+++
-
-$ curl -s https://ifconfig.iamfabulous.de
diff --git a/content/snippets/screen-off.md b/content/snippets/screen-off.md
deleted file mode 100644
index 3e45e77..0000000
--- a/content/snippets/screen-off.md
+++ /dev/null
@@ -1,8 +0,0 @@
-+++
-date = "2016-10-21T18:40:52+02:00"
-draft = false
-title = "screen off"
-
-+++
-
-$ xset dpms force off
diff --git a/content/snippets/ssh-force-password-authentification.md b/content/snippets/ssh-force-password-authentification.md
deleted file mode 100644
index 9fd1313..0000000
--- a/content/snippets/ssh-force-password-authentification.md
+++ /dev/null
@@ -1,8 +0,0 @@
-+++
-date = "2016-10-21T16:46:19+02:00"
-draft = false
-title = "force password auth with ssh"
-
-+++
-
-$ ssh -o PubkeyAuthentication=no user@ip
diff --git a/content/snippets/tar-usage.md b/content/snippets/tar-usage.md
deleted file mode 100644
index d7a8aa9..0000000
--- a/content/snippets/tar-usage.md
+++ /dev/null
@@ -1,8 +0,0 @@
-+++
-date = "2016-10-21T17:15:22+02:00"
-draft = false
-title = "quick help for tar "
-
-+++
-
-$ tar --help | head
diff --git a/content/uhttpd.md b/content/uhttpd.md
deleted file mode 100644
index aa1097b..0000000
--- a/content/uhttpd.md
+++ /dev/null
@@ -1,8 +0,0 @@
-+++
-date = "2016-11-18T11:10:19+02:00"
-draft = false
-title = "µhttpd"
-type = "uhttpd"
-layout = "single"
-
-+++
diff --git a/gulpfile.js b/gulpfile.js
index dd5e46f..7f2ef74 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -13,7 +13,7 @@ gulp.task('concat', function() {
gulp.task('uncss', function() {
return gulp.src('static/concat.css')
.pipe(uncss({
- html: ['public/*.html', 'public/projects/*.html', 'public/journal/*.html', 'public/journal/**/*.html', 'public/thankyou/*.html', 'public/contact/*.html', 'public/error/*.html'],
+ html: ['public/*.html', 'public/projects/*.html', 'public/50*/*.html', 'public/thankyou/*.html', 'public/contact/*.html', 'public/error/*.html' ],
ignore: ['.text-right', '.text-left']
}))
.pipe(cssnano())
@@ -36,11 +36,17 @@ gulp.task('minifyhtml', function() {
gulp.src('public/contact/*.html')
.pipe(htmlmin({collapseWhitespace: true}))
.pipe(gulp.dest('public/contact/'));
- gulp.src('public/journal/*/*.html')
+ gulp.src('public/500/*.html')
.pipe(htmlmin({collapseWhitespace: true}))
- .pipe(gulp.dest('public/journal/'));
- return gulp.src('public/journal/*.html')
+ .pipe(gulp.dest('public/500/'));
+ gulp.src('public/502/*.html')
.pipe(htmlmin({collapseWhitespace: true}))
- .pipe(gulp.dest('public/journal/'));
+ .pipe(gulp.dest('public/502/'));
+ gulp.src('public/503/*.html')
+ .pipe(htmlmin({collapseWhitespace: true}))
+ .pipe(gulp.dest('public/503/'));
+ return gulp.src('public/504/*.html')
+ .pipe(htmlmin({collapseWhitespace: true}))
+ .pipe(gulp.dest('public/504/'));
});
diff --git a/layouts/projects/single.html b/layouts/projects/single.html
index 8b92906..818a15a 100644
--- a/layouts/projects/single.html
+++ b/layouts/projects/single.html
@@ -16,8 +16,8 @@
<a href="https://scribble.iamfabulous.de" title="scribble">scribble</a><br>
<!--a href="https://uhttpd.iamfabulous.de" title="uhttpd">uhttpd</a><br-->
<!--a href="{{$.Site.BaseURL}}uhttpd/" title="µhttpd">µhttpd</a><br-->
- <!--a href="https://ifconfig.iamfabulous.de" title="your ip">your ip</a><br-->
- <a href="{{$.Site.BaseURL}}snippets/my-ip" title="your ip">your ip</a><br>
+ <!--a href="{{$.Site.BaseURL}}snippets/my-ip" title="your ip">your ip</a><br-->
+ <a href="https://ifconfig.iamfabulous.de" title="your ip">your ip</a><br>
<a href="https://bitch.iamfabulous.de" title="bitch">bitch</a><br>
<a href="https://jungegemeinde.iamfabulous.de" title="junge gemeinde">jg</a>
</div>
diff --git a/layouts/uhttpd/single.html b/layouts/uhttpd/single.html
deleted file mode 100644
index 13314bd..0000000
--- a/layouts/uhttpd/single.html
+++ /dev/null
@@ -1,147 +0,0 @@
- {{ $.Scratch.Set "NoCustomCSS" true }}
- {{ partial "header.tmpl" . }}
- <meta name="description" content="µhttpd is a self-contained instant micro web server. You can use it to share files from your local computer with others.">
- <meta name="author" content="Maximilian Möhring">
-<style>
- {{readFile "static/font.css" | safeCSS}}
- /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
- html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background-color:transparent}a:active,a:hover{outline:0}strong{font-weight:700}img{border:0}code{font-family:monospace,monospace}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}.container{position:relative;width:100%;max-width:960px;margin:0 auto;padding:0 20px;box-sizing:border-box}.column{width:100%;float:left;box-sizing:border-box}.demos{position:relative}.demo{position: relative;max-width: 100%;top:20px;/*margin: 3rem auto -12rem*/}
- @media (min-width:400px){.container{width:85%;padding:0}}@media (min-width:550px){.container{width:80%}.column{margin-left:4%}.column:first-child{margin-left:0}.one-third.column{width:30.6666666667%}.one-half.column{width:48%}}html{font-size:62.5%}body{font-size:1.5em;line-height:1.6;font-weight:400;color:#222}h2,h3,h4{margin-top:0;margin-bottom:2rem;font-weight:300}h2{font-size:3.6rem;line-height:1.25;letter-spacing:-.1rem}h3{font-size:3rem;line-height:1.3;letter-spacing:-.1rem}h4{font-size:2.4rem;line-height:1.35;letter-spacing:-.08rem}
-
-@media (min-width:550px){h2{font-size:4.2rem}h3{font-size:3.6rem}h4{font-size:3rem}}p{margin-top:0}a{color:#1EAEDB}a:hover{color:#0FA0CE}.button{display:inline-block;height:38px;padding:0 30px;color:#555;text-align:center;font-size:11px;font-weight:600;line-height:38px;letter-spacing:.1rem;text-transform:uppercase;text-decoration:none;white-space:nowrap;background-color:transparent;border:1px solid #bbb;cursor:pointer;box-sizing:border-box}.button:focus,.button:hover{color:#333;border-color:#888;outline:0}.button.button-primary{color:#FFF;background-color:#33C3F0;border-color:#33C3F0}.button.button-primary:focus,.button.button-primary:hover{color:#FFF;background-color:#1EAEDB;border-color:#1EAEDB}code{padding:.2rem .5rem;margin:0 .2rem;font-size:90%;white-space:nowrap;background:#F1F1F1;border:1px solid #E1E1E1;border-radius:4px}.button{margin-bottom:1rem}p{margin-bottom:2.5rem}.u-max-full-width{max-width:100%;box-sizing:border-box}.container:after,.row:after{content:"";display:table;clear:both}.button{border-radius:100px}.section{padding:8rem 0 7rem;text-align:center}.section-description,.section-heading{margin-bottom:1.2rem}.values{background:#179089;background-image:linear-gradient(to right,#179089,#169f81);color:#fff;padding-bottom:5rem}.value-heading{margin-bottom:.3rem}.value-description{opacity:.8;font-weight:300}.installation{border-bottom:1px solid #ddd}.categories{background:#179089;color:#fff}.categories .section-description{margin-bottom:4rem}@media (min-width:550px){.section{padding:12rem 0 11rem}.hero{padding-bottom:12rem;text-align:left;height:165px}.hero-heading{font-size:2.4rem}.demo{top:-20px}}@media (min-width:750px){.hero{height:190px}.hero-heading{font-size:2.6rem}.section{padding:14rem 0 15rem}.hero{padding:16rem 0 14rem}.section-description{max-width:60%;margin-left:auto;margin-right:auto}.categories{padding:15rem 0 8rem}.demo{top:-120px}}@media (min-width:1000px){.section{padding:20rem 0 19rem}.hero{padding:22rem 0}.hero-heading{font-size:3rem}.categories{background-image:linear-gradient(to right,#179089,#169f81)}.demo{top:-120px;transform:skew(-10deg)}}</style>
- <style>
-.navigation {
- border-bottom: 0px solid;
- position: sticky;
- top: 0;
- background: #fff;
- z-index: 1;
- box-shadow: 0 -3px 10px rgba(0,0,0,.23);
-}
-nav.primary{
- display: table;
- margin: 0 auto;
-}
-
-nav.primary ul, nav.primary ul li {
- margin: 0px;
-}
-
-nav.primary select {
- width: 100%;
- height: 40px;
- /*
- margin: 21px 0;
- */
-}
-
-nav.primary ul li {
- display: inline;
- /*position: relative;*/
-}
-
-nav.primary ul li a {
- display: inline-block;
- line-height: 49px;
- padding: 0 14px;
- /*
- color: white;
- text-transform: uppercase;
-*/
- text-decoration: none;
- font-weight: bold;
- letter-spacing: 0.06em;
- background: ##999999;
-}
-
-nav.primary ul li a:hover {
- background-color:#33C3F0;
- color: white;
- cursor: pointer;
-}
- </style>
- {{ partial "favicon.tmpl" .}}
-
-</head>
-
-<body>
-<!--Navigation-->
-<div class="band navigation">
- <nav class="container primary">
- <div class="sixteen columns">
- <ul>
- <li><a href="{{$.Site.BaseURL}}" title="start page">home</a></li>
- <li><a href="https://www.complicissimus.de/" title="my blog">my blog</a></li>
- <li><a href="{{$.Site.BaseURL}}projects/" title="side projects">projects</a></li>
- <li><a href="{{$.Site.BaseURL}}contact/" title="contact">contact</a></li>
- </ul>
- </div>
- </nav>
-</div>
- <div class="section hero">
- <div class="container">
- <div id="top" class="row">
- <div class="one-half column">
- <h4 class="hero-heading"><strong>µhttpd</strong> is a self-contained instant micro web server.<br>
- Use it to share files from your local computer with others.</h4>
- <a class="button button-primary" href="https://downloads.iamfabulous.de/uhttpd/">Download uhttpd</a>
- </div>
- <div class="one-half column demos">
- <!--img class="u-max-full-width" src="/static/demo.png"-->
- <img class="demo" src="{{$.Site.BaseURL}}img/demo.png">
- </div>
- </div>
- </div>
- </div>
-
- <div class="section values">
- <div class="container">
- <div id="description" class="row">
- <div class="one-third column value">
- <h2 class="value-heading">It's Simple</h2>
- <p class="value-description">Run <strong>µhttpd</strong> and it serves the directory content via web server, so you can access it with your web browser.</p>
- </div>
- <div class="one-third column value">
- <h2 class="value-heading">Stream Media</h2>
- <p class="value-description">Access e.g. your music from your local net on every device. Just open a web browser and point it to a running <strong>µhttpd</strong>.</p>
- </div>
- <div class="one-third column value">
- <h2 class="value-heading">Uploads</h2>
- <p class="value-description"><strong>µhttpd</strong> is able to recieve uploads from your browser. The target directory is fully customizable.</p>
- </div>
- </div>
- </div>
- </div>
-
- <div class="section installation">
- <div class="container">
- <h3 id="installation" class="section-heading">Installation</h3>
- <p class="section-description">The installation of <strong>µhttpd</strong> is very straightforward. Download the precompiled binary and run it.</p>
- <p class="section-description">To compile from source you need a working Go environment (with cgo) and flex installed. Clone the repo and run <code>make</code></p>
- <br>
- <a class="button" href="https://git.iamfabulous.de/uhttpd">View source code</a>
- </div>
- </div>
-
- <div class="section categories">
- <div class="container">
- <h3 id="usage" class="section-heading">Usage</h3>
- <p class="section-description">You can modify <strong>µhttpd</strong> with some simple command line flags. Run '<strong>µhttpd</strong> -h' for more help. </p>
- <p class="section-description"><strong>-dir:</strong> The directory to serve. Defaults to the working directory.<br>
- <strong>-ip:</strong> The ip <strong>µhttpd</strong> binds to. If not given, it binds to all interfaces µhttpd finds.<br>
- <strong>-port:</strong> The port µhttpd will listen on.<br>
- <strong>-quiet:</strong> When given µhttpd will not log the access. Only error messages will be issued.<br>
- <strong>-disallow-upload:</strong> When given µhttpd does not allow to upload files.<br>
- <strong>-upload-dir:</strong> Specify the directory to save uploaded files. Defaults to the working directory.</p>
- <p class="section-description">To upload open <strong>/upload</strong> with your browser.</p>
- </div>
- </div>
-
- <div class="section">
- <div class="container">
- <h3 id="credits" class="section-heading">Created By</h3>
- <p class="section-description">Written by Maximilian Möhring.</p>
- <a class="button button-primaryy" href="{{$.Site.BaseURL}}">Read Here More</a>
- </div>
- </div>
- {{partial "footer.tmpl"}}