add doctoc

This commit is contained in:
Aminda Suomalainen 2023-03-16 19:53:28 +02:00
parent 7aff9fdff7
commit a12594a009
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
35 changed files with 362 additions and 0 deletions

View File

@ -19,3 +19,8 @@ repos:
hooks:
- id: editorconfig-checker
alias: ec
repos:
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc

View File

@ -1,3 +1,15 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Notes on using LaTeX](#notes-on-using-latex)
- [Simple boilerplate](#simple-boilerplate)
- [Package management](#package-management)
- [Installing custom templates](#installing-custom-templates)
- [Noteworthy templates](#noteworthy-templates)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Notes on using LaTeX
To possibly save your self from headache:

View File

@ -1,3 +1,11 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [LICENSING](#licensing)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
This repository is a random assortment of files. In the beginning, I had
some of them at gist.github.com, but as it doesn't provide any way for me
to sort files, a separate repository is easier to handle.

View File

@ -1,3 +1,14 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Briar notes](#briar-notes)
- [Naming](#naming)
- [Briar desktop](#briar-desktop)
- [Further reading and quotes](#further-reading-and-quotes)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Briar notes
Briar is a P2P over Tor messenger that can also peer over LAN and Bluetooth.

View File

@ -1,3 +1,11 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Lists of Briar forums](#lists-of-briar-forums)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Lists of Briar forums
Briar Forums are groups where anyone can add anyone. They have no further

View File

@ -1,3 +1,14 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Call forwarding, relevant commands edition](#call-forwarding-relevant-commands-edition)
- [Commands](#commands)
- [Status check](#status-check)
- [GUI](#gui)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Call forwarding, relevant commands edition
_This is widely documented around the internet, but everything has a lot

View File

@ -1,3 +1,18 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Finnish Electronic Identity](#finnish-electronic-identity)
- [Requirements for everything](#requirements-for-everything)
- [Chromium](#chromium)
- [Firefox and Thunderbird](#firefox-and-thunderbird)
- [Okular](#okular)
- [Root certificates](#root-certificates)
- [Testing](#testing)
- [FINEID as SSH key](#fineid-as-ssh-key)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Finnish Electronic Identity
Finnish identity cards have been electronic for ages and as I tend to forget

View File

@ -1,3 +1,17 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Notes related to gaming](#notes-related-to-gaming)
- [Wayland / Sway](#wayland--sway)
- [Issues and solutions](#issues-and-solutions)
- [Constant camera rotation](#constant-camera-rotation)
- [Cursor doesn't stick to game window](#cursor-doesnt-stick-to-game-window)
- [Graphics corruption such as display full of black dots](#graphics-corruption-such-as-display-full-of-black-dots)
- [Steam client itself is laggy](#steam-client-itself-is-laggy)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Notes related to gaming
A lot of older files that I haven't touched recently were moved to this

View File

@ -1,3 +1,14 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [My notes on using OBS Studio.](#my-notes-on-using-obs-studio)
- [resolution & bitrate](#resolution--bitrate)
- [Suggestions](#suggestions)
- [External links](#external-links)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# My notes on using OBS Studio.
I have mostly understood how to add sources on OBS Studio, but I needed

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Random git files](#random-git-files)
- [Tracking GitHub pull requests with `git`](#tracking-github-pull-requests-with-git)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Random git files
- `gitignore` - `.gitignore` templates I may or may not use

View File

@ -1,3 +1,11 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [XOP](#xop)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
**UNMAINTAINED, PLEASE READ https://mikaela.info/english/2015/03/12/stay-away-from-anope.html**
This is unlike the Atheme cstemplate as Anope doesn't have similar template

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Channel setup on Ergo](#channel-setup-on-ergo)
- [Private extras](#private-extras)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Channel setup on Ergo
```

View File

@ -1,3 +1,13 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [HexChat configs](#hexchat-configs)
- [Settings changes](#settings-changes)
- [Settings → Text events](#settings-%E2%86%92-text-events)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# HexChat configs
- Timestamp format: `[%Y-%j %H.%M.%S]` or `[%G-W%V-%u %H:%M:%S]`

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Hardening Limnoria](#hardening-limnoria)
- [Passwordless users](#passwordless-users)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Hardening Limnoria
- Upstream documentation: https://docs.limnoria.net/use/security.html

View File

@ -1,3 +1,11 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Preventing accidental owner announces](#preventing-accidental-owner-announces)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Preventing accidental owner announces
By default `announce` command sends a message to every channel the bot is on

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Muting on channel](#muting-on-channel)
- [Reverting](#reverting)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Muting on channel
There is `channel lobotomy add [<channel>]`, but it may have unexpected

View File

@ -1,3 +1,14 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Using NOTICEs instead of PRIVMSGs](#using-notices-instead-of-privmsgs)
- [Other options](#other-options)
- [Other plugins](#other-plugins)
- [Reverting](#reverting)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Using NOTICEs instead of PRIVMSGs
Like https://tools.ietf.org/html/rfc1459#section-4.4.2 & https://tools.ietf.org/html/rfc2812#section-3.3.2 say should be used.

View File

@ -1,3 +1,16 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [A bit opinionated titlefetching](#a-bit-opinionated-titlefetching)
- [Preparation](#preparation)
- [Actually enabling it](#actually-enabling-it)
- [Excluding domains from titlefetching](#excluding-domains-from-titlefetching)
- [Titlesnarfing ignored users](#titlesnarfing-ignored-users)
- [Bonus: Fediverse](#bonus-fediverse)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# A bit opinionated titlefetching
## Preparation

View File

@ -1,3 +1,13 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Matterbridge resources](#matterbridge-resources)
- [My other resources](#my-other-resources)
- [Other resources](#other-resources)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Matterbridge resources
Mainly _myrelays.md_ documenting what my personal matterbridge instance is

View File

@ -1,3 +1,21 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Matterbridging list](#matterbridging-list)
- [Definitions](#definitions)
- [Gateways](#gateways)
- [Mikaela.info](#mikaelainfo)
- [Tanukis (or "Pillow Fortress")](#tanukis-or-pillow-fortress)
- [ABGILPQT+](#abgilpqt)
- [Test](#test)
- [Antikupla](#antikupla)
- [Syötteet](#sy%C3%B6tteet)
- [cz-feed](#cz-feed)
- [borni](#borni)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Matterbridging list
This is a list of Matterbridge gateways that I am maintaining or those of

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Palaver configs](#palaver-configs)
- [Other timestamp formats](#other-timestamp-formats)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Palaver configs
Upstream: https://palaverapp.com/guides/commands/set.html

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [WeeChat colours for dark background](#weechat-colours-for-dark-background)
- [Making colors look good with solarized terminals](#making-colors-look-good-with-solarized-terminals)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
I use `/set irc.look.nick_color_hash djb2` (_"hash algorithm used to find
the color for a nick: djb2 = variant of djb2 (position of letters matters:
anagrams of a nick have different color), sum = sum of letters"_)

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [WeeChat Triggers](#weechat-triggers)
- [msgid visibility](#msgid-visibility)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# WeeChat Triggers
- [WeeChat Trigger plugin documentation](https://weechat.org/files/doc/stable/weechat_user.en.html#trigger)

View File

@ -1,3 +1,11 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Laundry machine programs](#laundry-machine-programs)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Laundry machine programs
I never remember these and then I take ages to find my notes, so in hopes

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Quick account switching in FluffyChat](#quick-account-switching-in-fluffychat)
- [Appendix: example `im.fluffychat.account_bundles` account event](#appendix-example-imfluffychataccount_bundles-account-event)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Quick account switching in FluffyChat
FluffyChat 0.41.0 brings support for using multiple accounts and has an early

View File

@ -1,3 +1,13 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Notes regarding Matrix, a decentralised conversation store](#notes-regarding-matrix-a-decentralised-conversation-store)
- [Other notes not needing their own directories](#other-notes-not-needing-their-own-directories)
- [Account migration](#account-migration)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Notes regarding Matrix, a decentralised conversation store
As a lot of things require playing around with `/devtools` and raw state

View File

@ -1,3 +1,11 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [im.vector.web.settings](#imvectorwebsettings)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# im.vector.web.settings
The main point here is the `room_directory_servers` as this is a more pleasant way to copy it around than

View File

@ -1,3 +1,15 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [m.room.join_rules](#mroomjoin_rules)
- [knocking](#knocking)
- [membership of another room](#membership-of-another-room)
- [merging knocking and membership of another room](#merging-knocking-and-membership-of-another-room)
- [Note to self](#note-to-self)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# m.room.join_rules
Controls who can join the room. This is best to configure in room settings.

View File

@ -1,3 +1,15 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Template power levels event for quick copy-pasting](#template-power-levels-event-for-quick-copy-pasting)
- [Completeish event](#completeish-event)
- [Reasonable version](#reasonable-version)
- [Medium version](#medium-version)
- [Paranoid version](#paranoid-version)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Template power levels event for quick copy-pasting
The main point I do this for is users `users`

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [m.room.server_acl](#mroomserver_acl)
- [Allowlist](#allowlist)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# m.room.server_acl
This event type controls which servers can access the room at all. Be very careful

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [On Matrix tombstones](#on-matrix-tombstones)
- [PL50 tombstoning](#pl50-tombstoning)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# On Matrix tombstones
I am not putting the events here as I have [scripts for that separately](https://gitea.blesmrt.net/mikaela/scripts/src/branch/master/bash).

View File

@ -1,3 +1,11 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [`org.matrix.appservice-irc.config`](#orgmatrixappservice-ircconfig)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# `org.matrix.appservice-irc.config`
Also known as IRC bridge configuration, [upstream documentation](https://github.com/matrix-org/matrix-appservice-irc/blob/develop/docs/room_configuration.md)

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Room history retention settings / state event `m.room.retention`](#room-history-retention-settings--state-event-mroomretention)
- [Notes](#notes)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Room history retention settings / state event `m.room.retention`
- https://brendan.abolivier.bzh/matrix-retention-policies/

View File

@ -1,3 +1,26 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Potentially useful progressive web apps](#potentially-useful-progressive-web-apps)
- [Events](#events)
- [Food](#food)
- [Instant messaging](#instant-messaging)
- [Matrix](#matrix)
- [Instant messaging](#instant-messaging-1)
- [Social media](#social-media)
- [Telegram](#telegram)
- [Misc](#misc)
- [Learning](#learning)
- [Localization](#localization)
- [Music](#music)
- [Shopping](#shopping)
- [Social media](#social-media-1)
- [Travel](#travel)
- [Not PWAs but still possibly useful for homescreens](#not-pwas-but-still-possibly-useful-for-homescreens)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Potentially useful progressive web apps
Method for distinguishing PWAs from normal websites: adding them to

View File

@ -1,3 +1,12 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Requirements for WiFi devices](#requirements-for-wifi-devices)
- [See also](#see-also)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Requirements for WiFi devices
I am considering getting a 5G (mobile network) capable one, but as none