diff options
| author | Paul Buetow <paul@buetow.org> | 2021-05-15 09:44:59 +0100 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2021-05-21 05:11:05 +0100 |
| commit | 5c95039b5b4a93631977d9260a3e6f1e2c899c57 (patch) | |
| tree | 77dd4fab60a0f7278bdf62373acfa31a2e17b870 /TODO.md | |
| parent | 2cc147fce25dc0b19843867de32e0c037ea84092 (diff) | |
add draft
Diffstat (limited to 'TODO.md')
| -rw-r--r-- | TODO.md | 43 |
1 files changed, 43 insertions, 0 deletions
@@ -0,0 +1,43 @@ +buetow.org Gemini capsule +========================= + +This is the source code of my Gemini capsule. You can reach the site(s) here: + +* Via Gemini/Gemtext : [gemini://buetow.org](gemini://buetow.org) +* Via HTTP/HTML: [https://buetow.org](https://buetow.org) +* [Markdown via HTML viewer](./content/md/index.md) +* [Gemini via webproxy](https://portal.mozz.us/gemini/buetow.org) + +## Software I use to maintain this capsule + +* Text editor: [Vim](https://www.vim.org) +* Gemini server: [a-h/gemini](https://github.com/a-h/gemini) +* Some Bash scripting + +## HTTP fallback software used + +* Web server: [Apache HTTPD](https://httpd.apache.org) + +## TODO + +Adjust code to reflect the google style guide. Use this to practice navigating the Vim quickfix list. + +* comment complex functions +* comment all lib functions +* TODOs always with a name in it, e.g. "TODO(paul): BLabla" +* Breaking long pipes: Here I disagree, use a different long pipe breaking method and not the one in the google style guide. +* case: indent body with 2 spaces +* not agreeing w "quote your variables", only quote them then its making things clearer +* fix signle vs double quotes: strings without var interpolation +* not a google style: use strings yes and no as my own bools +* prefer quoting words not bare words: yes vs 'yes' +* [[ ]] is preferred over [ ] +* what struck me: "probably unintended lexicographical comparison +* eval (evil) should be avoided: my own alternative for setting vars w.o eval +* arrays: i personally try to design the script to use pipes for list processing. +* bash -c 'help readarray' trick, zsh alias/function for bash help +* avoid a stand alone (( i++ )) +* rename ./modules to ./packages +* buetow.org.conf: declare -xr FOO=bar both constant and env. +* learned: PIPESTATUS stuff +* don't agree partially: prefer internal over external (e.g. sed) |
