Initial commit
This commit is contained in:
commit
843d86c6f8
21 changed files with 892 additions and 0 deletions
134
public_html/eh/eh/eh/eh-eh/.html
Normal file
134
public_html/eh/eh/eh/eh-eh/.html
Normal file
|
|
@ -0,0 +1,134 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
<meta name="author" content="Never Gude" />
|
||||
<title>Random linux utilities</title>
|
||||
<style>
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
||||
/* The extra [class] is a hack that increases specificity enough to
|
||||
override a similar rule in reveal.js */
|
||||
ul.task-list[class]{list-style: none;}
|
||||
ul.task-list li input[type="checkbox"] {
|
||||
font-size: inherit;
|
||||
width: 0.8em;
|
||||
margin: 0 0.8em 0.2em -1.6em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
|
||||
/* CSS for syntax highlighting */
|
||||
pre > code.sourceCode { white-space: pre; position: relative; }
|
||||
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; }
|
||||
div.sourceCode { margin: 1em 0; }
|
||||
pre.sourceCode { margin: 0; }
|
||||
@media screen {
|
||||
div.sourceCode { overflow: auto; }
|
||||
}
|
||||
@media print {
|
||||
pre > code.sourceCode { white-space: pre-wrap; }
|
||||
pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
|
||||
}
|
||||
pre.numberSource code
|
||||
{ counter-reset: source-line 0; }
|
||||
pre.numberSource code > span
|
||||
{ position: relative; left: -4em; counter-increment: source-line; }
|
||||
pre.numberSource code > span > a:first-child::before
|
||||
{ content: counter(source-line);
|
||||
position: relative; left: -1em; text-align: right; vertical-align: baseline;
|
||||
border: none; display: inline-block;
|
||||
-webkit-touch-callout: none; -webkit-user-select: none;
|
||||
-khtml-user-select: none; -moz-user-select: none;
|
||||
-ms-user-select: none; user-select: none;
|
||||
padding: 0 4px; width: 4em;
|
||||
color: #aaaaaa;
|
||||
}
|
||||
pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
|
||||
div.sourceCode
|
||||
{ }
|
||||
@media screen {
|
||||
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
|
||||
}
|
||||
code span.al { color: #ff0000; font-weight: bold; } /* Alert */
|
||||
code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
|
||||
code span.at { color: #7d9029; } /* Attribute */
|
||||
code span.bn { color: #40a070; } /* BaseN */
|
||||
code span.bu { color: #008000; } /* BuiltIn */
|
||||
code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
|
||||
code span.ch { color: #4070a0; } /* Char */
|
||||
code span.cn { color: #880000; } /* Constant */
|
||||
code span.co { color: #60a0b0; font-style: italic; } /* Comment */
|
||||
code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
|
||||
code span.do { color: #ba2121; font-style: italic; } /* Documentation */
|
||||
code span.dt { color: #902000; } /* DataType */
|
||||
code span.dv { color: #40a070; } /* DecVal */
|
||||
code span.er { color: #ff0000; font-weight: bold; } /* Error */
|
||||
code span.ex { } /* Extension */
|
||||
code span.fl { color: #40a070; } /* Float */
|
||||
code span.fu { color: #06287e; } /* Function */
|
||||
code span.im { color: #008000; font-weight: bold; } /* Import */
|
||||
code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
|
||||
code span.kw { color: #007020; font-weight: bold; } /* Keyword */
|
||||
code span.op { color: #666666; } /* Operator */
|
||||
code span.ot { color: #007020; } /* Other */
|
||||
code span.pp { color: #bc7a00; } /* Preprocessor */
|
||||
code span.sc { color: #4070a0; } /* SpecialChar */
|
||||
code span.ss { color: #bb6688; } /* SpecialString */
|
||||
code span.st { color: #4070a0; } /* String */
|
||||
code span.va { color: #19177c; } /* Variable */
|
||||
code span.vs { color: #4070a0; } /* VerbatimString */
|
||||
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
|
||||
</style>
|
||||
<link rel="stylesheet" href="pandoc/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header id="page-header">
|
||||
<ul>
|
||||
<li><a href="http://nevereverever.de/eh/eh/eh/eh-eh/">Home</a></li>
|
||||
<li><a href="http://nevereverever.de/eh/eh/eh/eh-eh/about.html">About</a></li>
|
||||
</ul>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Random linux utilities</h1>
|
||||
<p class="subtitle">Neat things I picked up along the way</p>
|
||||
<p class="author">Never Gude</p>
|
||||
<p class="date">25.7.2025</p>
|
||||
</header>
|
||||
<section id="content">
|
||||
<nav id="TOC" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#merge-pdfs" id="toc-merge-pdfs">Merge pdfs</a>
|
||||
<ul>
|
||||
<li><a href="#using-ghostscript" id="toc-using-ghostscript">Using
|
||||
Ghostscript</a></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<article>
|
||||
<h2 id="merge-pdfs">Merge pdfs</h2>
|
||||
<h3 id="using-ghostscript">Using Ghostscript</h3>
|
||||
<p>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.</p>
|
||||
<blockquote>
|
||||
<p>Block quote time yay</p>
|
||||
</blockquote>
|
||||
<div class="sourceCode" id="cb1"><pre
|
||||
class="sourceCode bash"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">gs</span> <span class="at">-dNOPAUSE</span> <span class="at">-sDEVICE</span><span class="op">=</span>pdfwrite <span class="dt">\</span></span>
|
||||
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a> <span class="at">-sOUTPUTFILE</span><span class="op">=</span>output.pdf <span class="dt">\</span></span>
|
||||
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a> <span class="at">-dBATCH</span> 1.pdf 2.pdf</span></code></pre></div>
|
||||
</article>
|
||||
</section>
|
||||
<footer id="page-footer">
|
||||
<embed type="text/html" src="https://cups.teabucket.eu/embed?from=never" style="width:320px; height: 120px; scale: 0.66;">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
12
public_html/eh/eh/eh/eh-eh/Makefile
Normal file
12
public_html/eh/eh/eh/eh-eh/Makefile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.PHONY: articles all
|
||||
|
||||
all: index articles
|
||||
|
||||
articles:
|
||||
for file in articles/*.md; do \
|
||||
filename="$$(basename $${file} .md)"; \
|
||||
pandoc "$${file}" --template pandoc/template.html --css pandoc/style.css --highlight-style zenburn --mathml --toc --output "$${filename}.html"; \
|
||||
echo "generated $${filename}.html"; \
|
||||
done
|
||||
|
||||
index:
|
||||
58
public_html/eh/eh/eh/eh-eh/about.html
Normal file
58
public_html/eh/eh/eh/eh-eh/about.html
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
<title>About</title>
|
||||
<style>
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
||||
/* The extra [class] is a hack that increases specificity enough to
|
||||
override a similar rule in reveal.js */
|
||||
ul.task-list[class]{list-style: none;}
|
||||
ul.task-list li input[type="checkbox"] {
|
||||
font-size: inherit;
|
||||
width: 0.8em;
|
||||
margin: 0 0.8em 0.2em -1.6em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="pandoc/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header id="page-header">
|
||||
<ul>
|
||||
<li><a href="http://nevereverever.de/eh/eh/eh/eh-eh/">Home</a></li><li><a href="http://nevereverever.de/eh/eh/eh/eh-eh/about.html">About</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
<span id="dark-mode">
|
||||
<input id="dark-mode-toggle" type="checkbox"><label for="dark-mode-toggle">Dark mode</label>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">About</h1>
|
||||
</header>
|
||||
<section id="content">
|
||||
<nav id="TOC" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#stuff" id="toc-stuff">Stuff</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<article>
|
||||
<h2 id="stuff">Stuff</h2>
|
||||
<p><math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><munderover><mo>∑</mo><mrow><mi>i</mi><mo>=</mo><mn>1</mn></mrow><mi>k</mi></munderover><mi>i</mi><mo>=</mo><mfrac><mrow><mi>k</mi><mrow><mo stretchy="true" form="prefix">(</mo><mi>k</mi><mo>+</mo><mn>1</mn><mo stretchy="true" form="postfix">)</mo></mrow></mrow><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex"> \sum_{i=1}^k i = \frac{k(k+1)}{2} </annotation></semantics></math></p>
|
||||
</article>
|
||||
|
||||
</section>
|
||||
<footer id="page-footer">
|
||||
<embed type="text/html" src="https://cups.teabucket.eu/embed?from=never" style="width:320px; height: 120px; scale: 0.66;">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
8
public_html/eh/eh/eh/eh-eh/articles/about.md
Normal file
8
public_html/eh/eh/eh/eh-eh/articles/about.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: About
|
||||
---
|
||||
|
||||
## Stuff
|
||||
|
||||
$$ \sum_{i=1}^k i = \frac{k(k+1)}{2} $$
|
||||
|
||||
30
public_html/eh/eh/eh/eh-eh/articles/random-linux-utils.md
Normal file
30
public_html/eh/eh/eh/eh-eh/articles/random-linux-utils.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: Random linux utilities
|
||||
subtitle: Neat things I picked up along the way
|
||||
author: Never Gude
|
||||
date: 25.7.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;
|
||||
}
|
||||
|
||||
```
|
||||
85
public_html/eh/eh/eh/eh-eh/index.html
Normal file
85
public_html/eh/eh/eh/eh-eh/index.html
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
<title>Home</title>
|
||||
<style>
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
||||
/* The extra [class] is a hack that increases specificity enough to
|
||||
override a similar rule in reveal.js */
|
||||
ul.task-list[class]{list-style: none;}
|
||||
ul.task-list li input[type="checkbox"] {
|
||||
font-size: inherit;
|
||||
width: 0.8em;
|
||||
margin: 0 0.8em 0.2em -1.6em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
|
||||
</style>
|
||||
<link rel="stylesheet" href="pandoc/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header id="page-header">
|
||||
<ul>
|
||||
<li><a href="http://nevereverever.de/eh/eh/eh/eh-eh/">Home</a></li><li><a href="http://nevereverever.de/eh/eh/eh/eh-eh/about.html">About</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
<span id="dark-mode">
|
||||
<input id="dark-mode-toggle" type="checkbox"><label for="dark-mode-toggle">Dark mode</label>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Home</h1>
|
||||
</header>
|
||||
<section id="content">
|
||||
<nav id="TOC" role="doc-toc">
|
||||
|
||||
</nav>
|
||||
<article>
|
||||
|
||||
</article>
|
||||
<nav id="articles">
|
||||
<h2>Articles</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="articles-header">
|
||||
<h3 class="articles-title">Random linux utilities</h3>
|
||||
<p class="articles-author"><em>Never Gude 1</em></p>
|
||||
</div>
|
||||
<p class="articles-summary">Neat things I picked up along the way</p>
|
||||
<p class="articles-date">25.7.2025</p>
|
||||
</li>
|
||||
<li>
|
||||
<div class="articles-header">
|
||||
<h3 class="articles-title">Random linux utilities</h3>
|
||||
<p class="articles-author"><em>Never Gude 2</em></p>
|
||||
</div>
|
||||
<p class="articles-summary">Neat things I picked up along the way</p>
|
||||
<p class="articles-date">25.7.2025</p>
|
||||
</li>
|
||||
<li>
|
||||
<div class="articles-header">
|
||||
<h3 class="articles-title">Random linux utilities</h3>
|
||||
<p class="articles-author"><em>Never Gude 3</em></p>
|
||||
</div>
|
||||
<p class="articles-summary">Neat things I picked up along the way</p>
|
||||
<p class="articles-date">25.7.2025</p>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</section>
|
||||
<footer id="page-footer">
|
||||
<embed type="text/html" src="https://cups.teabucket.eu/embed?from=never" style="width:320px; height: 120px; scale: 0.66;">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
4
public_html/eh/eh/eh/eh-eh/index.md
Normal file
4
public_html/eh/eh/eh/eh-eh/index.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Home
|
||||
toc: true
|
||||
---
|
||||
1
public_html/eh/eh/eh/eh-eh/meta-json-template.txt
Normal file
1
public_html/eh/eh/eh/eh-eh/meta-json-template.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
$meta-json$
|
||||
7
public_html/eh/eh/eh/eh-eh/meta.json
Normal file
7
public_html/eh/eh/eh/eh-eh/meta.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"articles": [
|
||||
{"author":"Never Gude 1","date":"25.7.2025","summary":"Neat things I picked up along the way","title":"Random linux utilities"},
|
||||
{"author":"Never Gude 2","date":"25.7.2025","summary":"Neat things I picked up along the way","title":"Random linux utilities"},
|
||||
{"author":"Never Gude 3","date":"25.7.2025","summary":"Neat things I picked up along the way","title":"Random linux utilities"}
|
||||
]
|
||||
}
|
||||
6
public_html/eh/eh/eh/eh-eh/meta.txt
Normal file
6
public_html/eh/eh/eh/eh-eh/meta.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
$for(articles)$
|
||||
$articles.author$
|
||||
$articles.date$
|
||||
$articles.subtitle$
|
||||
$articles.title$
|
||||
$endfor$
|
||||
1
public_html/eh/eh/eh/eh-eh/pandoc/meta-json-template.txt
Normal file
1
public_html/eh/eh/eh/eh-eh/pandoc/meta-json-template.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
$meta-json$
|
||||
245
public_html/eh/eh/eh/eh-eh/pandoc/style.css
Normal file
245
public_html/eh/eh/eh/eh-eh/pandoc/style.css
Normal file
|
|
@ -0,0 +1,245 @@
|
|||
:root {
|
||||
--foreground: #1a1a1a;
|
||||
--background: #fdfdfd;
|
||||
--blockquote-text: #606060;
|
||||
--blockquote-border: #e6e6e6;
|
||||
}
|
||||
|
||||
:root:has(#dark-mode-toggle:checked) {
|
||||
--foreground: #fdfdfd;
|
||||
--background: #1a1a1a;
|
||||
--blockquote-text: #e6e6e6;
|
||||
--blockquote-border: #606060;
|
||||
}
|
||||
|
||||
html {
|
||||
color: var(--foreground);
|
||||
background-color: var(--background);
|
||||
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0 auto;
|
||||
max-width: 36em;
|
||||
padding-left: 50pt;
|
||||
padding-right: 50pt;
|
||||
padding-top: 50pt;
|
||||
padding-bottom: 50pt;
|
||||
hyphens: auto;
|
||||
overflow-wrap: break-word;
|
||||
text-rendering: optimizeLegibility;
|
||||
font-kerning: normal;
|
||||
}
|
||||
|
||||
#page-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
text-align: left;
|
||||
border: 1pt solid var(--foreground);
|
||||
}
|
||||
|
||||
#page-header li {
|
||||
list-style: none;
|
||||
display: inline-block;
|
||||
padding: 12pt;
|
||||
}
|
||||
|
||||
#page-header ul, #articles ul {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#articles li {
|
||||
list-style: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.articles-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.articles-title {
|
||||
margin: 8pt 0 4pt 0;
|
||||
}
|
||||
|
||||
.articles-author {
|
||||
margin: 12pt 0 4pt 0;
|
||||
}
|
||||
|
||||
.articles-summary {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.articles-date {
|
||||
margin: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
a:not(:hover) {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#page-footer {
|
||||
border: 1pt solid var(--foreground);
|
||||
}
|
||||
/*
|
||||
#TOC {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
article {
|
||||
padding: 12px;
|
||||
overflow: auto;
|
||||
}
|
||||
*/
|
||||
|
||||
@media (max-width: 600px) {
|
||||
body {
|
||||
font-size: 0.9em;
|
||||
padding: 12pt;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.8em;
|
||||
}
|
||||
/*
|
||||
section {
|
||||
flex-direction: column;
|
||||
}
|
||||
*/
|
||||
}
|
||||
@media print {
|
||||
html {
|
||||
background-color: white;
|
||||
}
|
||||
body {
|
||||
background-color: transparent;
|
||||
color: black;
|
||||
font-size: 12pt;
|
||||
}
|
||||
p, h2, h3 {
|
||||
orphans: 3;
|
||||
widows: 3;
|
||||
}
|
||||
h2, h3, h4 {
|
||||
page-break-after: avoid;
|
||||
}
|
||||
#page-header, #page-footer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
p {
|
||||
margin: 1em 0;
|
||||
}
|
||||
a {
|
||||
color: var(--foreground);
|
||||
}
|
||||
a:visited {
|
||||
color: var(--foreground);
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
svg {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 1.4em;
|
||||
}
|
||||
h5, h6 {
|
||||
font-size: 1em;
|
||||
font-style: italic;
|
||||
}
|
||||
h6 {
|
||||
font-weight: normal;
|
||||
}
|
||||
ol, ul {
|
||||
padding-left: 1.7em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
li > ol, li > ul {
|
||||
margin-top: 0;
|
||||
}
|
||||
blockquote {
|
||||
margin: 1em 0 1em 1.7em;
|
||||
padding-left: 1em;
|
||||
border-left: 2pt solid var(--blockquote-border);
|
||||
color: var(--blockquote-text);
|
||||
}
|
||||
code {
|
||||
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
|
||||
font-size: 85%;
|
||||
margin: 0;
|
||||
hyphens: manual;
|
||||
}
|
||||
pre {
|
||||
margin: 1em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
pre code {
|
||||
padding: 0;
|
||||
overflow: visible;
|
||||
overflow-wrap: normal;
|
||||
}
|
||||
.sourceCode {
|
||||
background-color: transparent;
|
||||
overflow: visible;
|
||||
}
|
||||
hr {
|
||||
background-color: var(--foreground);
|
||||
border: none;
|
||||
height: 1pt;
|
||||
margin: 1em 0;
|
||||
}
|
||||
table {
|
||||
margin: 1em 0;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
display: block;
|
||||
font-variant-numeric: lining-nums tabular-nums;
|
||||
}
|
||||
table caption {
|
||||
margin-bottom: 0.75em;
|
||||
}
|
||||
tbody {
|
||||
margin-top: 0.5em;
|
||||
border-top: 1pt solid var(--foreground);
|
||||
border-bottom: 1pt solid var(--foreground);
|
||||
}
|
||||
th {
|
||||
border-top: 1pt solid var(--foreground);
|
||||
padding: 0.25em 0.5em 0.25em 0.5em;
|
||||
}
|
||||
td {
|
||||
padding: 0.125em 0.5em 0.25em 0.5em;
|
||||
}
|
||||
header {
|
||||
margin-bottom: 4em;
|
||||
text-align: center;
|
||||
}
|
||||
#TOC li {
|
||||
list-style: none;
|
||||
}
|
||||
#TOC ul {
|
||||
padding-left: 1.3em;
|
||||
}
|
||||
#TOC > ul {
|
||||
padding-left: 0;
|
||||
}
|
||||
#TOC a:not(:hover) {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
118
public_html/eh/eh/eh/eh-eh/pandoc/template.html
Normal file
118
public_html/eh/eh/eh/eh-eh/pandoc/template.html
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
$for(author-meta)$
|
||||
<meta name="author" content="$author-meta$" />
|
||||
$endfor$
|
||||
$if(date-meta)$
|
||||
<meta name="dcterms.date" content="$date-meta$" />
|
||||
$endif$
|
||||
$if(keywords)$
|
||||
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
|
||||
$endif$
|
||||
$if(description-meta)$
|
||||
<meta name="description" content="$description-meta$" />
|
||||
$endif$
|
||||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
||||
<style>
|
||||
$styles.html()$
|
||||
</style>
|
||||
$for(css)$
|
||||
<link rel="stylesheet" href="$css$" />
|
||||
$endfor$
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
$if(math)$
|
||||
$if(mathjax)$
|
||||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
||||
$endif$
|
||||
$math$
|
||||
$endif$
|
||||
</head>
|
||||
<body>
|
||||
<header id="page-header">
|
||||
<ul>
|
||||
<li><a href="http://nevereverever.de/eh/eh/eh/eh-eh/">Home</a></li><li><a href="http://nevereverever.de/eh/eh/eh/eh-eh/about.html">About</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
<span id="dark-mode">
|
||||
<input id="dark-mode-toggle" type="checkbox"><label for="dark-mode-toggle">Dark mode</label>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</header>
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
$endfor$
|
||||
$if(title)$
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">$title$</h1>
|
||||
$if(subtitle)$
|
||||
<p class="subtitle">$subtitle$</p>
|
||||
$endif$
|
||||
$for(author)$
|
||||
<p class="author">$author$</p>
|
||||
$endfor$
|
||||
$if(date)$
|
||||
<p class="date">$date$</p>
|
||||
$endif$
|
||||
$if(abstract)$
|
||||
<div class="abstract">
|
||||
<div class="abstract-title">$abstract-title$</div>
|
||||
$abstract$
|
||||
</div>
|
||||
$endif$
|
||||
</header>
|
||||
<section id="content">
|
||||
$endif$
|
||||
$if(toc)$
|
||||
<nav id="$idprefix$TOC" role="doc-toc">
|
||||
$if(toc-title)$
|
||||
<h2 id="$idprefix$toc-title">$toc-title$</h2>
|
||||
$endif$
|
||||
$table-of-contents$
|
||||
</nav>
|
||||
$endif$
|
||||
<article>
|
||||
$body$
|
||||
</article>
|
||||
$if(articles)$
|
||||
<nav id="articles">
|
||||
<h2>Articles</h2>
|
||||
<ul>
|
||||
$for(articles)$
|
||||
<li>
|
||||
<div class="articles-header">
|
||||
$if(articles.title)$
|
||||
<h3 class="articles-title">$articles.title$</h3>
|
||||
$endif$
|
||||
$if(articles.author)$
|
||||
<p class="articles-author"><em>$articles.author$</em></p>
|
||||
$endif$
|
||||
</div>
|
||||
$if(articles.summary)$
|
||||
<p class="articles-summary">$articles.summary$</p>
|
||||
$endif$
|
||||
$if(articles.date)$
|
||||
<p class="articles-date">$articles.date$</p>
|
||||
$endif$
|
||||
</li>
|
||||
$endfor$
|
||||
</ul>
|
||||
</nav>
|
||||
$endif$
|
||||
|
||||
</section>
|
||||
$for(include-after)$
|
||||
$include-after$
|
||||
$endfor$
|
||||
<footer id="page-footer">
|
||||
<embed type="text/html" src="https://cups.teabucket.eu/embed?from=never" style="width:320px; height: 120px; scale: 0.66;">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
143
public_html/eh/eh/eh/eh-eh/random-linux-utils.html
Normal file
143
public_html/eh/eh/eh/eh-eh/random-linux-utils.html
Normal file
|
|
@ -0,0 +1,143 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
<meta name="author" content="Never Gude" />
|
||||
<title>Random linux utilities</title>
|
||||
<style>
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
||||
/* The extra [class] is a hack that increases specificity enough to
|
||||
override a similar rule in reveal.js */
|
||||
ul.task-list[class]{list-style: none;}
|
||||
ul.task-list li input[type="checkbox"] {
|
||||
font-size: inherit;
|
||||
width: 0.8em;
|
||||
margin: 0 0.8em 0.2em -1.6em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
/* CSS for syntax highlighting */
|
||||
pre > code.sourceCode { white-space: pre; position: relative; }
|
||||
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; }
|
||||
div.sourceCode { margin: 1em 0; }
|
||||
pre.sourceCode { margin: 0; }
|
||||
@media screen {
|
||||
div.sourceCode { overflow: auto; }
|
||||
}
|
||||
@media print {
|
||||
pre > code.sourceCode { white-space: pre-wrap; }
|
||||
pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
|
||||
}
|
||||
pre.numberSource code
|
||||
{ counter-reset: source-line 0; }
|
||||
pre.numberSource code > span
|
||||
{ position: relative; left: -4em; counter-increment: source-line; }
|
||||
pre.numberSource code > span > a:first-child::before
|
||||
{ content: counter(source-line);
|
||||
position: relative; left: -1em; text-align: right; vertical-align: baseline;
|
||||
border: none; display: inline-block;
|
||||
-webkit-touch-callout: none; -webkit-user-select: none;
|
||||
-khtml-user-select: none; -moz-user-select: none;
|
||||
-ms-user-select: none; user-select: none;
|
||||
padding: 0 4px; width: 4em;
|
||||
}
|
||||
pre.numberSource { margin-left: 3em; padding-left: 4px; }
|
||||
div.sourceCode
|
||||
{ color: #cccccc; background-color: #303030; }
|
||||
@media screen {
|
||||
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
|
||||
}
|
||||
code span.al { color: #ffcfaf; } /* Alert */
|
||||
code span.an { color: #7f9f7f; font-weight: bold; } /* Annotation */
|
||||
code span.at { } /* Attribute */
|
||||
code span.bn { color: #dca3a3; } /* BaseN */
|
||||
code span.bu { } /* BuiltIn */
|
||||
code span.cf { color: #f0dfaf; } /* ControlFlow */
|
||||
code span.ch { color: #dca3a3; } /* Char */
|
||||
code span.cn { color: #dca3a3; font-weight: bold; } /* Constant */
|
||||
code span.co { color: #7f9f7f; } /* Comment */
|
||||
code span.cv { color: #7f9f7f; font-weight: bold; } /* CommentVar */
|
||||
code span.do { color: #7f9f7f; } /* Documentation */
|
||||
code span.dt { color: #dfdfbf; } /* DataType */
|
||||
code span.dv { color: #dcdccc; } /* DecVal */
|
||||
code span.er { color: #c3bf9f; } /* Error */
|
||||
code span.ex { } /* Extension */
|
||||
code span.fl { color: #c0bed1; } /* Float */
|
||||
code span.fu { color: #efef8f; } /* Function */
|
||||
code span.im { } /* Import */
|
||||
code span.in { color: #7f9f7f; font-weight: bold; } /* Information */
|
||||
code span.kw { color: #f0dfaf; } /* Keyword */
|
||||
code span.op { color: #f0efd0; } /* Operator */
|
||||
code span.ot { color: #efef8f; } /* Other */
|
||||
code span.pp { color: #ffcfaf; font-weight: bold; } /* Preprocessor */
|
||||
code span.sc { color: #dca3a3; } /* SpecialChar */
|
||||
code span.ss { color: #cc9393; } /* SpecialString */
|
||||
code span.st { color: #cc9393; } /* String */
|
||||
code span.va { } /* Variable */
|
||||
code span.vs { color: #cc9393; } /* VerbatimString */
|
||||
code span.wa { color: #7f9f7f; font-weight: bold; } /* Warning */
|
||||
</style>
|
||||
<link rel="stylesheet" href="pandoc/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header id="page-header">
|
||||
<ul>
|
||||
<li><a href="http://nevereverever.de/eh/eh/eh/eh-eh/">Home</a></li><li><a href="http://nevereverever.de/eh/eh/eh/eh-eh/about.html">About</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
<span id="dark-mode">
|
||||
<input id="dark-mode-toggle" type="checkbox"><label for="dark-mode-toggle">Dark mode</label>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Random linux utilities</h1>
|
||||
<p class="subtitle">Neat things I picked up along the way</p>
|
||||
<p class="author">Never Gude</p>
|
||||
<p class="date">25.7.2025</p>
|
||||
</header>
|
||||
<section id="content">
|
||||
<nav id="TOC" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#merge-pdfs" id="toc-merge-pdfs">Merge pdfs</a>
|
||||
<ul>
|
||||
<li><a href="#using-ghostscript" id="toc-using-ghostscript">Using
|
||||
Ghostscript</a></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<article>
|
||||
<h2 id="merge-pdfs">Merge pdfs</h2>
|
||||
<h3 id="using-ghostscript">Using Ghostscript</h3>
|
||||
<p>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.</p>
|
||||
<blockquote>
|
||||
<p>Block quote time yay</p>
|
||||
</blockquote>
|
||||
<div class="sourceCode" id="cb1"><pre
|
||||
class="sourceCode numberSource bash numberLines"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1"></a><span class="fu">gs</span> <span class="at">-dNOPAUSE</span> <span class="at">-sDEVICE</span><span class="op">=</span>pdfwrite <span class="dt">\</span></span>
|
||||
<span id="cb1-2"><a href="#cb1-2"></a> <span class="at">-sOUTPUTFILE</span><span class="op">=</span>output.pdf <span class="dt">\</span></span>
|
||||
<span id="cb1-3"><a href="#cb1-3"></a> <span class="at">-dBATCH</span> 1.pdf 2.pdf</span></code></pre></div>
|
||||
<div class="sourceCode" id="cb2"><pre class="sourceCode c"><code class="sourceCode c"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="dt">int</span> hello_world<span class="op">(</span><span class="dt">int</span> x<span class="op">)</span> <span class="op">{</span></span>
|
||||
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a> printf<span class="op">(</span><span class="st">"Hello World </span><span class="sc">%i</span><span class="st">"</span><span class="op">,</span> x<span class="op">);</span></span>
|
||||
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a> <span class="cf">return</span> x<span class="op">;</span></span>
|
||||
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a><span class="op">}</span></span></code></pre></div>
|
||||
</article>
|
||||
|
||||
</section>
|
||||
<footer id="page-footer">
|
||||
<embed type="text/html" src="https://cups.teabucket.eu/embed?from=never" style="width:320px; height: 120px; scale: 0.66;">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
10
public_html/eh/eh/eh/index.html
Executable file
10
public_html/eh/eh/eh/index.html
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Page Title</title>
|
||||
<meta http-equiv="refresh" content="1; url=eh-eh"/>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size: 156pt; color: blue">EH-EH</p>
|
||||
</body>
|
||||
</html>
|
||||
10
public_html/eh/eh/index.html
Executable file
10
public_html/eh/eh/index.html
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Page Title</title>
|
||||
<meta http-equiv="refresh" content="1; url=eh"/>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size: 156pt; color: green;">EH</p>
|
||||
</body>
|
||||
</html>
|
||||
10
public_html/eh/index.html
Executable file
10
public_html/eh/index.html
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Page Title</title>
|
||||
<meta http-equiv="refresh" content="1; url=eh"/>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size: 156pt; color: red;">EH</p>
|
||||
</body>
|
||||
</html>
|
||||
10
public_html/index.html
Normal file
10
public_html/index.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Page Title</title>
|
||||
<meta http-equiv="refresh" content="1; url=eh/"/>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size: 120pt;">NEVER EVER EVER. DEH</p>
|
||||
</body>
|
||||
</html>
|
||||
BIN
public_html/summerbreeze/Runningorder-2025-A4.jpg
Normal file
BIN
public_html/summerbreeze/Runningorder-2025-A4.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 916 KiB |
BIN
public_html/summerbreeze/SBOA2025_Festivalmap_A3.jpg
Normal file
BIN
public_html/summerbreeze/SBOA2025_Festivalmap_A3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
BIN
public_html/summerbreeze/SBOA2025_Infieldmap_A3.jpg
Normal file
BIN
public_html/summerbreeze/SBOA2025_Infieldmap_A3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
Loading…
Add table
Add a link
Reference in a new issue