From 6f5143eaab67f67ac3beb572d5487851f20502ed Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 15 May 2017 13:28:57 +0200 Subject: Removes old cruft. --- config.toml | 2 +- content/snippets/convert-losless.md | 8 -- content/snippets/disk-usage.md | 8 -- content/snippets/my-ip.md | 8 -- content/snippets/screen-off.md | 8 -- .../ssh-force-password-authentification.md | 8 -- content/snippets/tar-usage.md | 8 -- content/uhttpd.md | 8 -- gulpfile.js | 16 ++- layouts/projects/single.html | 4 +- layouts/uhttpd/single.html | 147 --------------------- 11 files changed, 14 insertions(+), 211 deletions(-) delete mode 100644 content/snippets/convert-losless.md delete mode 100644 content/snippets/disk-usage.md delete mode 100644 content/snippets/my-ip.md delete mode 100644 content/snippets/screen-off.md delete mode 100644 content/snippets/ssh-force-password-authentification.md delete mode 100644 content/snippets/tar-usage.md delete mode 100644 content/uhttpd.md delete mode 100644 layouts/uhttpd/single.html 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 @@ scribble
- - your ip
+ + your ip
bitch
jg 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" . }} - - - - - {{ partial "favicon.tmpl" .}} - - - - - - -
-
-
-
-

µhttpd is a self-contained instant micro web server.
- Use it to share files from your local computer with others.

- Download uhttpd -
-
- - -
-
-
-
- -
-
-
- - - -
-
-
- -
-
-

Installation

-

The installation of µhttpd is very straightforward. Download the precompiled binary and run it.

-

To compile from source you need a working Go environment (with cgo) and flex installed. Clone the repo and run make

-
- View source code -
-
- -
-
-

Usage

-

You can modify µhttpd with some simple command line flags. Run 'µhttpd -h' for more help.

-

-dir: The directory to serve. Defaults to the working directory.
- -ip: The ip µhttpd binds to. If not given, it binds to all interfaces µhttpd finds.
- -port: The port µhttpd will listen on.
- -quiet: When given µhttpd will not log the access. Only error messages will be issued.
- -disallow-upload: When given µhttpd does not allow to upload files.
- -upload-dir: Specify the directory to save uploaded files. Defaults to the working directory.

-

To upload open /upload with your browser.

-
-
- -
-
-

Created By

-

Written by Maximilian Möhring.

- Read Here More -
-
- {{partial "footer.tmpl"}} -- cgit v1.2.3