check the default web browser using
xdg-settings --list
xdg-settings get default-web-browser
echo $BROWSER| `.tool-versions` | |
| ``` | |
| python anaconda3-2021.11 | |
| ``` | |
| create a `.local_zshrc` file | |
| ``` | |
| # >>> conda initialize >>> | |
| # !! Contents within this block are managed by 'conda init' !! |
check the default web browser using
xdg-settings --list
xdg-settings get default-web-browser
echo $BROWSER| # find out your keyboard usb device | |
| $ lsusb | |
| ... | |
| Bus 001 Device 007: ID feed:1203 kb68 kb68 | |
| ... | |
| $ sudo su | |
| $ echo enabled > /sys/bus/usb/devices/usb7/power/wakeup | |
| # Assuming you have your locale set to UTF-8 (see locale output), this works well to recognize invalid UTF-8 sequences: | |
| grep -axv '.*' file.txt | |
| # Grep man page: | |
| # -a, --text: treats file as text, essential prevents grep to abort once finding an invalid byte sequence (not being utf8) | |
| # -v, --invert-match: inverts the output showing lines not matched | |
| # -x '.*' (--line-regexp): means to match a complete line consisting of any utf8 character. |
| version: '3' | |
| volumes: | |
| nextcloud: | |
| db: | |
| services: | |
| db: | |
| image: mariadb | |
| command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW |
| # this example we show how to install Dlib and PDlib from source to build a Nextcloud image | |
| # with Debian and Apache. This Dockerfile uses multistage builds to first build the binaries | |
| # of Dlib and then automatically copy the binaries to the final image. Use it as a guide to | |
| # adapt it to your needs. | |
| # source: https://github.com/matiasdelellis/facerecognition/wiki/Docker | |
| # | |
| # Use a temporary image to compile and test the libraries | |
| # | |
| FROM nextcloud:apache as builder |
Install the network-tools addon (from libreELEC)
This addon will install the rsync in the following folder:
$ which rsync
/storage/.kodi/addons/virtual.network-tools/bin/rsyncTo manage thunderbolt 3 connections you need to install the package boltctl from arch repo
$ pacman -S boltlist all connected devices
$ boltctl