From fb96f1bd78ea7da364679150b6132f94825f3b8a Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Mon, 20 Apr 2026 11:24:45 +0200 Subject: [PATCH] make header format yaml --- Makefile | 7 +++---- README.md | 2 +- chat/profanity.md | 6 ++++-- chat/profanity_automation.md | 9 ++++++--- chat/wgetpaste.md | 5 +++-- cmd.mk | 7 +++---- data/archives.md | 6 ++++-- data/base_16.md | 5 +++-- data/calcurse.md | 7 +++++-- data/email.md | 6 ++++-- data/exiftool.md | 6 ++++-- data/git.md | 6 ++++-- data/git/cleanup.md | 9 ++++++--- data/git/commit_for_another.md | 9 ++++++--- data/git/git-lfs.md | 9 ++++++--- data/git/git_secret.md | 7 +++++-- data/git/git_stash.md | 9 ++++++--- data/git/hooks.md | 6 ++++-- data/gpg.md | 6 ++++-- data/gpg/gpg_pinentry.md | 11 ++++++++--- data/gpg/vim_decryption.md | 12 +++++++++--- data/groff.md | 6 ++++-- data/interactive_string_substitution.md | 9 +++++++-- data/json.md | 7 +++++-- data/khard.md | 5 +++-- data/newsboat.md | 5 +++-- data/newsraft.md | 6 ++++-- data/pass.md | 10 +++++++--- data/pass_otp.md | 12 +++++++++--- data/pdf-to-txt.md | 7 +++++-- data/pdf_erasure.md | 8 ++++++-- data/radicale.md | 10 +++++++--- data/recfiles.md | 6 ++++-- data/recfiles/bibliography.md | 13 ++++++++++--- data/recfiles/board_games.md | 10 +++++++--- data/recfiles/extended.md | 10 +++++++--- data/recfiles/ip_asn.md | 9 ++++++--- data/recfiles/nginx_logs.md | 11 ++++++++--- data/recfiles/recfixes.md | 9 ++++++--- data/sc-im.md | 11 ++++++++--- data/sc-im/convert_spreadsheets.md | 6 ++++-- data/search_system.md | 10 +++++++--- data/search_video_audio.md | 6 ++++-- data/sharing_secrets.md | 7 +++++-- data/soft-serve.md | 12 +++++++++--- data/soft-serve/soft_https.md | 11 ++++++++--- data/soft-serve/soft_maintenance.md | 11 ++++++++--- data/sqlite.md | 5 +++-- data/unison.md | 9 ++++++--- data/view_torrents.md | 7 +++++-- data/w3m.md | 5 +++-- distros/android/ssh_to_phone.md | 7 +++++-- distros/arch/arch_pi_install.md | 7 +++++-- distros/arch/autologin.md | 6 ++++-- distros/arch/basic-install.md | 8 +++++--- distros/arch/fonts.md | 5 +++-- distros/arch/gpu.md | 6 ++++-- distros/arch/install_yay.md | 6 ++++-- distros/arch/maintenance.md | 5 +++-- distros/arch/pacman.md | 5 +++-- distros/arch/pacman_extras.md | 5 +++-- distros/arch/yay_maintenance.md | 5 +++-- distros/debian/apt.md | 5 +++-- distros/void/aeroplanes.md | 5 +++-- distros/void/autologin.md | 5 +++-- distros/void/brand_name_wallpaper.md | 5 +++-- distros/void/extrace.md | 5 +++-- distros/void/jenkins.md | 6 ++++-- distros/void/laptops.md | 6 ++++-- distros/void/locale.md | 6 ++++-- distros/void/sv.md | 5 +++-- distros/void/void_basics.md | 5 +++-- distros/void/xbps.md | 5 +++-- hardware/brightness.md | 6 ++++-- hardware/keyboard.md | 6 ++++-- hardware/monitor.md | 5 +++-- hardware/printers.md | 5 +++-- networking/agate.md | 7 +++++-- networking/bad_horse.md | 7 +++++-- networking/dns.md | 6 ++++-- networking/fail2ban.md | 8 +++++--- networking/iptables.md | 5 +++-- networking/nginx.md | 6 ++++-- networking/nmap.md | 5 +++-- networking/pi-hole-server.md | 5 +++-- networking/port_scan.md | 5 +++-- networking/rclone.md | 6 ++++-- networking/scraping/copy_website.md | 6 ++++-- networking/scraping/youtube-dl.md | 5 +++-- networking/ssh.md | 5 +++-- networking/ssh/sshfs.md | 8 +++++--- networking/ssh/tricks.md | 10 +++++++--- networking/tor.md | 5 +++-- networking/transmission.md | 6 ++++-- networking/wifi.md | 5 +++-- networking/wireguard.md | 6 ++++-- networking/wireless.md | 5 +++-- networking/wpa_supplicant.md | 5 +++-- shell/conditionals.md | 5 +++-- shell/eval.md | 5 +++-- shell/games.md | 5 +++-- shell/joyous_ascii.md | 5 +++-- shell/less.md | 4 +++- shell/locate_program.md | 5 +++-- shell/ls.md | 5 +++-- shell/setup/quality_of_life.md | 6 ++++-- shell/tree.md | 7 +++++-- shell/yes.md | 5 +++-- sound/basics.md | 5 +++-- sound/festival.md | 5 +++-- sound/mpd.md | 5 +++-- sound/mpd_pipewire.md | 6 ++++-- sound/pipewire.md | 5 +++-- system/android.md | 6 ++++-- system/ansible.md | 11 ++++++++--- system/ansible/ansible_with_docker.md | 11 ++++++++--- system/ansible/store_password.md | 6 ++++-- system/at.md | 6 ++++-- system/awk.md | 6 ++++-- system/bash_tricks.md | 6 ++++-- system/cdpath.md | 6 ++++-- system/character-encoding.md | 6 ++++-- system/clean_your_downloads.md | 6 ++++-- system/clock.md | 6 ++++-- system/cron.md | 6 ++++-- system/deduplicate.md | 8 ++++++-- system/default_programs.md | 6 ++++-- system/editors.md | 5 +++-- system/fstab.md | 6 ++++-- system/groups.md | 5 +++-- system/hard_links.md | 6 ++++-- system/kernel.md | 5 +++-- system/kill.md | 5 +++-- system/lf.md | 6 ++++-- system/links.md | 6 ++++-- system/locale.md | 6 ++++-- system/logs.md | 5 +++-- system/makefiles.md | 6 ++++-- system/makefiles/graph-easy.md | 7 +++++-- system/makefiles/help.md | 7 +++++-- system/makefiles/patterns.md | 6 ++++-- system/makefiles/python_projects.md | 12 +++++++++--- system/mdadm.md | 6 ++++-- system/monitoring.md | 7 +++++-- system/partitions.md | 5 +++-- system/processes.md | 5 +++-- system/snaps.md | 7 +++++-- system/soft_links.md | 6 ++++-- system/swap.md | 5 +++-- system/systemd.md | 5 +++-- system/systemd/journal.md | 5 +++-- system/systemd/making-services.md | 5 +++-- system/tmux.md | 5 +++-- system/users.md | 5 +++-- virtualization/docker.md | 9 ++++++--- virtualization/kubernetes/kubernetes_basics.md | 9 ++++++--- virtualization/kubernetes/kubernetes_explain.md | 12 +++++++++--- virtualization/kubernetes/minikube_setup.md | 8 ++++++-- virtualization/kubernetes/proxy_api.md | 9 ++++++--- virtualization/virtualbox.md | 8 +++++--- virtualization/xen/xe.md | 7 +++++-- virtualization/xen/xen_basics.md | 7 +++++-- vision/ffmpeg.md | 6 ++++-- vision/graph-easy.md | 5 +++-- vision/imagemagick.md | 5 +++-- vision/lowdown.md | 9 ++++++--- vision/make_a_gif.md | 5 +++-- vision/record_terminal.md | 6 ++++-- writing/ed.md | 6 ++++-- writing/tex/calendar.md | 10 +++++++--- writing/tex/tex_packages.md | 5 +++-- writing/vim.md | 7 +++++-- writing/vim/completion.md | 10 +++++++--- writing/vim/linewrap.md | 11 ++++++++--- writing/vim/navigate.md | 10 +++++++--- writing/vim/subs.md | 12 +++++++++--- writing/vim/vi.md | 10 +++++++--- writing/vim/vim_in_bash.md | 11 ++++++++--- writing/vim/windows.md | 9 ++++++--- 179 files changed, 810 insertions(+), 403 deletions(-) diff --git a/Makefile b/Makefile index 660eba3..9235a34 100644 --- a/Makefile +++ b/Makefile @@ -43,8 +43,7 @@ $(databases): .dbs/%.rec: %/ | .dbs/ for entry in $(shell find $< -type f -name "*.md") ; do \ printf "path: %s\n" "$$entry" ;\ sed -n '2,/^---$$/ {/^---$$/d; p}' "$$entry" |\ - tr -d '[]' | tr -s ' ' |\ - sed '/tags: /s/, /\ntag: /g ; s/tags:/tag:/ ; /requires/s/, /\nrequires: /g' ;\ + while read -r line; do if [ -z "$${line#*:}" ] ; then type="$$line"; else echo "$$line" | sed -r "s/- (.*)/$$type \1/" | sed s'/tags: /tag: /' ; fi ; done ;\ printf "wordcount: %s\n\n" "$$(wc -w < $$entry)" ;\ done > $@ @@ -105,8 +104,8 @@ article: **/ **/**/ ## Write a new article [ -d "$(@D)" ] || mkdir $(@D) printf '%s\n' '---' >> $@ printf 'title: %s\n' '$(TITLE)' >> $@ - tags="$$(echo $(@D) | sed 's#/$$#"# ; s#/#", "#g ; s#^#"#' )" \ - && printf 'tags [ %s ]\n' "$$tags" >> $@ + echo "tags: " >> $@ + echo $(@D) | sed 's#\/#\n- #g' >> $@ printf '%s\n\n' '---' >> $@ $(EDITOR) +5 $@ git add $@ diff --git a/README.md b/README.md index 9633487..85f0d70 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ --- -title: "Linux Knowledge Base" +title: Linux Knowledge Base --- The Linux Knowledge-Base provides quick-start guides for working with terminal programs. diff --git a/chat/profanity.md b/chat/profanity.md index 9b1e534..0deb478 100644 --- a/chat/profanity.md +++ b/chat/profanity.md @@ -1,6 +1,8 @@ --- -title: "profanity" -tags: [ "chat", "omemo" ] +title: profanity +tags: +- chat +- omemo --- # Setup (Commands) diff --git a/chat/profanity_automation.md b/chat/profanity_automation.md index d587b59..6f34490 100644 --- a/chat/profanity_automation.md +++ b/chat/profanity_automation.md @@ -1,7 +1,10 @@ --- -title: "profanity automation" -tags: [ "chat", "omemo" ] -requires: [ "profanity" ] +title: profanity automation +tags: +- chat +- omemo +requires: +- profanity --- Automate profanity with `--cmd`. diff --git a/chat/wgetpaste.md b/chat/wgetpaste.md index f9b0c3d..7140137 100644 --- a/chat/wgetpaste.md +++ b/chat/wgetpaste.md @@ -1,6 +1,7 @@ --- -title: "wgetpaste" -tags: [ "chat" ] +title: wgetpaste +tags: +- chat --- See available pastebins: diff --git a/cmd.mk b/cmd.mk index 0342ff8..ce2af77 100644 --- a/cmd.mk +++ b/cmd.mk @@ -7,9 +7,7 @@ default += $(lists) get_title = printf 'title: "%s"\n' '${1}' get_tags = recsel -t $(basename $<) $< -G bin \ -e 'bin = "$(1)"' -U -CP tag | \ - sed 's/.*/"&",/g' | \ - tr '\n' ' ' | \ - sed 's/.*/tags: [ &]/' + sed 's/.*/- &/' list_commands = recsel -t $(basename $<) $< -e 'bin = "$(1)"' | \ recfmt -f lists.fmt @@ -17,8 +15,9 @@ list_commands = recsel -t $(basename $<) $< -e 'bin = "$(1)"' | \ lists/%.md: command.rec | lists/ @printf '%s\n' '---' > $@ @$(call get_title,$(basename $(notdir $@))) >> $@ + @printf '%s\n' 'tags: ' >> $@ @$(call get_tags,$(basename $(notdir $@))) >> $@ - @printf '\n%s\n' '---' >> $@ + @printf '%s\n' '---' >> $@ @$(call list_commands,$(basename $(notdir $@))) >> $@ .PHONY: cmd diff --git a/data/archives.md b/data/archives.md index 523c4b3..b003762 100644 --- a/data/archives.md +++ b/data/archives.md @@ -1,6 +1,8 @@ --- -title: "Archives" -tags: [ "archives", "backups" ] +title: Archives +tags: +- archives +- backups --- # Create diff --git a/data/base_16.md b/data/base_16.md index 1acf959..c364b95 100644 --- a/data/base_16.md +++ b/data/base_16.md @@ -1,6 +1,7 @@ --- -title: "Base 16" -tags: [ "data" ] +title: Base 16 +tags: +- data --- Base 16 numbers often use `0x` at the start, so '10' just means '10', but `0x10` means '10 in base 16' which means '16'. diff --git a/data/calcurse.md b/data/calcurse.md index 9b6c0f6..f4a8bb8 100644 --- a/data/calcurse.md +++ b/data/calcurse.md @@ -1,6 +1,9 @@ --- -title: "calcurse" -tags: [ "data", "calendar", "daylight savings" ] +title: calcurse +tags: +- data +- calendar +- daylight savings --- ## Setup diff --git a/data/email.md b/data/email.md index 3124dc9..328633e 100644 --- a/data/email.md +++ b/data/email.md @@ -1,6 +1,8 @@ --- -title: "e-mail" -tags: [ "data", "smtp" ] +title: e-mail +tags: +- data +- smtp --- This is bare-bones, original, primitive e-mail. diff --git a/data/exiftool.md b/data/exiftool.md index 2f27df8..b873b04 100644 --- a/data/exiftool.md +++ b/data/exiftool.md @@ -1,6 +1,8 @@ --- -title: "exiftool" -tags: [ "metadata", "exifdata" ] +title: exiftool +tags: +- metadata +- exifdata --- Find metadata: diff --git a/data/git.md b/data/git.md index 6ca0598..a820245 100644 --- a/data/git.md +++ b/data/git.md @@ -1,6 +1,8 @@ --- -title: "git" -tags: [ "data", "setup" ] +title: git +tags: +- data +- setup --- diff --git a/data/git/cleanup.md b/data/git/cleanup.md index 9d5f627..0252a5e 100644 --- a/data/git/cleanup.md +++ b/data/git/cleanup.md @@ -1,7 +1,10 @@ --- -title: "Clean up a bloated git repo" -tags: [ "data", "setup" ] -requires: [ "git" ] +title: Clean up a bloated git repo +tags: +- data +- setup +requires: +- git --- diff --git a/data/git/commit_for_another.md b/data/git/commit_for_another.md index 0db58d3..819d9c2 100644 --- a/data/git/commit_for_another.md +++ b/data/git/commit_for_another.md @@ -1,7 +1,10 @@ --- -title: "Commit for Another" -tags: [ "data", "git" ] -requires: [ "git" ] +title: Commit for Another +tags: +- data +- git +requires: +- git --- You can make Alice the author, while you are still the commiter: diff --git a/data/git/git-lfs.md b/data/git/git-lfs.md index b5c096c..43a040b 100644 --- a/data/git/git-lfs.md +++ b/data/git/git-lfs.md @@ -1,7 +1,10 @@ --- -title: "git-lfs" -tags: [ "data", "git" ] -requires: [ "git" ] +title: git-lfs +tags: +- data +- git +requires: +- git --- Git Large File Storage ('LFS') needs to change your `~/.gitconfig` to check out those binary files: diff --git a/data/git/git_secret.md b/data/git/git_secret.md index 7b54681..0cf5bed 100644 --- a/data/git/git_secret.md +++ b/data/git/git_secret.md @@ -1,6 +1,9 @@ --- -title: "git-secret" -tags: [ "data", "git", "review" ] +title: git-secret +tags: +- data +- git +- review --- This utility is largely useless, as it can only identify people by their email. diff --git a/data/git/git_stash.md b/data/git/git_stash.md index 305a580..e028f77 100644 --- a/data/git/git_stash.md +++ b/data/git/git_stash.md @@ -1,7 +1,10 @@ --- -title: "git stash" -tags: [ "data", "git" ] -requires: [ "git" ] +title: git stash +tags: +- data +- git +requires: +- git --- Save file-changes without committing anything. diff --git a/data/git/hooks.md b/data/git/hooks.md index a69d8b1..7a35441 100644 --- a/data/git/hooks.md +++ b/data/git/hooks.md @@ -1,6 +1,8 @@ --- -title: "git hooks" -tags: [ "data", "git" ] +title: git hooks +tags: +- data +- git --- Check out the sample hooks: diff --git a/data/gpg.md b/data/gpg.md index 3dbfdc1..adfb42f 100644 --- a/data/gpg.md +++ b/data/gpg.md @@ -1,6 +1,8 @@ --- -title: "GPG Basics" -tags: [ "data", "GPG" ] +title: GPG Basics +tags: +- data +- GPG --- # Making keys diff --git a/data/gpg/gpg_pinentry.md b/data/gpg/gpg_pinentry.md index 6324bd5..1a45bed 100644 --- a/data/gpg/gpg_pinentry.md +++ b/data/gpg/gpg_pinentry.md @@ -1,7 +1,12 @@ --- -title: "GPG Password Entry" -tags: [ "vim", "secrets", "TUI" ] -requires: [ "gpg", "vim" ] +title: GPG Password Entry +tags: +- vim +- secrets +- TUI +requires: +- gpg +- vim --- diff --git a/data/gpg/vim_decryption.md b/data/gpg/vim_decryption.md index dd6e4e6..dae97ce 100644 --- a/data/gpg/vim_decryption.md +++ b/data/gpg/vim_decryption.md @@ -1,7 +1,13 @@ --- -title: "Edit gpg encrypted files easily" -tags: [ "vim", "data", "gpg" ] -requires: [ "gpg", "vim", "comfy" ] +title: Edit gpg encrypted files easily +tags: +- vim +- data +- gpg +requires: +- gpg +- vim +- comfy --- The `vim-gnupg` plug-in lets vim edit gpg-encrypted files as if they were unencrypted. diff --git a/data/groff.md b/data/groff.md index 3601617..cbfce14 100644 --- a/data/groff.md +++ b/data/groff.md @@ -1,6 +1,8 @@ --- -title: "groff" -tags: [ "data", "logic" ] +title: groff +tags: +- data +- logic --- # Basic Documents diff --git a/data/interactive_string_substitution.md b/data/interactive_string_substitution.md index 44e58d5..5e6073f 100644 --- a/data/interactive_string_substitution.md +++ b/data/interactive_string_substitution.md @@ -1,6 +1,11 @@ --- -title: "Interactive String Substitution" -tags: [ "data", "vim", "substitution", "replace", "TUI" ] +title: Interactive String Substitution +tags: +- data +- vim +- substitution +- replace +- TUI --- Want to find and replace, but also confirm each instance? diff --git a/data/json.md b/data/json.md index af5cfa0..a5a403d 100644 --- a/data/json.md +++ b/data/json.md @@ -1,6 +1,9 @@ --- -title: "ijq" -tags: [ "data", "json", "TUI" ] +title: ijq +tags: +- data +- json +- TUI --- Analyse `json` easier with `ijq`. diff --git a/data/khard.md b/data/khard.md index a68eceb..6c53637 100644 --- a/data/khard.md +++ b/data/khard.md @@ -1,6 +1,7 @@ --- -title: "khard" -tags: [ "data" ] +title: khard +tags: +- data --- Get the basic config: diff --git a/data/newsboat.md b/data/newsboat.md index e5f876a..d97c017 100644 --- a/data/newsboat.md +++ b/data/newsboat.md @@ -1,6 +1,7 @@ --- -title: "newsboat" -tags: [ "RSS" ] +title: newsboat +tags: +- RSS --- Create the configuration directory before you start, and add at least 1 URL. diff --git a/data/newsraft.md b/data/newsraft.md index 595e6bf..888ee79 100644 --- a/data/newsraft.md +++ b/data/newsraft.md @@ -1,6 +1,8 @@ --- -title: "Newsraft" -tags: [ "data", "RSS" ] +title: Newsraft +tags: +- data +- RSS --- # Setup diff --git a/data/pass.md b/data/pass.md index 99a7dcb..bdefb5a 100644 --- a/data/pass.md +++ b/data/pass.md @@ -1,7 +1,11 @@ --- -title: "pass" -tags: [ "data", "credentials", "secrets" ] -requires: [ "gpg" ] +title: pass +tags: +- data +- credentials +- secrets +requires: +- gpg --- Setup [gpg](gpg.md) keys. diff --git a/data/pass_otp.md b/data/pass_otp.md index 9e88332..0a9988f 100644 --- a/data/pass_otp.md +++ b/data/pass_otp.md @@ -1,7 +1,13 @@ --- -title: "pass with otp" -tags: [ "data", "credentials", "secrets", "2fa", "otp" ] -requires: [ "pass" ] +title: pass with otp +tags: +- data +- credentials +- secrets +- 2fa +- otp +requires: +- pass --- Need a Microsoft or Google authenticator? diff --git a/data/pdf-to-txt.md b/data/pdf-to-txt.md index 6a8b223..305671e 100644 --- a/data/pdf-to-txt.md +++ b/data/pdf-to-txt.md @@ -1,6 +1,9 @@ --- -title: "pdf to txt" -tags: [ "data", "pdf", "ocr" ] +title: pdf to txt +tags: +- data +- pdf +- ocr --- How to translate pdfs to text (results are very poor, and will need lots of corrections). diff --git a/data/pdf_erasure.md b/data/pdf_erasure.md index 7e6d740..7af95f4 100644 --- a/data/pdf_erasure.md +++ b/data/pdf_erasure.md @@ -1,6 +1,10 @@ --- -title: "PDF Metadata Erasure" -tags: [ "metadata", "ghost script", "gs", ".pdf" ] +title: PDF Metadata Erasure +tags: +- metadata +- ghost script +- gs +- .pdf --- You cannot erase pdf metadata with `exiftool` (it only *appends* your changes). diff --git a/data/radicale.md b/data/radicale.md index d7a092a..3abf850 100644 --- a/data/radicale.md +++ b/data/radicale.md @@ -1,7 +1,11 @@ --- -title: "radicale and nginx" -tags: [ "data", "calendar" ] -requires: [ "nginx", "certbot" ] +title: radicale and nginx +tags: +- data +- calendar +requires: +- nginx +- certbot --- Check before you start: diff --git a/data/recfiles.md b/data/recfiles.md index 52ce294..16cc883 100644 --- a/data/recfiles.md +++ b/data/recfiles.md @@ -1,6 +1,8 @@ --- -title: "Recfiles" -tags: [ "data", "database" ] +title: Recfiles +tags: +- data +- database --- Create: diff --git a/data/recfiles/bibliography.md b/data/recfiles/bibliography.md index 5131f47..c2caa0d 100644 --- a/data/recfiles/bibliography.md +++ b/data/recfiles/bibliography.md @@ -1,7 +1,14 @@ --- -title: "Recfile Bibliography for TeX" -tags: [ "data", "database", "recfiles", "tex" ] -requires: [ "recfiles", "tex", "makefiles" ] +title: Recfile Bibliography for TeX +tags: +- data +- database +- recfiles +- tex +requires: +- recfiles +- tex +- makefiles --- Store your bibliography in a `recfile` database, then extract any part with `make`. diff --git a/data/recfiles/board_games.md b/data/recfiles/board_games.md index 0150c42..077c269 100644 --- a/data/recfiles/board_games.md +++ b/data/recfiles/board_games.md @@ -1,7 +1,11 @@ --- -title: "Board Games with Recfiles" -tags: [ "data", "recfiles", "games" ] -requires: [ "recfiles" ] +title: Board Games with Recfiles +tags: +- data +- recfiles +- games +requires: +- recfiles --- You can play with a board games database from boardgamegeek.com. diff --git a/data/recfiles/extended.md b/data/recfiles/extended.md index ffb5895..1b56d31 100644 --- a/data/recfiles/extended.md +++ b/data/recfiles/extended.md @@ -1,7 +1,11 @@ --- -title: "Recfiles Extended Example" -tags: [ "data", "database", "recfiles" ] -requires: [ "recfiles" ] +title: Recfiles Extended Example +tags: +- data +- database +- recfiles +requires: +- recfiles --- ## Create diff --git a/data/recfiles/ip_asn.md b/data/recfiles/ip_asn.md index 2b545dc..63a8945 100644 --- a/data/recfiles/ip_asn.md +++ b/data/recfiles/ip_asn.md @@ -1,7 +1,10 @@ --- -title: "IP Addresses with Recfiles" -tags: [ "data", "recfiles", "games" ] -requires: "recfiles" +title: IP Addresses with Recfiles +tags: +- data +- recfiles +- games +requires: recfiles --- ## Download the Database diff --git a/data/recfiles/nginx_logs.md b/data/recfiles/nginx_logs.md index 43c1fd4..016a023 100644 --- a/data/recfiles/nginx_logs.md +++ b/data/recfiles/nginx_logs.md @@ -1,7 +1,12 @@ --- -title: "nginx logs with recfiles" -tags: [ "data", "recfiles", "logs" ] -requires: [ "recfiles", "nginx" ] +title: nginx logs with recfiles +tags: +- data +- recfiles +- logs +requires: +- recfiles +- nginx --- The standard `nginx` log format has such a lack of consistency or meaning that you might squint your face into a whirlpool making sense of them: diff --git a/data/recfiles/recfixes.md b/data/recfiles/recfixes.md index a59f125..577693d 100644 --- a/data/recfiles/recfixes.md +++ b/data/recfiles/recfixes.md @@ -1,7 +1,10 @@ --- -title: "Recfixes" -tags: [ "data", "recfiles" ] -requires: [ "recfiles" ] +title: Recfixes +tags: +- data +- recfiles +requires: +- recfiles --- Sometimes `recsel` chokes on a large query, and you need to break the query into chunks with a pipe. diff --git a/data/sc-im.md b/data/sc-im.md index 7bd3d32..2dcc876 100644 --- a/data/sc-im.md +++ b/data/sc-im.md @@ -1,7 +1,12 @@ --- -title: "sc-im" -tags: [ "TUI", "data", "spreadsheet", "csv" ] -requires: [ "vim" ] +title: sc-im +tags: +- TUI +- data +- spreadsheet +- csv +requires: +- vim --- - [Sample file](sc-im/sample.sc) diff --git a/data/sc-im/convert_spreadsheets.md b/data/sc-im/convert_spreadsheets.md index fb2da40..e348f13 100644 --- a/data/sc-im/convert_spreadsheets.md +++ b/data/sc-im/convert_spreadsheets.md @@ -1,6 +1,8 @@ --- -title: "Convert Spreadsheets" -tags: [ "data", "sc-im" ] +title: Convert Spreadsheets +tags: +- data +- sc-im --- Convert between spreadsheet formats with `sc-im`. diff --git a/data/search_system.md b/data/search_system.md index df2e2aa..9c4a04f 100644 --- a/data/search_system.md +++ b/data/search_system.md @@ -1,7 +1,11 @@ --- -title: "Search System" -tags: [ "data", "search", "locate", "plocate" ] -requires: "cron" +title: Search System +tags: +- data +- search +- locate +- plocate +requires: cron --- You can search every file on the computer instantly by installing `plocate`. diff --git a/data/search_video_audio.md b/data/search_video_audio.md index 9ffb6df..3a7a245 100644 --- a/data/search_video_audio.md +++ b/data/search_video_audio.md @@ -1,6 +1,8 @@ --- -title: "Search Video Audio" -tags: [ "data", "video" ] +title: Search Video Audio +tags: +- data +- video --- Check subtitles available: diff --git a/data/sharing_secrets.md b/data/sharing_secrets.md index 19a6d08..b9a317f 100644 --- a/data/sharing_secrets.md +++ b/data/sharing_secrets.md @@ -1,6 +1,9 @@ --- -title: "Sharing Secrets" -tags: [ "data", "death", "secrets" ] +title: Sharing Secrets +tags: +- data +- death +- secrets --- You can share parts of a secret with multiple people, so only some of them need to agree to see the secret. diff --git a/data/soft-serve.md b/data/soft-serve.md index 5cbb8ff..df0e5a8 100644 --- a/data/soft-serve.md +++ b/data/soft-serve.md @@ -1,7 +1,13 @@ --- -title: "Soft-Serve" -tags: [ "data", "git server", "lfs", "TUI" ] -requires: [ "git", "nginx" ] +title: Soft-Serve +tags: +- data +- git server +- lfs +- TUI +requires: +- git +- nginx --- - [Soft-Serve with https](soft-serve/soft_https.md) diff --git a/data/soft-serve/soft_https.md b/data/soft-serve/soft_https.md index 97b6c4f..fea8a55 100644 --- a/data/soft-serve/soft_https.md +++ b/data/soft-serve/soft_https.md @@ -1,7 +1,12 @@ --- -title: "Soft Serve through https" -tags: [ "data", "git server", "lfs" ] -requires: [ "git", "nginx" ] +title: Soft Serve through https +tags: +- data +- git server +- lfs +requires: +- git +- nginx --- ## `http` Setup diff --git a/data/soft-serve/soft_maintenance.md b/data/soft-serve/soft_maintenance.md index 2e41b4b..6eb6b62 100644 --- a/data/soft-serve/soft_maintenance.md +++ b/data/soft-serve/soft_maintenance.md @@ -1,7 +1,12 @@ --- -title: "Soft Serve Maintenance" -tags: [ "data", "git server", "maintenance" ] -requires: [ "git", "nginx" ] +title: Soft Serve Maintenance +tags: +- data +- git server +- maintenance +requires: +- git +- nginx --- Over time git repositories become bloated with old data, but never get cleaned. diff --git a/data/sqlite.md b/data/sqlite.md index a20b611..a22ee3f 100644 --- a/data/sqlite.md +++ b/data/sqlite.md @@ -1,6 +1,7 @@ --- -title: "sqlite" -tags: [ "data" ] +title: sqlite +tags: +- data --- Work with a database: diff --git a/data/unison.md b/data/unison.md index 6b0781b..99e193d 100644 --- a/data/unison.md +++ b/data/unison.md @@ -1,7 +1,10 @@ --- -title: "unison" -tags: [ "backups", "synch" ] -requires: [ "ssh" ] +title: unison +tags: +- backups +- synch +requires: +- ssh --- Install unison on both machines, and make sure both have the same version of unison, with the same version of the ocaml compiler (the smallest difference will cause problems). diff --git a/data/view_torrents.md b/data/view_torrents.md index b8e4561..baf17d5 100644 --- a/data/view_torrents.md +++ b/data/view_torrents.md @@ -1,6 +1,9 @@ --- -title: "View Torrents" -tags: [ "data", "transmission", "torrenting" ] +title: View Torrents +tags: +- data +- transmission +- torrenting --- diff --git a/data/w3m.md b/data/w3m.md index e192b52..6843854 100644 --- a/data/w3m.md +++ b/data/w3m.md @@ -1,6 +1,7 @@ --- -title: "w3m" -tags: [ "browser" ] +title: w3m +tags: +- browser --- Open a search tab: diff --git a/distros/android/ssh_to_phone.md b/distros/android/ssh_to_phone.md index 470886c..d54a745 100644 --- a/distros/android/ssh_to_phone.md +++ b/distros/android/ssh_to_phone.md @@ -1,6 +1,9 @@ --- -title: "ssh to phone" -tags: [ "networking", "ssh", "android" ] +title: ssh to phone +tags: +- networking +- ssh +- android --- 1. Install fdroid on phone. diff --git a/distros/arch/arch_pi_install.md b/distros/arch/arch_pi_install.md index cedd69c..8fa7b27 100644 --- a/distros/arch/arch_pi_install.md +++ b/distros/arch/arch_pi_install.md @@ -1,6 +1,9 @@ --- -title: "Arch on a Raspberry Pi 4" -tags: [ "distros", "raspberry pi", "rpi" ] +title: Arch on a Raspberry Pi 4 +tags: +- distros +- raspberry pi +- rpi --- The [Official Instructions](https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4) for a Raspberry pi 4 do not allow for working sound from the headphone jack, unless you use the aarch64 Installation. diff --git a/distros/arch/autologin.md b/distros/arch/autologin.md index 995cf10..e0d7614 100644 --- a/distros/arch/autologin.md +++ b/distros/arch/autologin.md @@ -1,6 +1,8 @@ --- -title: "autologin" -tags: [ "distros", "arch" ] +title: autologin +tags: +- distros +- arch --- # Automatic Login diff --git a/distros/arch/basic-install.md b/distros/arch/basic-install.md index 9812ff1..a1fdd6c 100644 --- a/distros/arch/basic-install.md +++ b/distros/arch/basic-install.md @@ -1,7 +1,9 @@ --- -title: "Install Arch" -tags: [ "arch" ] -requires: [ "partitions" ] +title: Install Arch +tags: +- arch +requires: +- partitions --- Keyboard layout changed. diff --git a/distros/arch/fonts.md b/distros/arch/fonts.md index 8ecf651..3df2141 100644 --- a/distros/arch/fonts.md +++ b/distros/arch/fonts.md @@ -1,6 +1,7 @@ --- -title: "fonts" -tags: [ "distros" ] +title: fonts +tags: +- distros --- # Basics diff --git a/distros/arch/gpu.md b/distros/arch/gpu.md index 5ac3811..72c3081 100644 --- a/distros/arch/gpu.md +++ b/distros/arch/gpu.md @@ -1,6 +1,8 @@ --- -title: "Ach Linux GPU Setup" -tags: [ "arch", "GPU" ] +title: Ach Linux GPU Setup +tags: +- arch +- GPU --- # Step 1: Multilib diff --git a/distros/arch/install_yay.md b/distros/arch/install_yay.md index aa98828..f3e1f3e 100644 --- a/distros/arch/install_yay.md +++ b/distros/arch/install_yay.md @@ -1,6 +1,8 @@ --- -title: "Install yay" -tags: [ "distros", "arch" ] +title: Install yay +tags: +- distros +- arch requirements: [ "pacman" ] --- diff --git a/distros/arch/maintenance.md b/distros/arch/maintenance.md index b466c4b..313c932 100644 --- a/distros/arch/maintenance.md +++ b/distros/arch/maintenance.md @@ -1,6 +1,7 @@ --- -title: "Arch Maintenance" -tags: [ "arch" ] +title: Arch Maintenance +tags: +- arch requirements: [ "pacman" ] --- diff --git a/distros/arch/pacman.md b/distros/arch/pacman.md index 3a7495f..2b975b8 100644 --- a/distros/arch/pacman.md +++ b/distros/arch/pacman.md @@ -1,6 +1,7 @@ --- -title: "pacman" -tags: [ "distros" ] +title: pacman +tags: +- distros requirements: [ "Install Arch" ] --- diff --git a/distros/arch/pacman_extras.md b/distros/arch/pacman_extras.md index 4ca18d4..00c6f7e 100644 --- a/distros/arch/pacman_extras.md +++ b/distros/arch/pacman_extras.md @@ -1,6 +1,7 @@ --- -title: "pacman - Extras" -tags: [ "distros" ] +title: pacman - Extras +tags: +- distros requirements: [ "pacman" ] --- diff --git a/distros/arch/yay_maintenance.md b/distros/arch/yay_maintenance.md index a1ff095..5ecd142 100644 --- a/distros/arch/yay_maintenance.md +++ b/distros/arch/yay_maintenance.md @@ -1,6 +1,7 @@ --- -title: "Arch Maintenance with yay" -tags: [ "arch" ] +title: Arch Maintenance with yay +tags: +- arch requirements: [ "Arch Maintenance" ] --- diff --git a/distros/debian/apt.md b/distros/debian/apt.md index aadaea8..95e3804 100644 --- a/distros/debian/apt.md +++ b/distros/debian/apt.md @@ -1,6 +1,7 @@ --- -title: "apt troubleshooting" -tags: [ "debian" ] +title: apt troubleshooting +tags: +- debian --- Messed up a package's configuration files? diff --git a/distros/void/aeroplanes.md b/distros/void/aeroplanes.md index a67f67e..8ed9d0e 100644 --- a/distros/void/aeroplanes.md +++ b/distros/void/aeroplanes.md @@ -1,6 +1,7 @@ --- -title: "Aeroplane Mode in Void" -tags: [ "void" ] +title: Aeroplane Mode in Void +tags: +- void --- Put your device in 'aeroplane' mode (e.g. where no trace of signal leaves it) by turning off Wi-Fi and blue-tooth. diff --git a/distros/void/autologin.md b/distros/void/autologin.md index 96f6ab9..9a0f933 100644 --- a/distros/void/autologin.md +++ b/distros/void/autologin.md @@ -1,6 +1,7 @@ --- -title: "Void Autologin" -tags: [ "void" ] +title: Void Autologin +tags: +- void --- Make the autologin service: diff --git a/distros/void/brand_name_wallpaper.md b/distros/void/brand_name_wallpaper.md index 1677b1a..af00a9b 100644 --- a/distros/void/brand_name_wallpaper.md +++ b/distros/void/brand_name_wallpaper.md @@ -1,6 +1,7 @@ --- -title: "Brand Name Wallpaper" -tags: [ "void" ] +title: Brand Name Wallpaper +tags: +- void --- To automatically stick the logo onto your background, do these commands in the directory. diff --git a/distros/void/extrace.md b/distros/void/extrace.md index 12d1e4f..1286049 100644 --- a/distros/void/extrace.md +++ b/distros/void/extrace.md @@ -1,6 +1,7 @@ --- -title: "extrace" -tags: [ "void" ] +title: extrace +tags: +- void --- Monitor all processes: diff --git a/distros/void/jenkins.md b/distros/void/jenkins.md index 3e6ca20..b188f77 100644 --- a/distros/void/jenkins.md +++ b/distros/void/jenkins.md @@ -1,6 +1,8 @@ --- -title: "jenkins" -tags: [ "void", "build" ] +title: jenkins +tags: +- void +- build --- # Jenkins on Void diff --git a/distros/void/laptops.md b/distros/void/laptops.md index f6526a3..b7efcd5 100644 --- a/distros/void/laptops.md +++ b/distros/void/laptops.md @@ -1,6 +1,8 @@ --- -title: "Laptops with Void Linux" -tags: [ "void", "laptop" ] +title: Laptops with Void Linux +tags: +- void +- laptop --- Install and enable `tlp`. diff --git a/distros/void/locale.md b/distros/void/locale.md index 6f8d7e0..992ebc6 100644 --- a/distros/void/locale.md +++ b/distros/void/locale.md @@ -1,6 +1,8 @@ --- -title: "Void locale" -tags: [ "void", "locale" ] +title: Void locale +tags: +- void +- locale --- Check the current locales: diff --git a/distros/void/sv.md b/distros/void/sv.md index 2f9ca02..e0afb7e 100644 --- a/distros/void/sv.md +++ b/distros/void/sv.md @@ -1,6 +1,7 @@ --- -title: "sv" -tags: [ "void" ] +title: sv +tags: +- void --- # List Services diff --git a/distros/void/void_basics.md b/distros/void/void_basics.md index 1634b7e..b1709d0 100644 --- a/distros/void/void_basics.md +++ b/distros/void/void_basics.md @@ -1,6 +1,7 @@ --- -title: "Void Linux Basics" -tags: [ "void" ] +title: Void Linux Basics +tags: +- void --- # Updates diff --git a/distros/void/xbps.md b/distros/void/xbps.md index aaddfa5..168877f 100644 --- a/distros/void/xbps.md +++ b/distros/void/xbps.md @@ -1,6 +1,7 @@ --- -title: "xbps" -tags: [ "void" ] +title: xbps +tags: +- void --- ## Search diff --git a/hardware/brightness.md b/hardware/brightness.md index c8904ee..3b71b29 100644 --- a/hardware/brightness.md +++ b/hardware/brightness.md @@ -1,6 +1,8 @@ --- -title: "brightness" -tags: [ "hardware", "laptop" ] +title: brightness +tags: +- hardware +- laptop --- # Brightness diff --git a/hardware/keyboard.md b/hardware/keyboard.md index 03f9388..a446be9 100644 --- a/hardware/keyboard.md +++ b/hardware/keyboard.md @@ -1,6 +1,8 @@ --- -title: "keyboard" -tags: [ "keyboard", "vim" ] +title: keyboard +tags: +- keyboard +- vim --- # System-Wide Capslock and Escape Swap diff --git a/hardware/monitor.md b/hardware/monitor.md index 8b32e0d..f94a148 100644 --- a/hardware/monitor.md +++ b/hardware/monitor.md @@ -1,6 +1,7 @@ --- -title: "monitor" -tags: [ "hardware" ] +title: monitor +tags: +- hardware --- See screen size diff --git a/hardware/printers.md b/hardware/printers.md index b3b59c3..4743964 100644 --- a/hardware/printers.md +++ b/hardware/printers.md @@ -1,6 +1,7 @@ --- -title: "printers" -tags: [ "hardware" ] +title: printers +tags: +- hardware --- # Cups: The Common Unix Printing System diff --git a/networking/agate.md b/networking/agate.md index 36615c8..e26c8fe 100644 --- a/networking/agate.md +++ b/networking/agate.md @@ -1,6 +1,9 @@ --- -title: "Agate on Arch Linux" -tags: [ "networking", "arch", "gemini" ] +title: Agate on Arch Linux +tags: +- networking +- arch +- gemini --- Docs are [here](https://github.com/mbrubeck/agate). diff --git a/networking/bad_horse.md b/networking/bad_horse.md index 5d2f9ca..1b6abe8 100644 --- a/networking/bad_horse.md +++ b/networking/bad_horse.md @@ -1,6 +1,9 @@ --- -title: "Mapping the Net" -tags: [ "networking", "graph", "fun" ] +title: Mapping the Net +tags: +- networking +- graph +- fun --- Find the path to a domain: diff --git a/networking/dns.md b/networking/dns.md index 962033b..1924370 100644 --- a/networking/dns.md +++ b/networking/dns.md @@ -1,6 +1,8 @@ --- -title: "dns" -tags: [ "networking", "host" ] +title: dns +tags: +- networking +- host --- | Record | Type | Example | diff --git a/networking/fail2ban.md b/networking/fail2ban.md index d081b8d..7d15e44 100644 --- a/networking/fail2ban.md +++ b/networking/fail2ban.md @@ -1,7 +1,9 @@ --- -title: "fail2ban" -tags: [ "networking" ] -requires: [ "ssh" ] +title: fail2ban +tags: +- networking +requires: +- ssh --- # SSH Daemon Jail diff --git a/networking/iptables.md b/networking/iptables.md index 94c5ddf..5023b69 100644 --- a/networking/iptables.md +++ b/networking/iptables.md @@ -1,6 +1,7 @@ --- -title: "iptables" -tags: [ "networking" ] +title: iptables +tags: +- networking --- # Intro diff --git a/networking/nginx.md b/networking/nginx.md index 1041c90..f6594eb 100644 --- a/networking/nginx.md +++ b/networking/nginx.md @@ -1,6 +1,8 @@ --- -title: "nginx" -tags: [ "networking", "web" ] +title: nginx +tags: +- networking +- web --- Install nginx: diff --git a/networking/nmap.md b/networking/nmap.md index 8618f39..7305dc2 100644 --- a/networking/nmap.md +++ b/networking/nmap.md @@ -1,6 +1,7 @@ --- -title: "nmap" -tags: [ "networking" ] +title: nmap +tags: +- networking --- Example: diff --git a/networking/pi-hole-server.md b/networking/pi-hole-server.md index 6961965..8d1e184 100644 --- a/networking/pi-hole-server.md +++ b/networking/pi-hole-server.md @@ -1,6 +1,7 @@ --- -title: "pi-hole-server" -tags: [ "distros" ] +title: pi-hole-server +tags: +- distros --- # Installation diff --git a/networking/port_scan.md b/networking/port_scan.md index bb5c0d5..5f34175 100644 --- a/networking/port_scan.md +++ b/networking/port_scan.md @@ -1,6 +1,7 @@ --- -title: "Port Scan" -tags: [ "networking" ] +title: Port Scan +tags: +- networking repo: 'https://github.com/mrjackwills/havn/' --- diff --git a/networking/rclone.md b/networking/rclone.md index 98917d2..699a094 100644 --- a/networking/rclone.md +++ b/networking/rclone.md @@ -1,6 +1,8 @@ --- -title: "rclone" -tags: [ "networking", "synch" ] +title: rclone +tags: +- networking +- synch --- The manpage's 'Synopsis' provides a fast reference. ``` diff --git a/networking/scraping/copy_website.md b/networking/scraping/copy_website.md index b7fc348..51bc011 100644 --- a/networking/scraping/copy_website.md +++ b/networking/scraping/copy_website.md @@ -1,6 +1,8 @@ --- -title: "Download Website" -tags: [ "networking", "scraping" ] +title: Download Website +tags: +- networking +- scraping --- ```sh diff --git a/networking/scraping/youtube-dl.md b/networking/scraping/youtube-dl.md index 3dbf590..4309708 100644 --- a/networking/scraping/youtube-dl.md +++ b/networking/scraping/youtube-dl.md @@ -1,6 +1,7 @@ --- -title: "Download videos" -tags: [ "scraping" ] +title: Download videos +tags: +- scraping --- Install `yt-dlp`. diff --git a/networking/ssh.md b/networking/ssh.md index f6af8a2..cdb11dd 100644 --- a/networking/ssh.md +++ b/networking/ssh.md @@ -1,6 +1,7 @@ --- -title: "ssh" -tags: [ "networking" ] +title: ssh +tags: +- networking --- # Basic `ssh` diff --git a/networking/ssh/sshfs.md b/networking/ssh/sshfs.md index 1c9d446..54692d3 100644 --- a/networking/ssh/sshfs.md +++ b/networking/ssh/sshfs.md @@ -1,7 +1,9 @@ --- -title: "sshfs" -tags: [ "networking" ] -requires: [ "ssh" ] +title: sshfs +tags: +- networking +requires: +- ssh --- # Mount diff --git a/networking/ssh/tricks.md b/networking/ssh/tricks.md index f542640..c2a4979 100644 --- a/networking/ssh/tricks.md +++ b/networking/ssh/tricks.md @@ -1,7 +1,11 @@ --- -title: "ssh-tricks" -tags: [ "networking", "ssh", "tricks" ] -requires: [ "ssh" ] +title: ssh-tricks +tags: +- networking +- ssh +- tricks +requires: +- ssh --- Mount a remote filesystem locally with fuse-sshfs: diff --git a/networking/tor.md b/networking/tor.md index 2387ed6..089a52a 100644 --- a/networking/tor.md +++ b/networking/tor.md @@ -1,6 +1,7 @@ --- -title: "tor" -tags: [ "networking" ] +title: tor +tags: +- networking --- # Get a Hostname diff --git a/networking/transmission.md b/networking/transmission.md index bc59c75..ef5a067 100644 --- a/networking/transmission.md +++ b/networking/transmission.md @@ -1,6 +1,8 @@ --- -title: "transmission" -tags: [ "networking", "torrenting" ] +title: transmission +tags: +- networking +- torrenting --- Search for a torrent, e.g. 'sita sings the blues'. diff --git a/networking/wifi.md b/networking/wifi.md index 34816ed..04e2483 100644 --- a/networking/wifi.md +++ b/networking/wifi.md @@ -1,6 +1,7 @@ --- -title: "network" -tags: [ "networking" ] +title: network +tags: +- networking --- # Netstat Stuff diff --git a/networking/wireguard.md b/networking/wireguard.md index 5d35036..6f2d104 100644 --- a/networking/wireguard.md +++ b/networking/wireguard.md @@ -1,6 +1,8 @@ --- -title: "wireguard" -tags: [ "networking", "VPN" ] +title: wireguard +tags: +- networking +- VPN ---