1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-11-07 21:51:15 +01:00

Compare commits

...

28 Commits

Author SHA1 Message Date
tiyn
179a9d2426 added standalone entry for ublock origin 2025-11-06 05:35:42 +01:00
tiyn
c6e60f5cbc changing structure, expanding papis and docker entries 2025-11-06 02:34:53 +01:00
tiyn
e53fa8d207 nextcloud: added alternative to nesting 2025-10-31 13:16:56 +01:00
tiyn
dc4ea0c91b fixed typos in reverse tethering 2025-10-31 06:48:42 +01:00
tiyn
c292bea09b added various screen sharing apps/software 2025-10-31 06:44:44 +01:00
tiyn
6afc9f57ca added various new apps/software 2025-10-30 14:01:37 +01:00
tiyn
7b7bd7eb45 linux/hardware: improved battery section 2025-10-30 04:09:12 +01:00
tiyn
74352a8ea9 python: added tensorflow 2025-10-26 08:49:44 +01:00
tiyn
d2897b2acd python: virtual environments imrpoved 2025-10-26 08:43:34 +01:00
tiyn
0999571c2c added postgresql 2025-10-26 08:14:41 +01:00
tiyn
9bbc54cadf linux: added vim 2025-10-26 08:02:22 +01:00
tiyn
6325b9e1f8 fixed typo 2025-10-26 08:01:49 +01:00
tiyn
cf4d915b61 fixed typo 2025-10-26 07:57:16 +01:00
tiyn
b30fddb886 added radicale 2025-10-26 07:50:19 +01:00
tiyn
77020a5fae updated template 2025-10-26 07:48:05 +01:00
tiyn
7934fbbd0c added radicale 2025-10-26 07:47:51 +01:00
tiyn
ba4ec1ad29 added radicale 2025-10-26 07:47:14 +01:00
tiyn
b7a59dfa72 fixed false links to shell/console 2025-10-26 07:33:27 +01:00
tiyn
896bf3505f linux: added pdftk 2025-10-26 07:28:42 +01:00
tiyn
c6f2ca92df added libreoffice and changed office-suite structure 2025-10-26 07:15:07 +01:00
tiyn
e4c8d22266 thunderbird: improved CollectAddresses plugin 2025-10-26 06:49:07 +01:00
tiyn
a8c4167fcf thunderbird: added CollectAddresses plugin 2025-10-26 06:46:21 +01:00
tiyn
ad4b4fb1c6 ltex: added ltex change language tipps 2025-10-24 01:37:40 +02:00
tiyn
c411dbab05 thunderbird: hide/show message pane 2025-10-20 16:48:07 +02:00
tiyn
8142f3894f linux/xorg: fixed typo 2025-10-20 15:55:26 +02:00
tiyn
402e23d8c6 added presentation 2025-10-16 13:41:33 +02:00
tiyn
6d14cd78e1 windows: changed and improved structure 2025-10-16 03:26:15 +02:00
tiyn
cb7f284264 ventoy: added troubleshooting 2025-10-16 03:25:43 +02:00
51 changed files with 755 additions and 83 deletions

View File

@@ -4,9 +4,9 @@
## Setup
The /name/ program can be installed [/via GitHub/]().
The /name/ program can be installed from source as described [/on GitHub-the official website/]().
Alternatively many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
package /name/ in the `/package/`.
package /name/ in the `/package/` package.
The software can be setup via [Docker](/wiki/docker.md) with the [/docker name/ image]().
## Usage

View File

@@ -47,6 +47,8 @@ This section addresses various useful applications.
application that allows various small tweaks for the Android user interface.
- [SimpleMarkdown](https://f-droid.org/packages/com.wbrawner.simplemarkdown.free/) is another text
editor made for Markdown. It does work a bit better with a [NextCloud](/wiki/nextcloud.md).
- [Fossify](https://github.com/FossifyOrg) is a suite of open-source apps that among other include
apps like calendar, file-manager, phone, messages and more.
## Improve Security and Privacy

5
wiki/deskreen.md Normal file
View File

@@ -0,0 +1,5 @@
# Deskreen
[Deskreen](https://github.com/pavlobu/deskreen) is a tool for [Linux](/wiki/linux.md),
[Windows](/wiki/windows.md) and MacOS that allows to extend the screen of a device with Deskreen
installed to a device with any [web browser](/wiki/web_browser.md).

View File

@@ -10,7 +10,7 @@ Due to easy handling and reproducable environments it is a useful tool.
Another possibility is to try the official convenience script.
To get and execute it run the following in your
[terminal](/wiki/system_console.md).
[terminal](/wiki/linux/system_console.md).
```sh
curl -fsSL https://get.docker.com -o get-docker.sh
@@ -21,7 +21,7 @@ sudo sh get-docker.sh
This section addresses various features of Docker.
### virtualize Operating Systems
### Virtualize Operating Systems
Docker is a tool that can be used to virtualize different programs and softwares.
Especially for containerizing and virtualizing operating systems (mostly based on
@@ -69,3 +69,22 @@ the [web browser](/wiki/web_browser.md) or [VNC](/wiki/vnc.md).
For this
[jlesages baseimage-gui container](https://hub.docker.com/r/jlesage/baseimage-gui)
can be used.
## Troubleshooting
This section will focus on errors and the fixing of errors of docker.
### `Error saving credentials: 'Cannot autolaunch D-Bus without X11 $DISPLAY'`
As explained by
[gotam19 in a Docker forum post](https://forums.docker.com/t/docker-login-fails-with-error-message-saving-credentials-cannot-autolaunch-d-bus-without-x11-display/77789)
this error message only occurs on [Linux](/wiki/linux.md) when trying to login or pulling a Docker
image.
To fix it install [GPG](/wiki/linux/gpg.md) and the `pass`
[package](/wiki/linux/package_manager.md).
Afterwards running the following command should will perform the login to the Docker servers and
the error message should not come up again.
```sh
docker login
```

View File

@@ -32,7 +32,7 @@ Set the following ports in the `ports:` section.
```sh
#!/bin/sh
docker-compose down
docker pull vim alexta69/metube
docker pull alexta69/metube
docker-compose up -d
```

View File

@@ -1,6 +1,6 @@
# postgres
This is a [Docker](/wiki/docker.md) container for a postgresql database.
This is a [Docker](/wiki/docker.md) container for a [postgresql database](/wiki/postgresql.md).
The official container and documentation was made by
[Postgres](https://hub.docker.com/_/postgres).
The Docker container is mainly used in combination with other containers.

View File

@@ -1,6 +1,6 @@
# tomsquest - docker-radicale
This is a [Docker](/wiki/docker.md) container for a radicale CalDAV server.
This is a [Docker](/wiki/docker.md) container for a [Radicale](/wiki/radicale.md) server.
The official container and documentation was made by
[tomsquest](https://hub.docker.com/r/tomsquest/docker-radicale).
@@ -37,7 +37,7 @@ There are some special variables to set.
| Flag | Usage |
| ------------- | ---------------------------------------------------------------------- |
| `--read-only` | make radicale read-only, caldav can still be changed and used normally |
| `--read-only` | make Radicale read-only, caldav can still be changed and used normally |
### rebuild.sh

View File

@@ -60,8 +60,7 @@ The following add-ons increase the security or privacy.
- [Exclude pages from](http://www.jeffersonscher.com/gm/google-hit-hider/)
[search results](/wiki/search_engine.md)
- [Auto close YouTube ads](https://greasyfork.org/en/scripts/9165-auto-close-youtube-ads)
- [uBlock Origin](https://addons.mozilla.org/en-GB/firefox/addon/ublock-origin)
blocks unwanted content like ads.
- [uBlock Origin](/wiki/ublock_origin.md) is an ad blocker.
- [User-Agent Switcher and Manager](https://addons.mozilla.org/en-GB/firefox/addon/user-agent-string-switcher)
spoofs websites that try to gather information about your webbrowser.

View File

@@ -95,7 +95,7 @@ It will display the list of games inside the wishlist.
Identify the game that has been removed and is not shown in the wishlist
anymore.
Remember the `appid` of the game
Then run the following command inside the [console](/wiki/system_console.md) and
Then run the following command inside the [console](/wiki/linux/system_console.md) and
change `<appid>` accordingly.
```js

View File

@@ -6,7 +6,7 @@ displaying, creating and editing (raster) images.
## Usage
The following section addresses different uses ImageMagick.
For most of ImageMagicks features the [command-line interface](/wiki/system_console.md) can be used.
For most of ImageMagicks features the [command-line interface](/wiki/linux/system_console.md) can be used.
## Rotate an Image

34
wiki/libreoffice.md Normal file
View File

@@ -0,0 +1,34 @@
# LibreOffice
[LibreOffice](https://libreoffice.org/) is a free and open-source office suite for Windows and
Linux-based systems.
## Setup
The LibreOffice program can be installed from source as described
[on the official website](https://www.libreoffice.org/about-us/source-code/).
Alternatively many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
package LibreOffice in the `libreoffice` package.
## Usage
This section addresses the usage of LibreOffice.
### Enable/Disable Dark Mode
To set the dark mode open `Settings` by the `Tools` tab, select `LibreOffice` and `Appearance` and
select the correct theme for `LibreOffice Themes`.
Sometimes - especially on [Linux systems](/wiki/linux.md) using [Wayland](/wiki/linux/wayland.md) -
the automatic recognition may not work and the theme has to be set manually.
## Troubleshooting
This section will focus on errors and the fixing of errors of /name/.
### LibreOffice Not Showing Up on First Start
When first starting LibreOffice may appear not to start.
This is because problems with hardware acceleration can occur on some systems.
It can starting the software in safe mode, navigate to the `Settings` by the `Tools` tab.
Then select `LibreOffice` and `View` and remove the check in `Use hardware acceleration`.
Afterwards LibreOffice can be closed and reopened without selecting the safe mode.

View File

@@ -25,6 +25,6 @@ The Bluetooth features can be managed by different types of front-ends.
- `bluetoothctl` is a command-line interface included in the `bluez-utils`
package
- `bluetuith` can be used as a bluetooth manager with a
[terminal](/wiki/system_console.md) user interface.
[terminal](/wiki/linux/system_console.md) user interface.
It is included in a package of the same name, that needs to be installed
before usage.

31
wiki/linux/gnirehtet.md Normal file
View File

@@ -0,0 +1,31 @@
# Gnirehtet
[Gnirehtet](https://github.com/Genymobile/gnirehtet) provides a reverse tethering setup for
[Android](/wiki/android.md) [smartphones](/wiki/smart_device.md#smartphones-and-tablet-computers).
## Setup
Many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
package Gnirehtet in the `gnirehtet` package.
## Usage
This section addresses the usage of Gnirehtet.
## Setting Up and Running Reverse Tethering
The following command can be used to setup the reverse tethering and also run it.
For it to work the mobile device has to enable `USB Debugging` so Gnirehtet can automatically be
installed (which is internally done using `adb`).
```sh
gnirehtet run
```
Alternatively and only after being set up correctly the reverse tethering can be started and
stopped with the corresponding two commands that follow.
```sh
gnirehtet start
gnirehtet stop
```

View File

@@ -6,7 +6,8 @@ It is used to savely encrypt and decrypt messages or files using assymetric encr
## Setup
On most linux distributions GPG can be installed with the `gnupg` package.
On most linux distributions GPG can be installed with the `gnupg` package.
Sometimes it is also called `gnupg2`.
## Usage

View File

@@ -10,14 +10,30 @@ For non-Linux specific or general topics in hardware see the
The battery of a notebook can be inspected by using the `upower` command.
To use it the tool needs to be installed.
In most [Linux](/wiki/linux.md) distributions this is bundled in a package of the same name.
A usage example is shown in the following command.
It will show the state, voltage, percentage and many other information about a given battery.
This section is based on [a video by eKiwi](https://youtu.be/t9KMFDTb79E) which addresses battery
health.
To find out about a battery, its name needs to be known, which can be done using the following
command.
```sh
upower -i /org/freedesktop/UPower/devices/battery_BAT0
upower -e
```
Alternatively `acpi` can be used to achieve the same.
Afterwards different values like the state, voltage, percentage and many other can be displayed.
Additionally it will show the original capacity (`energy-full-design`) and the current capacity
(`energy-full`), which can be used to determine the health of the battery.
The following is an example command where `<battery-name>` is the name of the batter returned from
the previous step.
This might by similar to `/org/freedesktop/UPower/devices/battery_BAT0`.
```sh
upower -i <battery-name>
```
Alternatively `acpi` can be used to achieve similar but less information.
It will show the state, the percentage and the time to load or unload.
For this run the following command.
```sh

View File

@@ -1,7 +1,7 @@
# Khal
[Khal](https://github.com/pimutils/khal) is a calendar you can use in your
[terminal](/wiki/system_console.md).
[terminal](/wiki/linux/shell.md).
You can sync it with [vdirsyncer](vdirsyncer.md)
## Setup

View File

@@ -1,7 +1,7 @@
# Khard
[Khard](https://github.com/lucc/khard) is a adressbook that runs in your
[terminal](/wiki/system_console.md).
[terminal](/wiki/linux/system_console.md).
You can sync it with [vdirsyncer](vdirsyncer.md).
## Setup

View File

@@ -1,6 +1,6 @@
# NeoMutt
Neomutt is a mail program that runs in your [terminal](/wiki/system_console.md).
Neomutt is a mail program that runs in your [terminal](/wiki/linux/system_console.md).
It can be easily configured using mutt-wizard.
## Setup

View File

@@ -8,7 +8,7 @@ It is used to set up [Wi-Fi](/wiki/linux/wi-fi.md).
NetworkManager can be installed with the `networkmanager` package on most linux
distributions which provides daemon aswell as `nmcli` a command line interface
and `nmtui` a [terminal](/wiki/system_console.md) user interface for
and `nmtui` a [terminal](/wiki/linux/system_console.md) user interface for
configuration.
Additionally `nm-connection-editor` can be installed for a graphical user
interface.

View File

@@ -84,7 +84,7 @@ The command-line output will show the address to reach the service.
papis serve
```
### Create a BibTeX file
### Export Library to BibTeX file
A BibTeX file containing all the entries of all the libraries can be created by running the
following command.
@@ -99,7 +99,7 @@ papis export --all --format bibtex --out lib.bib
The cache of Papis can be cleared by running the following command.
```sh
papis --cc
papis cache clear
```
### Import Entries from a BibTeX File
@@ -126,11 +126,33 @@ The path for that can be found in the [config file](#configuration).
mv tmp-db/* /path/to/your/library/folder/
```
Finally the cache needs to be cleared for Papis to display the new entries correctly.
Finally the cache needs to be cleared
[as described in the corresponding section](#clearing-the-cache) for Papis to display the new
entries correctly.
```sh
papis --cc
### Changing the Default Names of the Library
The changing of the default names is done by changing the [config file](#configuration).
The following lines are an example which will change the default file, folder and reference names.
```txt
add-file-name = {doc[author_list][0][family]}_{doc[year]}_-_{doc[title]}
add-folder-name = {doc[author_list][0][family]}_{doc[year]}_-_{doc[title]}
ref-format = {doc[author_list][0][family]}{doc[year]}
```
Finally the cache needs to be [cleared](#clearing-the-cache) for Papis to display the new entries
correctly.
Doing this the existing entries, its files, folders and references will not be renamed.
To achieve a factual renaming of all the entries in a library,
[export the library](#export-library-to-bibtex-file), remove all entries from within it and then
[import the entries](#import-entries-from-a-bibtex-file) into it again.
### Adding Files to Existing Entry
To add files - for example PDF files to an existing entry run the following command.
`<file>` is the path to the (PDF-)file and `<library>` is the name of the library to add to.
After running the command a [TUI](comm) will open to select the entry to which the file will be
added.
```sh
papis addto --files <file> <library>
```

36
wiki/linux/pdftk.md Normal file
View File

@@ -0,0 +1,36 @@
# pdftk
[pdftk](https://gitlab.com/pdftk-java/pdftk) is a port of
[the original PDFtk](https://www.pdflabs.com/tools/pdftk-server/) which is a
[command-line](/wiki/linux/shell.md) tool for scripting or processing PDFs.
## Setup
The pdftk program can be installed from source as described
[on GitLab](https://gitlab.com/pdftk-java/pdftk).
Alternatively many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
package pdftk in the `pdftk`.
## Usage
This section addresses the usage of pdftk.
### Ommit pages at the Start or End of a PDF
pdftk can be used to ommit pages at the start or end of a pdf.
This is done by the following command.
`<input-file>` is the input file while `<output-file>` is the path the newly generated file is
saved to.
`<start>` is the first page to include in the output PDF document while `<end>` is the last one.
```sh
pdftk <input-file> cat <start>-<end> output <output-file>
```
The following command saves the content of the input file `skript.pdf` from the second to the last
page to the output file `skript-new.pdf`.
```sh
pdftk skript.pdf cat 2-end output skript-new.pdf
```

View File

@@ -32,6 +32,6 @@ playerctl previous
## Using Hotkeys
Hotkeys can be more accessible than typing the commands to start or stop music
in the [terminal](/wiki/system_console.md).
in the [terminal](/wiki/linux/system_console.md).
With [SXHKD](/wiki/linux/sxhkd.md#setting-a-hotkey) commands from the CLI can
be set to a hotkey.

View File

@@ -2,6 +2,7 @@
A shell is a command-line interpreter that provides a command-line interface to
interact with the many unix-like system.
It is usually used in the [system console](/wiki/linux/system_console.md)
## Unix Shells

View File

@@ -7,7 +7,7 @@ Notable works of Suckless are the following.
- [dwm](https://dwm.suckless.org/) is a window manager
- [ii](https://tools.suckless.org/ii/) is an IRC client
- [slock](https://tools.suckless.org/slock/) is a screen locker
- [st](https://st.suckless.org/) is a [terminal](/wiki/system_console.md)
- [st](https://st.suckless.org/) is a [terminal](/wiki/linux/system_console.md)
Additionally to this Suckless maintains a list of free and open-source software that is endorsed by
Suckless.

View File

@@ -3,7 +3,7 @@
A system console is used for entering data into a computer and communicating
with it.
It mostly uses a keyboard for input aswell as a screen for displaying results.
Additionally a terminal is used.
The word system console is often used synonymous with the word terminal.
## Terminals

View File

@@ -1,7 +1,7 @@
# Todoman
[todoman](https://github.com/pimutils/todoman) is a todolist you can use in your
[terminal](/wiki/system_console.md).
[terminal](/wiki/linux/system_console.md).
You can sync it using [vdirsyncer](vdirsyncer.md)
## Setup

27
wiki/linux/vim.md Normal file
View File

@@ -0,0 +1,27 @@
# VIM
[VIM](https://www.vim.org/) is a highly configurable text editor.
There are various forks off it with the most popular being [Neovim](https://neovim.io/).
This entry only addresses VIM but due to the similarities of the forks it still can be drawn on for
them.
Differences of forks to the original VIM will be addressed in specific entries for the forks.
## Setup
The VIM program can be installed from source as described
[on the official website/](https://www.vim.org/download.php).
Alternatively many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
package VIM in the `vim` package.
## Usage
This section addresses the usage of VIM.
### Manage Folding
This section is based on a
[guide from Vim From Scratch](https://www.vimfromscratch.com/articles/vim-folding).
VIM can hide chunks of text which is called folding.
The basic usage is as follows.
`zf` marks a piece of text foldable and immediately folds.
`zo` opens up a fold - so it unfolds it - and `zc` closes a fold - so it folds.

View File

@@ -2,3 +2,16 @@
[Wayland](https://wayland.freedesktop.org/) is a replacement for the
[X11 window system](/wiki/linux/x_window_system.md).
## Usage
This section addresses the usage of Wayland.
### Display wlroots Screens
To list all the attached screens and displays the following command can be used.
For this to work the compositor needs to use wlroots.
```sh
wlr-randr
```

27
wiki/linux/wayvnc.md Normal file
View File

@@ -0,0 +1,27 @@
# wayvnc
[wayvnc](https://github.com/any1/wayvnc) is a VNC server for [Linux](/wiki/linux.md) systems using
[Waylands](/wiki/linux/wayland.md) compositors using wlroots.
To use wayvnc the system with the server has to be on the same network as the client.
This is also explained in the [screen sharing entry](/wiki/screen-sharing.md).
## Setup
Many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
package wayvnc in the `wayvnc` package.
## Usage
This section addresses the usage of wayvnc.
### Starting and Running
The following command can be used to start the server.
`<ip>` describes the IPs the server can be reached by (for example `0.0.0.0`) and `<screen>` is a
placeholder for the screen that will be shared (for example `HDMI-A-1`).
The name of the screen can be retrieved by using
[wlroots](/wiki/linux/wayland.md#display-wlroots-screens).
```sh
wayvnc <ip> --output=<screen> --render-cursor
```

View File

@@ -101,7 +101,9 @@ If there are two main layouts are used then the following command can be used to
them.
Change `<layout 1>` and `<layout 2>` according to preferences.
`setxkbmap -query | grep -q '<layout 1>' && setxkbmap <layout 2> || setxkbmap <layout 1>
```sh
setxkbmap -query | grep -q '<layout 1>' && setxkbmap <layout 2> || setxkbmap <layout 1>
```
Using [SXHKD](/wiki/linux/sxhkd.md) a hotkey can be setup to seamlessly transition between the two
layouts.

81
wiki/ltex.md Normal file
View File

@@ -0,0 +1,81 @@
# LTeX
[LTeX](https://valentjn.github.io/ltex/index.html) is an offline grammar checking tool that can use
the Language Server Protocol - short LSP.
It is supports various [Markup languages](/wiki/markup_language.md) like LaTeX and Markdown.
## Setup
LTeX can be installed on various editors and officially supports VS Code, Vim and Neovim.
For Neovim the completion tool `coc` is recommended, but Neovims own lspconfig can be used aswell.
## Usage
This section addresses the usage of LTeX.
### Switching Languages Inside a File
The language is normally static for all file types.
It can however be changed using magic comments as explained in
[the official documentation](https://valentjn.github.io/ltex/advanced-usage.html].
### Switching Languages in Markdown
At the start of a file the following lines - called YAML front matter - can be used to change the
language for the whole file.
In the following it is changed to german (`de-DE`) but this can be changed.
```md
---
lang: de-DE
---
```
The following magic comment can be used to change the language from the place of the comment
onwards.
```md
<!-- LTeX: language=de-DE -->
```
### Switching Languages in LaTeX
The following magic comment can be used to change the language from the place of the comment
onwards.
```tex
% LTeX: language=de-DE
```
However this can be difficult when only using a few words.
Another easy and generally recommended way to change the language inside LaTeX documents is using
the babel package.
In the following examples `<language>` is the language indicator that babel uses (for example
`english`, `american`, `ngerman`).
At the start of the document the language can be changed for the rest of the file using the
following command.
```tex
\usepackage[<language>]{babel}
```
Additionally the following command can be used to change the language from that place onwards.
```tex
\selectlanguage{<language>}
```
Using the following command the language can be changed just for the text that is subsituted for
`<text>`.
```
\foreignlanguage{<language>}{<text>}
```
Finally an otherlanguage environment can be used to achieve the same as shown in the following
example.
```tex
\begin{otherlanguage}{<language>}<text>\end{otherlanguage}
```

View File

@@ -20,7 +20,7 @@ If you don't have a built-in web interface for your mail-server you need some
software to access your mails.
And even if you have it can be useful to keep your mails synced locally on your pc.
- [Neomutt](linux/neomutt.md) is a [terminal-based](/wiki/system_console.md)
- [Neomutt](linux/neomutt.md) is a [terminal-based](/wiki/linux/system_console.md)
mail client for linux, that has a simple interface.
- [Thunderbird](/wiki/thunderbird.md) is a free and open source mail client which is cross
platform.

View File

@@ -2,8 +2,18 @@
A markup Language is way to encode text so that it has great amounts of structure and formatting.
The most common markup languages are [HTML](#html), Markdown, LaTeX and [XML](#xml).
Markup languages can be used for [note-taking](/wiki/note-taking.md).
## HTML
## Grammar Checking
An often used grammar and spell checking tool that supports many markup languages is
[LTeX](/wiki/ltex.md).
## Different languages
This section addresses various markup languages and their usages.
### HTML
HTML is a markup language that is mostly used in the internet via the hypertext system and accessed
via [web browsers](/wiki/web_browser.md).
@@ -13,6 +23,6 @@ An easy way to do the latter one is a validation service.
One of the most used ones is the
[Markup Validation Service by W3C](https://validator.w3.org/#validate_by_input).
## XML
### XML
XML is a markup language often used together with [RSS Feeds](/wiki/rss.md).

View File

@@ -18,3 +18,11 @@ This section addresses various features of NextCloud.
You can access ownCloud via WebDAV with the link
`https://<nextcloud instance>/remote.php/dav/files/<user>/<path to folder or file>`.
### Nesting Nextcloud Data of Multiple Servers
By default it is not possible for one servers files to be saved to the folder structure that is
used for another server or to nest data from two or more servers within each other.
This however can be conveniently avoided by using symbolic links
(for example [symbolic links](/wiki/linux/shell.md#symbolic-links-using-ln) in
[Linux](/wiki/linux.md)), which are not by default synchronized to NextCloud.

View File

@@ -6,7 +6,7 @@
## Setup
The software can be setup via [Docker](/wiki/docker.md) with a
[terminal](/wiki/system_console.md) user interface program for nginx and
[terminal](/wiki/linux/system_console.md) user interface program for nginx and
certbot, which is called nginx-certbot-docker-tui or short ncdt.
Alternatively the standalone [nginx image](./docker/nginx.md) can be

15
wiki/note-taking.md Normal file
View File

@@ -0,0 +1,15 @@
# Note-taking
Note-taking describes the practice of recording information.
There are many different ways of setups for note-taking.
## Software
The following list shows various ways of digital note-taking.
- [saber](https://github.com/saber-notes/saber) is a cross-platform app - available for
[Android](/wiki/android.md), [Windows](/wiki/windows.md), MacOS and [Linux](/wiki/linux.md).
It is mainly used for handwriting notes and annotating PDFs and images.
- [Markup](/wiki/markup_language.md) languages like Markdown or LaTeX can be used to type notes.
An easy template that combines the simplicity of Markdown and the features of LaTeX is
[the Eisvogel Panoc-Latex-Template](https://github.com/Wandmalfarbe/pandoc-latex-template).

20
wiki/office_suite.md Normal file
View File

@@ -0,0 +1,20 @@
# Office Suite
An office Suite are bundled programs that usually include productivity tools like word processing,
spreadsheet editing, presentations aswell as e-mail and calendar software.
## Programs
There are various office suites.
The following is a list of programs that are popular.
- Microsofts Office is arguably the original office suite.
It includes Microsofts Excel, Word, Powerpoint and more for [Windows](/wiki/windows.md)
- [LibreOffice](/wiki/libreoffice.md) is a free and open-source office suite for Windows and
Linux-based systems.
LibreOffice can have problems with hardware-acceleration.
If it doesn't start due to it being enabled, start LibreOffice in safe mode and disable it.
- [Apaches OpenOffice](https://www.openoffice.org/) is an open-source office suite for Windows
and [Linux](/wiki/linux.md).
Most of the time this suite is not used anymore in favor for LibreOffice due to lackluster
development.

59
wiki/postgresql.md Normal file
View File

@@ -0,0 +1,59 @@
# PostgreSQL
[PostgreSQL](https://www.postgresql.org/) is a free and open-source relational database managment
system.
## Setup
The software can be setup via [Docker](/wiki/docker.md) with the
[postgres image](/wiki/docker/postgres.md).
## Usage
This section addresses the usage of PostgreSQL.
### Basic Usage
This section describes the basic usage and is based on a
[blog entry on Neon](https://neon.com/postgresql/postgresql-administration/postgresql-show-tables).
The following command can be used to connect to the database and is needed to be run first.
`<user>` is the username and `<database>` the name of the database set up for the database.
```sh
psql -U <user> -d <database>
```
Alternatively the previous command can be run without the `-d` flag and the following command can
be run afterwards to change the current database.
```sh
\c <database>
```
Afterwards the following command can be used to show all tables in the database.
```sh
\dt
```
By appending a `+` additional information can be shown
```sh
\dt+
```
Similar to this the following command can be used to show details of a specific table `<table>`.
```sh
\d <table>
```
Here a `+` can also be appended to gain more information.
```sh
\d+ <table>
```
Finally and most importantly classic SQL statements - for example `SELECT`-statements - can be used
too when being logged in to a database.

17
wiki/presentation.md Normal file
View File

@@ -0,0 +1,17 @@
# Presentation
In a presentation a speaker conveys information to an audience.
## Presentation Tools
Presentation tools are often used to support the presentation.
The following is a list of these tools.
- PowerPoint is a tool often used for creation and presenting in [Windows](/wiki/windows.md).
It can be used on dual screen setup to give the presenter an additional slide for comments.
- PDF files can easily be used for presenting cross-platform but often used for
[Linux-based operating systems](/wiki/linux.md).
They can easily be generated by LaTeX.
- [pympress](https://github.com/Cimbali/pympress) is a cross-platform tool for the presentation via
PDF files.
It is also usable for dual screen setups.

View File

@@ -6,7 +6,10 @@ language.
## Setup
You can install python using various ways.
With `pyenv` you can switch between different versions.
### pyenv Installation
With [pyenv](https://github.com/pyenv/pyenv) you can easily switch between different versions.
Install `pyenv` and `pyenv-virtualenv` and proceed with adding
```txt
@@ -73,6 +76,43 @@ python3.9 --version
To automatically create a `requirements.txt` of your current project, navigate
to it and run `pipreqs` (install it if not already done).
### Using Virtual Environments
[venv](https://docs.python.org/3/library/venv.html) can be used to create a virtual environment.
```
python -m venv <project-path>
```
When inside the project folder the virtual environment can then be acivated by running the
following command.
```sh
source ./bin/activate
```
And it can be disabled by running the following.
```sh
deactivate
```
If pyenv is installed as described in [the setup section](#pyenv-installation) pyenv can be used to
manage virtual environments.
However pyenv won't create environment directories like venv does.
To fix this the following command can be used to simply link them both as described
[on StackOverflow by Jakob Guldberg Aaes](https://stackoverflow.com/questions/30407446/pyenv-choose-virtualenv-directory).
For this to work a virtual environment already has to be set up using venv as described before.
`<local-venv>` is the full path of the local virtual environment just created and `<venv-name>` the
name the venv should have in pyenv.
```sh
ln -s <local-venv> ~/.pyenv/versions/<venv-name>
```
Using this setup the python version will automatically change when navigating into the project
directory.
## Modules
There are various modules and package managers to install these for python like
@@ -87,7 +127,9 @@ If it doesnt work the packages can be installed globally using `pip` together wi
`--break-system-packages` flag.
This flag is to be used with care.
### Pytorch
### PyTorch
This section addresses the [PyTorch module](https://pytorch.org/).
#### Setup Pytorch with Cuda for GPU usage
@@ -107,3 +149,17 @@ torch.cuda.is_available()
```
This should give back `True`.
### TensorFlow
This section addresses the [TensorFlow module](https://www.tensorflow.org/).
#### Basic Usage of TensorFlow
The basic usage of TensorFlow is described in
[the official guide](https://www.tensorflow.org/guide/keras/serialization_and_saving).
Additionally it is noted that the dataset may have to be shuffled manually as described in a
[comment by Y. Luo on StackOverflow](https://stackoverflow.com/questions/50184144/shuffle-in-the-model-fit-of-keras).
Finally
[a Medium blog post](https://medium.com/@danielonugha0/how-to-change-the-learning-rate-of-tensorflow-b5d854819050)
describes how to easily change the learning rate.

86
wiki/radicale.md Normal file
View File

@@ -0,0 +1,86 @@
# Radicale
[Radicale](https://radicale.org/v3.html) is a free and open-source CalDAV and CardDAV server.
## Setup
The software can be setup via [Docker](/wiki/docker.md) with the
[tomsquest](/wiki/docker/tomsquest_-_docker-radicale.md).
## Usage
This section addresses the usage of Radicale.
### Push iCal File to Radicale
This section is based on a
[Reddit comment by jbnu1l](https://www.reddit.com/r/selfhosted/comments/jbnu1l/how_would_i_push_an_ics_to_a_caldav_server/).
To push an iCal file to the Radicale server the following command can be used.
`<user>` and `<password>` are the username and password for Radicale, while `<radicale-calendar>`
is the link to the calendar as found on the interface of Radicale.
`<ical-file>` is the path of the iCal file.
```sh
curl -u <user>:<password> -X PUT <radicale-calendar> --data-binary @<ical-file>
```
Similar to this a remote iCal file can be pushed to a Radicale server.
For this it is recommended to use a small python script like the following.
```py
#!/usr/bin/env python3
import requests
from icalendar import Calendar
CALDAV_URL = "<radicale-calendar>/"
USERNAME = "<user>"
PASSWORD = "<password>"
ICS_SOURCE_URL = "<link to ics file>"
def upload_event(event, base_url, auth):
uid = str(event.get("UID"))
if not uid:
print("Event without UID skipped")
return
safe_uid = "".join(c if c.isalnum() or c in "-_" else "_" for c in uid)
event_url = f"{base_url}{safe_uid}.ics"
cal = Calendar()
cal.add("VERSION", "2.0")
cal.add("PRODID", "-//Custom Import//DE")
cal.add_component(event)
data = cal.to_ical()
head = requests.head(event_url, auth=auth)
exists = head.status_code == 200
resp = requests.put(event_url, data=data, auth=auth, headers={
"Content-Type": "text/calendar; charset=utf-8"
})
if resp.status_code in (200, 201, 204):
action = "Update" if exists else "New"
print(f"Done {action}: {uid}")
else:
print(f"Error for UID {uid}: {resp.status_code} {resp.text}")
def main():
print(f"Downloading ICS-file from {ICS_SOURCE_URL} ...")
r = requests.get(ICS_SOURCE_URL)
r.raise_for_status()
gcal = Calendar.from_ical(r.content)
for component in gcal.walk():
if component.name == "VEVENT":
upload_event(component, CALDAV_URL, (USERNAME, PASSWORD))
if __name__ == "__main__":
main()
```
By using this and a cronjob a remote calendar can be synced to a Radicale calendar.

19
wiki/screen-sharing.md Normal file
View File

@@ -0,0 +1,19 @@
# Screen-Sharing
Screen-sharing describes the practice of remotely accessing or displaying the contents of a screen
or the whole desktop.
## Software
The following software options make it possible to share the screen of a device to another device
in the same network.
For this they have to be connected to the same (WiFi) network or be [tethered](/wiki/tethering.md).
- [Deskreen](/wiki/deskreen.md) is a tool for [Linux](/wiki/linux.md), [Windows](/wiki/windows.md)
and MacOS that allows to extend the screen of a device with Deskreen installed to a device with
any [web browser](/wiki/web_browser.md).
- [Weylus](https://github.com/H-M-H/Weylus) is an alternative to Deskreen and also makes it
possible to display the screen of a [Linux](/wiki/linux.md), [Windows](/wiki/windows.md) or MacOS
system on a [web browser](/wiki/web_browser.md).
- [wayvnc](/wiki/linux/wayvnc.md) is a VNC server for [Linux](/wiki/linux.md) systems using
[Waylands](/wiki/linux/wayland.md) compositors using wlroots.

View File

@@ -1,6 +1,8 @@
# Screen Capture
Screen capture describes the process of recording a computer screen.
For the remotely displaying the screen to another device the
[corresponding entry](/wiki/screen_sharing.md) contains tips and tricks.
## Screen Capture options

View File

@@ -19,3 +19,5 @@ export or backup messages.
MacOS.
- [sigtop](https://github.com/tbvdm/sigtop) is a utility that allows exporting messages and
attachments by communicating with a Signal Desktop instance on the same device.
- [Molly IM](https://github.com/mollyim/mollyim-android) is a security-focussed fork of Signal for
[Android](/wiki/android.md).

18
wiki/tethering.md Normal file
View File

@@ -0,0 +1,18 @@
# Tethering
Tethering describes the sharing of a
[mobile device's](/wiki/smart_device.md#smartphones-and-tablet-computers) cellular data connection
with one or more connected computers.
Tethering can be achieved by multiple options including [Bluetooth](/wiki/bluetooth.md) and WiFi
and is usually available in the settings of [Android](/wiki/android.md) and iOS mobile devices.
## Reverse Tethering
Reverse Tethering describes the sharing of a computers network with a
[mobile device](/wiki/smart_device.md#smartphones-and-tablet-computers).
For [Linux](/wiki/linux.md) this can be achieved using [Gnirehtet](/wiki/linux/gnirehtet.md).
When using USB- and Reverse Tethering make sure that the host machine does not recognize the USB
connection towards the mobile device as eithernet connection.
Otherwise none of the two devices will be able to connect to local or internet pages.

View File

@@ -22,6 +22,9 @@ The following is a list of useful extensions for Thunderbird.
- "*cloud - FileLink for Nextcloud and ownCloud" is an extension which allows the easy creation and
sharing of file links to a custom [Nextcloud](/wiki/nextcloud.md) or
[ownCloud](/wiki/owncloud.md) instance.
- ["CollectAddresses"](#collect-all-addresses-of-mail-account) can be used to save all addresses in
an account or folder to an address book.
This is achieved by right-clicking the account or a folder within it.
- "Dark Reader" is an extension similar to
[Firefox'](/wiki/firefox.md#list-of-useful-firefox-add-ons) "Dark Reader" extension that adds
a dark mode for websites.
@@ -29,14 +32,14 @@ The following is a list of useful extensions for Thunderbird.
- "Signature Switch" is an extension which adds different signatures for different purposes and
allows easy and automatic switching between them.
### Hide Completed Tasks
### Hide/Show Completed Tasks
Under the tasks tab it is possible to show only incomplete tasks aswell as other specific tasks
using the selection on the left hand site of the screen.
Alternatively complete tasks can be hidden by selecting "View" in the top bar, then "Tasks" and
finally "Incomplete Tasks".
### Hide Local Folders
### Hide/Show Local Folders
This section is based on a
[forum post by Mapenzi](https://www.thunderbird-mail.de/forum/thread/92315-115-lokale-ordner-ausblenden/?postID=518346#post518346).
@@ -48,13 +51,22 @@ Message`-button and selecting `Hide Local Folders`.
The order of the folders of an account can be reset by right-clicking the account in the Mail-tab
and then selecting `Reset Folder Order`.
### Hide Default Address Book
### Hide/Show Default Address Book
This section is based on a
[blog post by Attiks](https://tips.attiks.com/2018/05/03/thunderbird-hide-default-address-book).
By default thunderbird uses an address book called `Personal Address Book`.
By default Thunderbird uses an address book called `Personal Address Book`.
When using a remote address book which is synced the default address book is often not needed.
It can be hidden by selecting `Edit` (if the top bar is not visible `Alt` can be pressed to display
it), `Settings` and `Config Editor...`.
In the config editor search for the value `ldap_2.servers.pab.dirType` and set the value from the
default (which is `101`) to `-1` to hide the default address book.
### Hide/Show Message Pane
This section is based on a
[Mozilla Support Question by hgosnell](https://support.mozilla.org/en-US/questions/1122496).
By default Thunderbird will show a preview for mails on the right hand side when selecting it.
This is called the message pane.
It can be hidden by drag and drop or by pressing the F8-key.
Using the same key it can also be shown again.

30
wiki/ublock_origin.md Normal file
View File

@@ -0,0 +1,30 @@
# uBlock Origin
[uBlock Origin](https://ublockorigin.com) is a free and open-source [browser](/wiki/web_browser.md)
extension fof ad blocking.
It is available for most browsers like [Firefox](/wiki/firefox.md), its derivatives like
[Zen](/wiki/zen_browser.md), Chrome, and Chromium based browsers like Edge, Brave and many more.
## Setup
The setup of the [browser](/wiki/web_browser.md) extension of uBlock Origin is based on the browser
used and can vary slightly.
For [Firefox](/wiki/firefox.md) it can be found in the
[addon page](https://addons.mozilla.org/en-GB/firefox/addon/ublock-origin) and many other browser
follow this pattern.
## Troubleshooting
This section will focus on errors and the fixing of errors of uBlock Origin.
### YouTube Videos Do Not Load
In general [YouTube](/wiki/youtube.md) videos can be viewed with uBlock Origin removing the
advertisements.
It is however possible that is also blocks YouTube from loading the videos altogether.
Most of the times this can be fixed easily as explained in a
[Reddit post by orestaras](https://www.reddit.com/r/firefox/comments/1hipkzh/ublock_origin_no_longer_works_on_youtube).
Open the dashboard in the extension menu.
Under the tab `Filter List`, extend `Built-in` and uncheck `uBlock filters - Quick fixes`.
Afterwards reload the page containing the YouTube video and it should load normally and without
advertisements.

View File

@@ -23,9 +23,28 @@ ventoy -i /dev/sdg
## Usage
This section addresses the usage of Ventoy.
### Adding and Removing Boot Images
The most important steps to use a Ventoy stick is the adding and removal of image files to the
stick.
Unlike the usual flashing that is for example shown in the
[Linux ISO Image entry](/wiki/linux/iso_image.md) `.iso` or other image files can just be moved or
copied to the empty partition of a Ventoy installed USB stick.
Using this partition the image files can also be removed.
## Troubleshooting
This section will focus on errors and the fixing of errors of ventoy.
### `Error: Verification failed: (0x1A) Security Violation`
This section is based on a
[StackExchange comment by Pablo Bianchi](https://askubuntu.com/questions/1456460/verification-failed-0x1a-security-violation-while-installing-ubuntu).
When the message `Error: Verification failed: (0x1A) Security Violation` is shown after booting the
Ventoy stick it can easily be fixed.
For this press `OK`, then press any key to perform MOK management.
Select `Enroll key from disk`, `VTOYEFI` and `ENROLL_THIS_KEY_IN_MOKMANAGER.cer`.
Afterwards select `Continue`, `Yes` and finally reboot by selecting `Reboot`.
After performing these steps the Ventoy key should work as usual.

View File

@@ -5,6 +5,6 @@ desktop of a system.
It is based on the Remote Frame Buffer protocoll which is also named RFB.
VNC is especially used for accessing graphical applications or
[terminals](/wiki/system_console.md) of a remote server,
[terminals](/wiki/linux/system_console.md) of a remote server,
[dockerized](/wiki/docker.md#dockerize-a-graphical-application) or virtualized
program.

View File

@@ -3,9 +3,25 @@
[Windows](https://windows.com/) is an operating system developed by
[Microsoft](https://www.microsoft.com/).
## Telemetry
## Setup
Windows has a `Windows Compatibility Telemetry` process running in the
The files and programs needed for the installation of Windows 11 are available on the
[Windows website](https://www.microsoft.com/de-de/software-download/windows11).
### Bypass Network Setup During Installation
For Windows 10 to bypass the setup of a network during the installation process `Shift` and `F10`
need to be pressed.
By putting in `oobe/bypassnro` into the command line and pressing `Enter` the computer will restart
and will display an option to bypass the network setup during the corresponding step.
## Usage
This section addresses the usage of Windows.
### Disable Telemetry
Windows 10 has a `Windows Compatibility Telemetry` process running in the
background.
To disable it follow this
[guide](https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/permanently-disabling-windows-compatibility/6bf71583-81b0-4a74-ae2e-8fd73305aad1):
@@ -16,9 +32,10 @@ To disable it follow this
- Look for the `Microsoft Compatibility Appraiser` on the `Application Experience`
folder, right-click it and select `Disable`.
## Make Windows compatible with UTC
### Make Windows Compatible with UTC
Making Windows use UTC can be useful for dual-boot systems.
Making Windows 10 use UTC can be useful for dual-boot systems that also feature
[Linux-based operating systems](/wiki/linux.md).
This can be done by running the following command in the Windows command prompt.
```txt
@@ -26,14 +43,3 @@ reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation
```
Disabling of UTC time is done with the same command with a `0` instead of a `1`.
## Installation
This section focusses on topics that are related to the installation of Windows.
### Bypass Network Setup During Installation
To bypass the setup of a network during the installation process `Shift` and `F10` need to be
pressed.
By putting in `oobe/bypassnro` into the command line and pressing `Enter` the computer will restart
and will display an option to bypass the network setup during the corresponding step.

View File

@@ -1,23 +0,0 @@
# Work
Work is a human activity that supports the needs of the wider community.
It generally is viewed as contributing towards goods or services in an economy.
## Programs
There are various programs that can be useful in a work setting.
The following are program types that are generally considered useful.
- Office suites are an assortment programs that are similar to Microsofts Office suite.
- The original office programs are Microsofts Excel, Word, Powerpoint and more for
[Windows](/wiki/windows.md)
- [Apaches OpenOffice](https://www.openoffice.org/) is an open-source office suite for Windows
and [Linux](/wiki/linux.md).
- [LibreOffice](https://libreoffice.org/) is a free and open-source office suite for Windows and
Linux-based systems. LibreOffice can have problems with hardware-acceleration.
If it doesn't start due to it being enabled start LibreOffice in safe mode and disable it.
- Time-tracking software includes programs that allow its user to track the time they spent working
on a specific task or project.
- [Watson](/wiki/linux/watson.md) is a free and open-source time-tracker that uses
the [command-line interface](/wiki/linux/shell.md).
It is designed for Linux-based systems.