make header format yaml
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "Archives"
|
||||
tags: [ "archives", "backups" ]
|
||||
title: Archives
|
||||
tags:
|
||||
- archives
|
||||
- backups
|
||||
---
|
||||
|
||||
# Create
|
||||
|
||||
@@ -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'.
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
---
|
||||
title: "calcurse"
|
||||
tags: [ "data", "calendar", "daylight savings" ]
|
||||
title: calcurse
|
||||
tags:
|
||||
- data
|
||||
- calendar
|
||||
- daylight savings
|
||||
---
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "e-mail"
|
||||
tags: [ "data", "smtp" ]
|
||||
title: e-mail
|
||||
tags:
|
||||
- data
|
||||
- smtp
|
||||
---
|
||||
|
||||
This is bare-bones, original, primitive e-mail.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "exiftool"
|
||||
tags: [ "metadata", "exifdata" ]
|
||||
title: exiftool
|
||||
tags:
|
||||
- metadata
|
||||
- exifdata
|
||||
---
|
||||
|
||||
Find metadata:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "git"
|
||||
tags: [ "data", "setup" ]
|
||||
title: git
|
||||
tags:
|
||||
- data
|
||||
- setup
|
||||
---
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
---
|
||||
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "git hooks"
|
||||
tags: [ "data", "git" ]
|
||||
title: git hooks
|
||||
tags:
|
||||
- data
|
||||
- git
|
||||
---
|
||||
|
||||
Check out the sample hooks:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "GPG Basics"
|
||||
tags: [ "data", "GPG" ]
|
||||
title: GPG Basics
|
||||
tags:
|
||||
- data
|
||||
- GPG
|
||||
---
|
||||
|
||||
# Making keys
|
||||
|
||||
@@ -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
|
||||
---
|
||||
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "groff"
|
||||
tags: [ "data", "logic" ]
|
||||
title: groff
|
||||
tags:
|
||||
- data
|
||||
- logic
|
||||
---
|
||||
# Basic Documents
|
||||
|
||||
|
||||
@@ -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?
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
---
|
||||
title: "ijq"
|
||||
tags: [ "data", "json", "TUI" ]
|
||||
title: ijq
|
||||
tags:
|
||||
- data
|
||||
- json
|
||||
- TUI
|
||||
---
|
||||
|
||||
Analyse `json` easier with `ijq`.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: "khard"
|
||||
tags: [ "data" ]
|
||||
title: khard
|
||||
tags:
|
||||
- data
|
||||
---
|
||||
Get the basic config:
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "Newsraft"
|
||||
tags: [ "data", "RSS" ]
|
||||
title: Newsraft
|
||||
tags:
|
||||
- data
|
||||
- RSS
|
||||
---
|
||||
|
||||
# Setup
|
||||
|
||||
10
data/pass.md
10
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.
|
||||
|
||||
@@ -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?
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "Recfiles"
|
||||
tags: [ "data", "database" ]
|
||||
title: Recfiles
|
||||
tags:
|
||||
- data
|
||||
- database
|
||||
---
|
||||
|
||||
Create:
|
||||
|
||||
@@ -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`.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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`.
|
||||
|
||||
@@ -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`.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "Search Video Audio"
|
||||
tags: [ "data", "video" ]
|
||||
title: Search Video Audio
|
||||
tags:
|
||||
- data
|
||||
- video
|
||||
---
|
||||
|
||||
Check subtitles available:
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: "sqlite"
|
||||
tags: [ "data" ]
|
||||
title: sqlite
|
||||
tags:
|
||||
- data
|
||||
---
|
||||
|
||||
Work with a database:
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
---
|
||||
title: "View Torrents"
|
||||
tags: [ "data", "transmission", "torrenting" ]
|
||||
title: View Torrents
|
||||
tags:
|
||||
- data
|
||||
- transmission
|
||||
- torrenting
|
||||
---
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: "w3m"
|
||||
tags: [ "browser" ]
|
||||
title: w3m
|
||||
tags:
|
||||
- browser
|
||||
---
|
||||
Open a search tab:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user