finalize articles rework
This commit is contained in:
parent
c9f43a9701
commit
ec827dafce
|
@ -10,6 +10,7 @@
|
|||
?>
|
||||
<link rel="stylesheet" href="/~yosh/style/style.css">
|
||||
<link rel="alternate" type="application/atom+xml" title="blog atom feed" href="/~yosh/blog/feed.atom">
|
||||
<link rel="alternate" type="application/atom+xml" title="articles atom feed" href="/~yosh/articles/feed.atom">
|
||||
|
||||
<?shp printf '<meta property="og:title" content="%s" />\n' "$TITLE" ?>
|
||||
<meta property="og:type" content="website" />
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<li><a href="/~yosh/info.html">information</a></li>
|
||||
<li><a href="/~yosh/blog/">blog</a></li>
|
||||
<li><a href="/~yosh/articles/">articles</a></li>
|
||||
<li><a href="/~yosh/articles/random-info">random info</a></li>
|
||||
<li><a href="/~yosh/my-things.html">my things</a></li>
|
||||
<li><a href="/~yosh/links/">links</a></li>
|
||||
<li><a href="/~yosh/credits.html">credits</a></li>
|
||||
|
|
|
@ -19,7 +19,7 @@ while read -r time hash subject; do
|
|||
printf '%s\n' '<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>yosh'\''s articles</title>
|
||||
<link href="https://unix.dog/~yosh/blog/>
|
||||
<link href="https://unix.dog/~yosh/articles/"/>
|
||||
<author><name>yosh</name></author>
|
||||
<updated>'"$date"'</updated>
|
||||
<id>urn:uuid:'"$articles_uuid"'</id>'
|
||||
|
@ -36,6 +36,8 @@ while read -r time hash subject; do
|
|||
s/\.md$/\.html/
|
||||
s/\.md /\.html /
|
||||
s/ / --> /
|
||||
s/^/<li><p>/
|
||||
s/$/<\/li><\/p>/
|
||||
p
|
||||
}
|
||||
')
|
||||
|
@ -48,7 +50,9 @@ while read -r time hash subject; do
|
|||
<updated>%s</updated>
|
||||
<content type="html">%s</content>
|
||||
</entry>' "$(escape "$subject")" "$hash" "$date" "$(escapepipe <<-EOF
|
||||
${desc:+"$desc$__NL"}$files
|
||||
<ul>
|
||||
${desc:+"<p>$desc</p>$__NL"}$files
|
||||
</ul>
|
||||
EOF
|
||||
)"
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
title = articles
|
||||
TB_COLOR = lblue
|
||||
nobacklink = 1
|
||||
---
|
||||
|
||||
a collection of articles that don't exactly fit the "blog" feel, yet I believe are important to highlight. important enough to also have [its own atom feed](./feed.atom) for you to follow! it only tracks changes made to this little part :)
|
||||
|
||||
## big writeups
|
||||
- [building a void linux desktop experience from the base](./voidlinux/) - a comprehensive guide to setting up an easily-maintainable, extensible, and nice desktop experience on Void Linux from the very base image. more of an extension of the void handbooks than anything else
|
||||
- [downloading from youtube for fun, archival, and maybe profit](./ytdl.html) - an introductory guide for using `yt-dlp` to download youtube videos. link to to anyone who wants to download from youtube!
|
||||
- [resonite desktop workflow](./resonite-desktop-workflow.html) - a description of the desktop workflow in [resonite](https://resonite.com)
|
||||
- [quartus prime on void linux](./quartus-prime-on-linux.html) - a writeup of how I got quartus prime working on native linux
|
||||
|
||||
## small stuff
|
||||
- [random info](./random-info/) - a *smaller* collection of random "articles" (as a very loose term" of random information. I include it here because there's no real other good place to place it
|
|
@ -1,7 +1,5 @@
|
|||
---
|
||||
title = installing quartus prime on void linux
|
||||
ctime = 2024-01-09T02:15:00Z
|
||||
uuid = 6e4e758b-7090-4c35-b20b-a5fbacd0e0d8
|
||||
TB_COLOR = lblue
|
||||
TB_TITLE = /bin/quartus
|
||||
---
|
||||
|
|
|
@ -51,7 +51,7 @@ EOF
|
|||
header='<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>yosh'\''s blog</title>
|
||||
<link href="https://unix.dog/~yosh/blog/>
|
||||
<link href="https://unix.dog/~yosh/blog/"/>
|
||||
<author><name>yosh</name></author>
|
||||
<updated>'"$(echo "$all_mtimes" | sort -r | head -n 1)"'</updated>
|
||||
<id>urn:uuid:'"$blog_uuid"'</id>'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title = shell: hypertext processor
|
||||
ctime = 2023-11-20T23:40:00Z
|
||||
mtime = 2024-03-16T12:00:00Z
|
||||
mtime = 2024-04-01T:00:10:00Z
|
||||
uuid = 14f1934b-76d1-4dd4-ae1c-65bf0e305eea
|
||||
TB_TITLE = xterm - /bin/sh build.sh
|
||||
---
|
||||
|
@ -46,4 +46,6 @@ the only caveat that I have seen that remains in the final script is the fact th
|
|||
## the updated result
|
||||
this part is being written from the future (2024-03-16). I went through a few iterations of the script for a bit, having an `mdmeta` at first from the end of my initial result, but now metadata is within each markdown file. the site, as it stands, builds in ~0.4 seconds on my machine. takes about 0.8 seconds on unix.dog. no external program calls are inherently part of processing any given file, except for `lowdown` for markdown processing. it's all pure shell. I consider that a win for a shell script of this caliber
|
||||
|
||||
this part is being written from a slightly further future (2024-04-01). I remembered that you can parallelize shell scripts, so I added that as well. it now builds in 0.65-0.7 seconds on my machine, and goes down to 0.55-0.6 when not counting the overhead for moving files :). on unix.dog, it builds in ~0.3 seconds (a bunch of stuff was running too, like ipfs migration.... it's very jumpy! that's also with nproc * 2 threads. more testing needed... but not really warranted right now. it's fast enough :D)
|
||||
|
||||
the script is [bundled with my website repo](https://git.unix.dog/yosh/website/src/branch/master/build.sh). it's a shell script. I don't care enough to give it the whole 9 yards with a separate repo and license and etc. I don't think anyone other than me is even crazy enough to use it. be reasonable
|
||||
|
|
|
@ -25,6 +25,12 @@ if this gets big enough, I'll make a table of contents or split stuff into separ
|
|||
### languages
|
||||
- [php the right way](https://phptherightway.com) - some best practices for php in the modern day
|
||||
|
||||
#### shell
|
||||
- [posix shell tips](/~yosh/articles/random-info/posix-shell-tips.html) - my collection of tips that I feel are less documented around the block
|
||||
- [pure sh bible](https://github.com/dylanaraps/pure-sh-bible) - dylan araps has a bunch of cool shit
|
||||
- [~sven\_mascheck](https://www.in-ulm.de/~mascheck/) - a LOT of cool shell information, like just everything one would want to know about not just interfacing with shells, but history, support, utilities, ...
|
||||
- [greg's wiki](https://mywiki.wooledge.org/) - I'm sure everyone who has done a non-trivial amount of shell scripting knows about this wiki, but someone who's part of the lucky ten thousand and sees this can discover it from here :D
|
||||
|
||||
### misc
|
||||
- [xxiivv's computing section](https://wiki.xxiivv.com/site/computation.html) - there's some cool stuff and other resources here
|
||||
- [serious cryptography](https://nostarch.com/seriouscrypto) - allegedly the best book for learning practical modern cryptography. I've been meaning to read it for a while to confirm this notion. its ISBN is `9781593278267`
|
||||
|
|
Loading…
Reference in New Issue