Update 2023-11-03 13:36:37
This commit is contained in:
parent
50811355de
commit
5bf28b4968
40
src/drafts.ps
Normal file
40
src/drafts.ps
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#!/bin/ksh
|
||||||
|
|
||||||
|
# chdir to working directory
|
||||||
|
cd src/posts
|
||||||
|
|
||||||
|
cat <<'EOF'
|
||||||
|
<h1>
|
||||||
|
Welcome!
|
||||||
|
</h1>
|
||||||
|
<p>
|
||||||
|
Welcome to my little place on the web. It may not been the pretties
|
||||||
|
you've seen today, but it's all self made.
|
||||||
|
</p>
|
||||||
|
<h2>
|
||||||
|
Posts
|
||||||
|
</h2>
|
||||||
|
<ul>
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# print list
|
||||||
|
ls -r1 *.ps *.pm *.ph *.pa *.pt 2>/dev/null | fgrep '.draft.' | while read line
|
||||||
|
do
|
||||||
|
TITLE="$(echo "${line%%.*}" | tr '_' ' ')"
|
||||||
|
URI="posts/${line%%.*}.html"
|
||||||
|
|
||||||
|
cat <<EOF
|
||||||
|
<li>
|
||||||
|
<a href="$URI">
|
||||||
|
$TITLE
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
EOF
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
cat <<EOF
|
||||||
|
</ul>
|
||||||
|
EOF
|
||||||
|
|
||||||
|
|
@ -18,7 +18,7 @@ cat <<'EOF'
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# print list
|
# print list
|
||||||
ls -r1 *.ps *.pm *.ph *.pa *.pt 2>/dev/null | while read line
|
ls -r1 *.ps *.pm *.ph *.pa *.pt 2>/dev/null | fgrep -v '.draft.' | while read line
|
||||||
do
|
do
|
||||||
TITLE="$(echo "${line%%.*}" | tr '_' ' ')"
|
TITLE="$(echo "${line%%.*}" | tr '_' ' ')"
|
||||||
URI="posts/${line%%.*}.html"
|
URI="posts/${line%%.*}.html"
|
||||||
|
14
src/posts/2023-10-03_Why_OpenBSD?.draft.pm
Normal file
14
src/posts/2023-10-03_Why_OpenBSD?.draft.pm
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Why OpenBSD?
|
||||||
|
|
||||||
|
## Where I'm coming from
|
||||||
|
|
||||||
|
I'm basically left the Windows Ecosystem after Windows 95 and moved to Debian Linux 3.0.
|
||||||
|
I left Debian Linux, when they switched to systemd, but this was just the final straw to a system that gets more and more bloated. I then moved to FreeBSD.
|
||||||
|
I felt at home at FreeBSD for a while until I realized how broken many concepts are and that it's bascially impossible to contribute via their bug tracker.
|
||||||
|
Then, after some ranting about FreeBSD on Github, an OpenBSD developer asked me to check out OpenBSD and how they do things.
|
||||||
|
|
||||||
|
One day, I did. And never looked back.
|
||||||
|
|
||||||
|
## Why is OpenBSD right for me
|
||||||
|
|
||||||
|
OpenBSD is an opinionated system. Some things work a certain way and they are not supposed to be changed.
|
Loading…
Reference in New Issue
Block a user