Compare commits

...

2 Commits

Author SHA1 Message Date
Amolith 17ba84e1b3
add justfile 2023-03-19 21:09:00 -04:00
Amolith 1cee35affe
add explicit draft status 2023-03-19 19:39:36 -04:00
35 changed files with 104 additions and 0 deletions

View File

@ -4,6 +4,7 @@ description: "Switching gears a little and reading for an hour every day"
author: Amolith
cover: /assets/pngs/book.png
date: 2020-07-23T00:48:16-04:00
draft: false
toc: true
categories:
- Technology

View File

@ -3,6 +3,7 @@ title: "A (Mostly) Google-Free Android"
description: "My experience running Android without any Google Services or even a compatibility layer"
author: Amolith
date: 2020-05-18T15:28:02-04:00
draft: false
cover: /assets/pngs/android.png
toc: true
categories:

View File

@ -4,6 +4,7 @@ description: "The title is very self-explanatory"
author: Amolith
cover: /assets/pngs/code.png
date: 2020-05-11T20:39:00-04:00
draft: false
categories:
- Technology
tags:

View File

@ -4,6 +4,7 @@ subtitle: "There's no such thing . . . yet"
author: Amolith
description: "I started trying to think of a distro that fit all my daily needs that I could take on a flash drive with me wherever I went and I couldn't"
date: 2018-08-15T10:38:00-04:00
draft: false
cover: /assets/pngs/arch-spin/pt-1.png
categories:
- Technology

View File

@ -5,6 +5,7 @@ author: Amolith
description: Setting up the basics for build your own Arch-based spin with archiso, the official development tool
cover: /assets/spin/arch-spin/pt-2.png
date: 2018-08-17T14:11:07-04:00
draft: false
categories:
- Technology
Tags:

View File

@ -4,6 +4,7 @@ description: Getting all the packages you currently have installed from the Arch
author: Amolith
cover: /assets/pngs/arch-spin/pt-3.png
date: 2018-08-18T16:52:42-04:00
draft: false
categories:
- Technology
tags:

View File

@ -11,6 +11,7 @@ tags:
- Old time
- 100 Days To Offload
date: 2020-04-28T02:13:16-04:00
draft: false
---
When I was younger, I prided myself on being a classical musician. I

View File

@ -4,6 +4,7 @@ description: "Configuring descriptive and attractive notifications for calcurse"
author: Amolith
cover: /assets/pngs/calendar.png
date: 2020-05-13T22:23:25-04:00
draft: false
categories:
- Technology
tags:

View File

@ -4,6 +4,7 @@ subtitle: "My setup for quickly getting news I want and discarding news I don't"
author: Amolith
description: "My setup for quickly getting news I want and discarding news I don't"
date: 2020-03-31T14:08:14-04:00
draft: false
cover: /assets/pngs/news.png
categories:
- Technology

View File

@ -3,6 +3,7 @@ title: "Custom Streaming Setup"
description: "My second post of 100 Days To Offload details my custom streaming setup"
author: Amolith
date: 2020-04-26T20:24:38-04:00
draft: false
cover: /assets/pngs/stream.png
categories:
- Technology

View File

@ -10,6 +10,7 @@ tags:
- Graphics
- 100 Days To Offload
date: 2020-04-27T23:15:04-04:00
draft: false
---
Well I had planned to write a post about music this evening but I just

View File

@ -4,6 +4,7 @@ description: "I don't really have much to say today so here are just a few thing
author: Amolith
cover: /assets/pngs/calendar.png
date: 2020-05-03T01:57:03-04:00
draft: false
toc: true
categories:
- Technology

View File

@ -4,6 +4,7 @@ description: "Setting up MediaWiki to efficiently write quality documentation"
author: Amolith
cover: /assets/pngs/mediawiki.png
date: 2020-06-04T12:23:34-04:00
draft: false
categories:
- Technology
tags:

View File

@ -4,6 +4,7 @@ subtitle: youtube-dl is a phenomenal tool
author: Amolith
description: Using youtube-dl to pull Linux Academy courses for offline viewing
date: 2019-10-19T01:35:00-0400
draft: false
cover: /assets/pngs/youtube-dl.png
categories:
- Technology

View File

@ -4,6 +4,7 @@ description: "Using a single command to get the week's weather forecast"
author: Amolith
cover: ../../static/assets/pngs/weather.png
date: 2018-12-14T21:41:00-04:00
draft: false
categories:
- Technology
tags:

View File

@ -3,6 +3,7 @@ title: "Krozn'ik"
description: The first entry in our journey
author: Amolith
date: 2020-02-09T01:03:03-05:00
draft: false
cover: /assets/pngs/axe.png
categories:
- Dungeons & Dragons

View File

@ -4,6 +4,7 @@ subtitle: Never waste resources with OBS again
author: Amolith
description: Recording your screen (or monitors) with ffmpeg for a high-quality lossless video that uses very few system resources
date: 2018-08-12T17:15:20-04:00
draft: false
cover: /assets/pngs/ffmpeg-lossless.png
categories:
- Technology

View File

@ -4,6 +4,7 @@ description: "Giving LWN a nice dark theme"
author: Amolith
cover: /assets/pngs/code.png
date: 2020-06-19T16:41:16-04:00
draft: false
toc: true
categories:
- Technology

View File

@ -4,6 +4,7 @@ description: "New fonts, more interesting typography, "
author: Amolith
cover: /assets/pngs/editor.png
date: 2020-07-19T01:43:11-04:00
draft: false
categories:
- Meta
tags:

View File

@ -3,6 +3,7 @@ title: "On smoking a pipe"
description: Why I started smoking a pipe, what my first experience was like, and why I continue to
author: Amolith
date: 2020-04-05T21:38:07-04:00
draft: false
cover: /assets/pngs/pipe.png
categories:
- Pipe Smoking

View File

@ -4,6 +4,7 @@ description: "Quick tour of my pipes and accessories"
author: Amolith
date: 2020-04-17T20:18:01-04:00
cover: /assets/jpgs/porch.jpg
draft: false
categories:
- Pipe Smoking
tags:

View File

@ -3,6 +3,7 @@ title: "Pausing 100 Days to Offload"
description: "Finals week is exhausting so I'm going to take a break and resume once it's finished"
author: Amolith
date: 2020-05-04T21:57:27-04:00
draft: false
cover: /assets/pngs/calendar.png
categories:
- Meta

View File

@ -1,6 +1,7 @@
---
title: "Reading Methods & RSVP"
date: 2020-02-13T21:57:28-05:00
draft: false
author: Amolith
description: Methods we unconsciously use when reading and ways to increase both speed and comprehension
cover: /assets/pngs/book.png

View File

@ -5,6 +5,7 @@ author: Amolith
description: Quick-ish and easy-ish guide on removing and excluding your domain from Archive.org's Wayback Machine using GPG keys
cover: /assets/pngs/archive.png
date: 2019-06-04T21:57:00-04:00
draft: false
categories:
- Technology
tags:

View File

@ -5,6 +5,7 @@ author: Amolith
description: Quick guide on removing and excluding your content from Archive.org's Wayback Machine with Keybase
cover: /assets/pngs/archive.png
date: 2019-06-03T12:08:00-0400
draft: false
categories:
- Technology
tags:

View File

@ -4,6 +4,7 @@ description: "Simple script I created to download YouTube videos"
author: Amolith
cover: /assets/pngs/download-video.png
date: 2020-08-03T05:43:37-04:00
draft: false
toc: true
categories:
- Technology

View File

@ -4,6 +4,7 @@ description: Easy guide on setting up a modern IRC server
author: Amolith
cover: /assets/pngs/irc.png
date: 2020-12-05T16:55:00-04:00
draft: false
toc: true
categories:
- Technology

View File

@ -8,6 +8,7 @@ tags:
- School
- 100 Days To Offload
date: 2020-04-25T22:12:40-04:00
draft: false
---
A friend of mine, [Kev Quirk,](https://kevq.uk/) issued [a

View File

@ -3,6 +3,7 @@ title: "Site changes"
description: "Update about the RSS feed and plans for the website"
author: Amolith
date: 2020-04-13T19:50:25-04:00
draft: false
categories:
- Meta
tags:

View File

@ -3,6 +3,7 @@ title: "(Temporary?) Death of the Campaign"
description: Unfortunately, we had to end the campaign before we got further than five sessions
author: Amolith
date: 2020-04-03T09:13:20-04:00
draft: false
cover: /assets/pngs/axe.png
categories:
- Dungeons & Dragons

View File

@ -3,6 +3,7 @@ title: "The Guilded Mouse"
description: "Our adventurers launch right into the campaign after meeting with two prospective employers at The Guilded Mouse."
author: Amolith
date: 2020-04-07T12:53:05-04:00
draft: false
cover: /assets/pngs/axe.png
categories:
- Dungeons & Dragons

View File

@ -1,6 +1,7 @@
---
title: "The House of San Balay"
date: 2020-05-14T16:04:05-04:00
draft: false
author: Amolith
cover: /assets/pngs/axe.png
categories:

View File

@ -3,6 +3,7 @@ title: "Typing International Characters"
description: "Setting up your keyboard so you can type international characters such as ß, ñ, and ü in addition to a myriad of others (™, ©, ¢, €, ∵, ∞, §, ¶, etc.)"
author: Amolith
date: 2020-04-08T13:21:39-04:00
draft: false
tags:
- Keyboard
- Typing

View File

@ -4,6 +4,7 @@ description: "Configuring Vim to act as a first-class markdown editor for variou
author: Amolith
cover: /assets/pngs/editor.png
date: 2020-04-30T23:06:59-04:00
draft: false
categories:
- Technology
tags:

70
justfile Normal file
View File

@ -0,0 +1,70 @@
# Build everything then deploy
default: site (docs "pdf") (docs "epub") (docs "txt") images deploy
# Deploy website
deploy:
# Deploying website ...
rsync -qavmzz public/ hel1:/var/www/secluded/
# Website deployed
# Build website
site:
# Building website ...
hugo --quiet
# Build documents of filetype ext
docs ext:
#!/usr/bin/env bash
echo -e '\033[1m# Checking whether there are new {{uppercase(ext)}}s to build ...\033[0m'
export WEBROOT=public
published=$(grep -ilr --include \*.md "draft: false" content/posts)
todo=""
# Iterate through all non-drafts
for path in $published
do
filename=$(basename "$path")
name=$(echo "${filename%.*}")
# Check whether target doc is newer than Markdown file
if [ "$path" -nt "public/$name/$name.{{ext}}" ]
then
todo+="$path "
fi
done
if [ -z "$todo" ]
then
echo "No {{uppercase(ext)}}s to build"
exit 0
else
for path in $todo
do
filename=$(basename "$path")
name=$(echo "${filename%.*}")
echo "Generating $name.{{ext}}"
if [ "{{ext}}" == "pdf" ]
then
pandoc --quiet -f markdown -t pdf --lua-filter=pandoc_config/images.lua --pdf-engine=xelatex -V 'linkcolor:blue' --listings -H pandoc_config/styles.tex $path -o public/$name/$name.pdf
elif [ "{{ext}}" == "epub" ]
then
pandoc --quiet -f markdown -t epub3 --lua-filter=pandoc_config/images.lua --pdf-engine=xelatex -V 'linkcolor:blue' --listings -H pandoc_config/styles.tex $path -o public/$name/$name.epub
elif [ "{{ext}}" == "txt" ]
then
pandoc --quiet -f markdown -t plain --lua-filter=pandoc_config/images.lua $path -o public/$name/$name.txt
fi
done
fi
# Generate cover images
images:
# Generating cover images ...
# TODO: Generate covers for posts that have changed or that have no cover
# Run development server
serve:
hugo server -D