tnew mars - sites - parazyd.cf website [h|git clone git://parazyd.org/sites.git|URL:git://parazyd.org/sites.git|server|port] [1|Log|/git/sites/log.gph|server|port] [1|Files|/git/sites/files.gph|server|port] [1|Refs|/git/sites/refs.gph|server|port] --- [1|commit 1ae24197c53fd2a61fd1ab6c0a6dc66a58a71ffc|/git/sites/commit/1ae24197c53fd2a61fd1ab6c0a6dc66a58a71ffc.gph|server|port] [1|parent 6e0ca81cf9e7512067f1b63484d8fda0be4ad91c|/git/sites/commit/6e0ca81cf9e7512067f1b63484d8fda0be4ad91c.gph|server|port] [h|Author: parazyd |URL:mailto:parazyd@dyne.org|server|port] Date: Tue, 14 Feb 2017 23:32:01 +0100 new mars Diffstat: M contact.md | 4 +--- D dyne/index.html | 4 ---- D enemy.org/index.html | 4 ---- M err/403.md | 5 ++--- M err/404.md | 5 ++--- M mars | 21 +++++++++++---------- M musings/andromusl.md | 6 ++---- M musings/bffnff.md | 2 -- M musings/classiccloud.md | 2 -- M musings/cloudflare.md | 2 -- M musings/firefoxspyware.md | 2 -- M musings/fixthenet.md | 2 -- M musings/index.md | 2 -- M musings/systemdsucks.md | 2 -- M musings/tails2.md | 2 -- M projects/index.md | 2 -- M webtree | 2 +- 17 files changed, 19 insertions(+), 50 deletions(-) --- [1|diff --git a/contact.md b/contact.md|/git/sites/file/contact.md.gph|server|port] t@@ -1,6 +1,4 @@ -##+TITLE contact :: parazyd.cf - -Contact +contact ======= You can contact me via any of the following: [1|diff --git a/dyne/index.html b/dyne/index.html|/git/sites/file/dyne/index.html.gph|server|port] t@@ -1,4 +0,0 @@ -

Hi there....

-

There's not much to see here, but in the meantime, there's more -stuff at https://parazyd.cf | http://i3kgydn7eeqm3dr4.onion

[1|diff --git a/enemy.org/index.html b/enemy.org/index.html|/git/sites/file/enemy.org/index.html.gph|server|port] t@@ -1,4 +0,0 @@ -

Hi there....

-

There's not much to see here, but in the meantime, there's more -stuff at https://parazyd.cf | http://i3kgydn7eeqm3dr4.onion

[1|diff --git a/err/403.md b/err/403.md|/git/sites/file/err/403.md.gph|server|port] t@@ -1,6 +1,5 @@ -##+TITLE 403 - -# 403 +403 +=== not for your eyes [1|diff --git a/err/404.md b/err/404.md|/git/sites/file/err/404.md.gph|server|port] t@@ -1,6 +1,5 @@ -##+TITLE 404 - -# 404 +404 +=== another file deleted by systemd [1|diff --git a/mars b/mars|/git/sites/file/mars.gph|server|port] t@@ -1,5 +1,6 @@ #!/bin/dash -# see LICENSE file for copyright and license details +# copyleft (c) parazyd 2016-2017 +# see LICENSE file for license details . ./webtree t@@ -10,17 +11,17 @@ die() { process() { for dir in $tree; do - printf "\t -- /$dir --\n" + printf "\t-- /$dir --\n" cd $dir || die for page in *.md; do if [ $(printf "%s" "$exclude" | grep "$page") ]; then - printf "[SKIP] %s\n" "$page" + printf "[\033[1;33mSKIP\033[0m] %s\n" "$page" continue fi name="$(printf "%s" "$page" | cut -d. -f1 -)" - rm -vf "${name}.html" + rm -f "${name}.html" if [ "$1" = generate ]; then [ -n "$precontent" ] && { t@@ -34,8 +35,8 @@ process() { -i ${name}.html python -m markdown "$page" >> "${name}.html" \ - && printf "[ OK ] %s.md\t\t->\t%s.html\n" "$name" "$name" \ - || printf "[NOPE] %s.md\t\t->\t%s.html\n" "$name" "$name" + && printf "[ \033[1;32mOK\033[0m ] %s.md\t\t->\t%s.html\n" "$name" "$name" \ + || printf "[\033[1;31mNOPE\033[0m] %s.md\t\t->\t%s.html\n" "$name" "$name" [ -n "$postcontent" ] && { for i in $postcontent; do t@@ -43,19 +44,19 @@ process() { done } - if [ $(grep "${name}.html" "${name}.html") ]; then + if [ $(grep "${name}.html" "${name}.html" >/dev/null) ]; then sed -e 's:class="thisSite" ::' \ - -e 's:href='$name'.html:class="thisSite" href="'$name'.html":' \ + -e 's:href='"$name"'.html:class="thisSite" href="'"$name"'.html":' \ -i "${name}.html" else dirstr="$(basename $PWD)" sed -e 's:class="thisSite" ::' \ - -e 's:href="/'$dirstr'/":class="thisSite" href="/'$dirstr'/":' \ + -e 's:href="/'"$dirstr"'/":class="thisSite" href="/'"$dirstr"'/":' \ -i ${name}.html fi fi done - cd - + cd - >/dev/null done } [1|diff --git a/musings/andromusl.md b/musings/andromusl.md|/git/sites/file/musings/andromusl.md.gph|server|port] t@@ -1,7 +1,5 @@ -##+TITLE compiling android tools on musl : parazyd.cf - -my journey with compiling latest android-tools with musl -======================================================== +compiling latest android-tools with musl +======================================== It's a pain in the ass. [1|diff --git a/musings/bffnff.md b/musings/bffnff.md|/git/sites/file/musings/bffnff.md.gph|server|port] t@@ -1,5 +1,3 @@ -##+TITLE safest way to use firefox? don't use it! - Safest way to use Firefox? Don't use it! ======================================== [1|diff --git a/musings/classiccloud.md b/musings/classiccloud.md|/git/sites/file/musings/classiccloud.md.gph|server|port] t@@ -1,5 +1,3 @@ -##+TITLE on bitcoin blassic and all the bickering - On Bitcoin Classic and all the bickering ======================================== [1|diff --git a/musings/cloudflare.md b/musings/cloudflare.md|/git/sites/file/musings/cloudflare.md.gph|server|port] t@@ -1,5 +1,3 @@ -##+TITLE tor users are being treated as lower-class internet citizens - Tor users are being treated as lower-class Internet citizens ============================================================ [1|diff --git a/musings/firefoxspyware.md b/musings/firefoxspyware.md|/git/sites/file/musings/firefoxspyware.md.gph|server|port] t@@ -1,5 +1,3 @@ -##+TITLE spyware in firefox - Spyware in Firefox ================== [1|diff --git a/musings/fixthenet.md b/musings/fixthenet.md|/git/sites/file/musings/fixthenet.md.gph|server|port] t@@ -1,5 +1,3 @@ -##+TITLE fixing the internet for everyone - Fixing the Internet for everyone ================================ [1|diff --git a/musings/index.md b/musings/index.md|/git/sites/file/musings/index.md.gph|server|port] t@@ -1,5 +1,3 @@ -##+TITLE random musings :: parazyd.cf - random musings ============== [1|diff --git a/musings/systemdsucks.md b/musings/systemdsucks.md|/git/sites/file/musings/systemdsucks.md.gph|server|port] t@@ -1,5 +1,3 @@ -##+TITLE systemd sucks - systemd sucks ============= [1|diff --git a/musings/tails2.md b/musings/tails2.md|/git/sites/file/musings/tails2.md.gph|server|port] t@@ -1,5 +1,3 @@ -##+TITLE on tails 2.0 and systemd - On Tails 2.0 and systemd ======================== [1|diff --git a/projects/index.md b/projects/index.md|/git/sites/file/projects/index.md.gph|server|port] t@@ -1,5 +1,3 @@ -##+TITLE projects :: parazyd.cf - Projects ======== [1|diff --git a/webtree b/webtree|/git/sites/file/webtree.gph|server|port] t@@ -16,7 +16,7 @@ tree=" " # here add files you want excluded from being generated as .html -exclude="" +exclude="andromusl.md" # html that is put in order before the conten precontent="header.html navigation.html"