diff --git a/docs/coding/kids.md b/docs/coding/kids.md index 012eac32bfc020a73ce2ac46e56d79ce56862718..6e0ac7354b55dfb2f06d5b4026c88e484ff5bc6d 100644 --- a/docs/coding/kids.md +++ b/docs/coding/kids.md @@ -1,5 +1,10 @@ # Coding for kids +## Courses + +- [Hacker School](https://hacker-school.de/kurse/) + - German based classes + ## Fellowship programs - [Youth Hacking 4 Freedom](https://fsfe.org/activities/yh4f/) diff --git a/docs/coding/shell/zsh.md b/docs/coding/shell/zsh.md index ea82b968cbe8bf5b0ff67057058d992b6b08743f..f216cae5fc14a4237f61dcefbbf311a770f5e522 100644 --- a/docs/coding/shell/zsh.md +++ b/docs/coding/shell/zsh.md @@ -45,9 +45,34 @@ $ cat .zshenv export ZDOTDIR=~/.config/zsh ``` +Start zsh with new config: + +```sh +export ZDOTDIR=$(mktemp -d) && zsh +``` + ## ZSH completion - [zsh-completions-howto.org](https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org) +- [Arch wiki: Zsh/command completion](https://wiki.archlinux.org/title/Zsh#Command_completion) +- [Zshc ompletions howto](https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org) +- Easier than the [Official zsh completion docs](http://zsh.sourceforge.io/Doc/Release/Completion-System.html) +- [Zsh guido: Completion, old and new](http://zsh.sourceforge.net/Guide/zshguide06.html) + +Default completion locations: + +- `/usr/share/zsh/functions/Completion/` +- + +Custom completion location: + +- `~/.config/shell/zsh/completion` (added in `~/.config/shell/zsh/conf.d/05_completion.sh`) + +Show current completion locations: + +```sh +echo $fpath | tr ' ' '\n' | grep -i completion +``` Create/update completions in `$ZDOTDIR/completion`: @@ -55,9 +80,6 @@ Create/update completions in `$ZDOTDIR/completion`: ~/bin/custom/zsh_create_completions.sh ``` -<http://zsh.sourceforge.net/Doc/Release/Completion-System.html> -<http://zsh.sourceforge.net/Guide/zshguide06.html> - ```sh man zshcompsys ``` diff --git a/docs/desktop/wayland/login-managers.md b/docs/desktop/wayland/login-managers.md index 68d63bbe301da27f51ff0a44d055b41ff44e374b..8bda76a2891473e06b9bcf1b4f80a65a7037e788 100644 --- a/docs/desktop/wayland/login-managers.md +++ b/docs/desktop/wayland/login-managers.md @@ -1,5 +1,6 @@ # Wayland login managers +- [Arch wiki: Display managers](https://wiki.archlinux.org/title/Wayland#Display_managers) - [Sway wiki: Login managers](https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway#login-managers) ## Greetd diff --git a/docs/desktop/wayland/wayland.md b/docs/desktop/wayland/wayland.md index 9119bf791a57e777ea406f3281522181f23827db..cc1ae7bb90fd55325365d0bcf5c02862e7aa3e25 100644 --- a/docs/desktop/wayland/wayland.md +++ b/docs/desktop/wayland/wayland.md @@ -1,8 +1,18 @@ # Wayland +- [Arch wiki: Wayland](https://wiki.archlinux.org/title/Wayland) + - [Compositors](https://wiki.archlinux.org/title/Wayland#Compositors) + - [Dynamic](https://wiki.archlinux.org/title/Wayland#Dynamic) + +## Wayland compatible apps + - [Are we Wayland yet?](https://arewewaylandyet.com/) - [Anarcat's wiki](https://anarc.at/software/desktop/wayland/) +## Etc + How to tell if Wayland is running: ` - echo $XDG_SESSION_TYPE +```sh +echo $XDG_SESSION_TYPE +``` diff --git a/docs/finance/beancount/query.md b/docs/finance/beancount/query.md index dbd331e7d2d1595be8e5508a7071f6eb85fbc059..baa61d027bd84eb88a3d930bb88f4094cc5faee2 100644 --- a/docs/finance/beancount/query.md +++ b/docs/finance/beancount/query.md @@ -25,6 +25,11 @@ SELECT DISTINCT account FROM year = 2024 WHERE account ~ 'Expenses' ORDER BY acc ## Account Balances +```sql +BALANCES +BALANCES FROM CLOSE ON 2023-01-01 +``` + ```sql SELECT account, sum(position) FROM year = 2019 WHERE account ~ 'Expenses:Privat' diff --git a/docs/hardware/robotics/lego.md b/docs/hardware/robotics/lego.md index 1caaf11dad1efd3f597c3eea05a3392e41c0fa5e..5ee09345518f19351ce609166cd3dc46f1955c72 100644 --- a/docs/hardware/robotics/lego.md +++ b/docs/hardware/robotics/lego.md @@ -33,6 +33,10 @@ However, see [Can I use a MINDSTORMS Robot Inventor hub with SPIKE Prime?](https Sets: - [LEGO Education SPIKE Prime-Set 45678](https://www.lego.com/de-de/product/lego-education-spike-prime-set-45678) + - three motors (1 large 2 medium) and + sensors for distance, force and color, + a controller brick based on an STM32F413 microcontroller[30] + and 520+ Lego Technic elements - [LEGO® Education SPIKE™ Essential-Set 45345](https://www.google.com/search?client=firefox-b-d&q=45345) - [LEGO Education SPIKE Prime-Erweiterungsset 45681](https://www.lego.com/de-de/product/lego-education-spike-prime-expansion-set-45681) including [mounting plate](https://www.brickowl.de/catalog/lego-magenta-panel-11-x-15-with-pcb-holes-65817) @@ -40,11 +44,28 @@ Sets: ### Software +#### Pybricks + +- [Website](https://pybricks.com/) + +> Pybricks runs on LEGO® BOOST, City, Technic, MINDSTORMS®, and SPIKE®. +> You can code using Windows, Mac, Linux, Chromebook, and Android. + +- Scatch frontend only as paid SaaS +- [Installing Pybricks on LEGO MINDSTORMS EV3](https://pybricks.com/install/mindstorms-ev3/installation/) + +> Pybricks for MINDSTORMS EV3 uses Pybricks version 2.0, +> while newer hubs like SPIKE, Technic, and MINDSTORMS Inventor +> use Pybricks 3.0 or higher. +> This means you can only code your EV3 with MicroPython in Visual Studio Code. +> The simpler online interface with block-based coding is not available for EV3. +> If you would like to see continued EV3 support, including block-based coding +> in our web app, please let us know on our forum. If we can find enough teachers +> and developers who want to get involved, perhaps we can make this happen. + +#### Other + - [Host-hub communication for LEGO Spike Prime on Linux](https://libdoc.fh-zwickau.de/opus4/frontdoor/deliver/index/docId/15400/file/lego_spike_linux.pdf) -- [Pybricks](https://pybricks.com/) - - "Pybricks runs on LEGO® BOOST, City, Technic, MINDSTORMS®, and SPIKE®. - You can code using Windows, Mac, Linux, Chromebook, and Android." - - Scatch frontend only as paid SaaS - [lego-spike-electron-app](https://github.com/joeyparrish/lego-spike-electron-app) - LEGO SPIKE web app in Electron - `lego-spike-git` AUR package @@ -74,14 +95,19 @@ Outdated: - Robotics Invention System (launched in 1998) - Mindstorms NXT (launched in 2006) - Mindstorms EV3 (launched in 2013) + - [LEGO Mindstorms EV3 31313 Set](https://www.lego.com/de-lu/product/lego-mindstorms-ev3-31313) + - Mindstorms Robot Inventor (launched in 2020) + - [Mindstorms Robot Inventor 51515](https://www.lego.com/en-de/product/robot-inventor-51515) + - [Lego Mindstorms Robot Inventor](https://en.wikipedia.org/wiki/Lego_Mindstorms#Lego_Mindstorms_Robot_Inventor): + "It has four medium motors from Spike Prime, + two sensors (distance sensor and color/light sensor) also from Spike Prime, + a Spike Prime hub with a six-axis gyroscope, an accelerometer, + and support for controllers and phone control. + It also has 902+ Lego Technic elements + This set was discontinued in 2022 with Lego promising app support through 2024." ### Mindstorms software - [ev3dev](https://www.ev3dev.org/) - "Debian Linux-based operating system that runs on several LEGO® MINDSTORMS compatible platforms including the LEGO® MINDSTORMS EV3 and Raspberry Pi-powered BrickPi." - -### EVT3 - -- [LEGO Mindstorms EV3 31313 Set](https://www.lego.com/de-lu/product/lego-mindstorms-ev3-31313) - - 601 pieces