From 3b8869893c7b3809c9ffc99949fd6b2f6e04d415 Mon Sep 17 00:00:00 2001 From: Never Date: Mon, 15 Dec 2025 23:39:45 +0100 Subject: [PATCH] fixes --- public_html/eh/eh/eh/eh-eh/Makefile | 2 +- public_html/eh/eh/eh/eh-eh/about.html | 2 +- public_html/eh/eh/eh/eh-eh/article.json.tmp.0 | 2 +- public_html/eh/eh/eh/eh-eh/article.json.tmp.1 | 2 +- public_html/eh/eh/eh/eh-eh/articles.json | 16 +--------- public_html/eh/eh/eh/eh-eh/articles.json.tmp | 16 +--------- .../eh/eh/eh/eh-eh/articles/article-1.md | 30 ------------------- .../eh/eh/eh/eh-eh/articles/article-2.md | 30 ------------------- .../eh/eh-eh/articles/random-linux-utils.md | 15 ++-------- public_html/eh/eh/eh/eh-eh/index.html | 17 ++--------- .../eh/eh/eh/eh-eh/random-linux-utils.html | 18 ++++------- 11 files changed, 15 insertions(+), 135 deletions(-) delete mode 100644 public_html/eh/eh/eh/eh-eh/articles/article-1.md delete mode 100644 public_html/eh/eh/eh/eh-eh/articles/article-2.md diff --git a/public_html/eh/eh/eh/eh-eh/Makefile b/public_html/eh/eh/eh/eh-eh/Makefile index b6ea90c..2b72293 100644 --- a/public_html/eh/eh/eh/eh-eh/Makefile +++ b/public_html/eh/eh/eh/eh-eh/Makefile @@ -13,7 +13,7 @@ clean: # rm $(notdir $(articles)); \ rm ./index.html ./about.html ./articles.json.tmp; -$(articles): %.html: %.md clean +$(articles): %.html: %.md pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $(notdir $@); \ pandoc $< --template $(list_template) > article.json.tmp.0; \ jq '. += {"filename": "$(notdir $@)"}' article.json.tmp.0 > article.json.tmp.1; \ diff --git a/public_html/eh/eh/eh/eh-eh/about.html b/public_html/eh/eh/eh/eh-eh/about.html index 646177e..cd61b34 100644 --- a/public_html/eh/eh/eh/eh-eh/about.html +++ b/public_html/eh/eh/eh/eh-eh/about.html @@ -50,7 +50,7 @@

Stuff

-

i=1ki=k(k+1)2 \sum_{i=1}^k i = \frac{k(k+1)}{2}

+

i=1ki=k(k+1)2 \sum_{i=1}^k i = \frac{k(k+1)}{2}

diff --git a/public_html/eh/eh/eh/eh-eh/article.json.tmp.0 b/public_html/eh/eh/eh/eh-eh/article.json.tmp.0 index f04a7d3..4e5d98d 100644 --- a/public_html/eh/eh/eh/eh-eh/article.json.tmp.0 +++ b/public_html/eh/eh/eh/eh-eh/article.json.tmp.0 @@ -1 +1 @@ -{"author":"Never Gude","date":"25.7.2025","subtitle":"Neat things I picked up along the way","summary":"Testing dsa dsa dsa dsa DDDDDDDDDDDa","title":"Random linux utilities"} +{"author":"Never Gude","date":"25.7.2025","subtitle":"Neat things I picked up along the way","summary":"Tricks and tools I learned about, while tweaking my Linux sytem or trying to do productive things.","title":"Random linux utilities"} diff --git a/public_html/eh/eh/eh/eh-eh/article.json.tmp.1 b/public_html/eh/eh/eh/eh-eh/article.json.tmp.1 index 95bde9b..65bb8bd 100644 --- a/public_html/eh/eh/eh/eh-eh/article.json.tmp.1 +++ b/public_html/eh/eh/eh/eh-eh/article.json.tmp.1 @@ -2,7 +2,7 @@ "author": "Never Gude", "date": "25.7.2025", "subtitle": "Neat things I picked up along the way", - "summary": "Testing dsa dsa dsa dsa DDDDDDDDDDDa", + "summary": "Tricks and tools I learned about, while tweaking my Linux sytem or trying to do productive things.", "title": "Random linux utilities", "filename": "random-linux-utils.html" } diff --git a/public_html/eh/eh/eh/eh-eh/articles.json b/public_html/eh/eh/eh/eh-eh/articles.json index 4838ce9..6981602 100644 --- a/public_html/eh/eh/eh/eh-eh/articles.json +++ b/public_html/eh/eh/eh/eh-eh/articles.json @@ -4,23 +4,9 @@ "author": "Never Gude", "date": "25.7.2025", "subtitle": "Neat things I picked up along the way", - "summary": "Testing dsa dsa dsa dsa DDDDDDDDDDDa", + "summary": "Tricks and tools I learned about, while tweaking my Linux sytem or trying to do productive things.", "title": "Random linux utilities", "filename": "random-linux-utils.html" - }, - { - "author": "Never Gude", - "date": "10.12.2025", - "subtitle": "Just testimg too", - "title": "Article DSADASD", - "filename": "article-1.html" - }, - { - "author": "Never Gude", - "date": "10.12.2025", - "subtitle": "Just testimg", - "title": "Article 1", - "filename": "article-2.html" } ] } diff --git a/public_html/eh/eh/eh/eh-eh/articles.json.tmp b/public_html/eh/eh/eh/eh-eh/articles.json.tmp index 4838ce9..6981602 100644 --- a/public_html/eh/eh/eh/eh-eh/articles.json.tmp +++ b/public_html/eh/eh/eh/eh-eh/articles.json.tmp @@ -4,23 +4,9 @@ "author": "Never Gude", "date": "25.7.2025", "subtitle": "Neat things I picked up along the way", - "summary": "Testing dsa dsa dsa dsa DDDDDDDDDDDa", + "summary": "Tricks and tools I learned about, while tweaking my Linux sytem or trying to do productive things.", "title": "Random linux utilities", "filename": "random-linux-utils.html" - }, - { - "author": "Never Gude", - "date": "10.12.2025", - "subtitle": "Just testimg too", - "title": "Article DSADASD", - "filename": "article-1.html" - }, - { - "author": "Never Gude", - "date": "10.12.2025", - "subtitle": "Just testimg", - "title": "Article 1", - "filename": "article-2.html" } ] } diff --git a/public_html/eh/eh/eh/eh-eh/articles/article-1.md b/public_html/eh/eh/eh/eh-eh/articles/article-1.md deleted file mode 100644 index cb14add..0000000 --- a/public_html/eh/eh/eh/eh-eh/articles/article-1.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Article DSADASD -subtitle: Just testimg too -author: Never Gude -date: 10.12.2025 ---- - -## Merge pdfs -### Using Ghostscript -Ghostscript has a feature to merge multiple pdf files into one. -Although ImageMagick also has this feature, I prefer this one, as it doesn't rasterize and scales down -the pdf files. - -> Block -> quote -> time yay - -```bash {.numberLines} -gs -dNOPAUSE -sDEVICE=pdfwrite \ - -sOUTPUTFILE=output.pdf \ - -dBATCH 1.pdf 2.pdf -``` - -```c -int hello_world(int x) { - printf("Hello World %i", x); - return x; -} - -``` diff --git a/public_html/eh/eh/eh/eh-eh/articles/article-2.md b/public_html/eh/eh/eh/eh-eh/articles/article-2.md deleted file mode 100644 index 0b9d14a..0000000 --- a/public_html/eh/eh/eh/eh-eh/articles/article-2.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Article 1 -subtitle: Just testimg -author: Never Gude -date: 10.12.2025 ---- - -## Merge pdfs -### Using Ghostscript -Ghostscript has a feature to merge multiple pdf files into one. -Although ImageMagick also has this feature, I prefer this one, as it doesn't rasterize and scales down -the pdf files. - -> Block -> quote -> time yay - -```bash {.numberLines} -gs -dNOPAUSE -sDEVICE=pdfwrite \ - -sOUTPUTFILE=output.pdf \ - -dBATCH 1.pdf 2.pdf -``` - -```c -int hello_world(int x) { - printf("Hello World %i", x); - return x; -} - -``` diff --git a/public_html/eh/eh/eh/eh-eh/articles/random-linux-utils.md b/public_html/eh/eh/eh/eh-eh/articles/random-linux-utils.md index 3b4e65d..f306683 100644 --- a/public_html/eh/eh/eh/eh-eh/articles/random-linux-utils.md +++ b/public_html/eh/eh/eh/eh-eh/articles/random-linux-utils.md @@ -3,7 +3,7 @@ title: Random linux utilities subtitle: Neat things I picked up along the way author: Never Gude date: 25.7.2025 -summary: Testing dsa dsa dsa dsa DDDDDDDDDDDa +summary: Tricks and tools I learned about, while tweaking my Linux sytem or trying to do productive things. --- ## Merge pdfs @@ -12,20 +12,9 @@ Ghostscript has a feature to merge multiple pdf files into one. Although ImageMagick also has this feature, I prefer this one, as it doesn't rasterize and scales down the pdf files. -> Block -> quote -> time yay - -```bash {.numberLines} +```bash gs -dNOPAUSE -sDEVICE=pdfwrite \ -sOUTPUTFILE=output.pdf \ -dBATCH 1.pdf 2.pdf ``` -```c -int hello_world(int x) { - printf("Hello World %i", x); - return x; -} - -``` diff --git a/public_html/eh/eh/eh/eh-eh/index.html b/public_html/eh/eh/eh/eh-eh/index.html index 3dcc7c2..87034a2 100644 --- a/public_html/eh/eh/eh/eh-eh/index.html +++ b/public_html/eh/eh/eh/eh-eh/index.html @@ -58,23 +58,10 @@ utilities

Never Gude

-

Testing dsa dsa dsa dsa DDDDDDDDDDDa

+

Tricks and tools I learned about, while +tweaking my Linux sytem or trying to do productive things.

25.7.2025

-
  • -
    - Article DSADASD -

    Never Gude

    -
    -

    10.12.2025

    -
  • -
  • -
    - Article 1 -

    Never Gude

    -
    -

    10.12.2025

    -
  • diff --git a/public_html/eh/eh/eh/eh-eh/random-linux-utils.html b/public_html/eh/eh/eh/eh-eh/random-linux-utils.html index 64f4b91..6df000f 100644 --- a/public_html/eh/eh/eh/eh-eh/random-linux-utils.html +++ b/public_html/eh/eh/eh/eh-eh/random-linux-utils.html @@ -23,9 +23,8 @@ vertical-align: middle; } /* CSS for syntax highlighting */ - html { -webkit-text-size-adjust: 100%; } pre > code.sourceCode { white-space: pre; position: relative; } - pre > code.sourceCode > span { display: inline-block; line-height: 1.25; } + pre > code.sourceCode > span { line-height: 1.25; } pre > code.sourceCode > span:empty { height: 1.2em; } .sourceCode { overflow: visible; } code.sourceCode > span { color: inherit; text-decoration: inherit; } @@ -36,7 +35,7 @@ } @media print { pre > code.sourceCode { white-space: pre-wrap; } - pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; } + pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; } } pre.numberSource code { counter-reset: source-line 0; } @@ -126,17 +125,10 @@ Ghostscript

    Ghostscript has a feature to merge multiple pdf files into one. Although ImageMagick also has this feature, I prefer this one, as it doesn’t rasterize and scales down the pdf files.

    -
    -

    Block quote time yay

    -
    gs -dNOPAUSE -sDEVICE=pdfwrite \
    -    -sOUTPUTFILE=output.pdf \
    -    -dBATCH 1.pdf 2.pdf
    -
    int hello_world(int x) {
    -    printf("Hello World %i", x);
    -    return x;
    -}
    +class="sourceCode bash">gs -dNOPAUSE -sDEVICE=pdfwrite \ + -sOUTPUTFILE=output.pdf \ + -dBATCH 1.pdf 2.pdf