- Create a file in C:\bin\toast.ps1from source https://gist.github.com/dend/5ae8a70678e3a35d02ecd39c12f99110:curl https://gist.githubusercontent.com/dend/5ae8a70678e3a35d02ecd39c12f99110/raw -o /mnt/c/bin/toast.ps1 
- Create ~/.local/bin/notify-sendfrom the following source:like this:powershell.exe "& { . C:\\bin\\toast.ps1; Show-Notification -ToastTitle \"$1\" -ToastText \"$2\" }"
| public static function check($checking_key, $data) { | |
| try { | |
| serialize($data); | |
| } | |
| catch (\Throwable $e) { | |
| // The data fucked up. Go into it to see where. | |
| ddm("CATCH $checking_key"); | |
| if (is_array($data)) { | |
| foreach ($data as $key => $val) { | |
| static::check($key, $val); | 
This guide allows a safe and rootless installation of Podman on WSL2. Head over the hyperlinks to discover more about these two wonderful technologies!
This guide assumes that Debian 11 "bullseye" is installed as WSL2 base OS. To do it, simply open your Windows Powershell console under Admin rights and run
PS> wsl install -d Debian
After installation, please check that you are under the latest Debian. If not, please upgrade it.
Moved to https://api.fmhy.net
Below you can see the full work example for logstash.conf file
There are grok patterns for:
Nginx:
* access.log
* error.log
Tomcat:
* site.log
* localhost.log
- site_access_log.txt
| #!/usr/bin/env bash | |
| #: Your comments here. | |
| set -o errexit | |
| set -o nounset | |
| set -o pipefail | |
| work_dir=$(dirname "$(readlink --canonicalize-existing "${0}" 2> /dev/null)") | |
| readonly conf_file="${work_dir}/script.conf" | |
| readonly error_reading_conf_file=80 | |
| readonly error_parsing_options=81 | |
| readonly script_name="${0##*/}" | 
This guide is for those who want to use their XPS 17 in dual boot with their (preinstalled) Windows 10 and a new Pop!_OS installation, without giving up Bitlocker Encryption in Windows nor LUKS encryption in Linux.
The only guides that I could find were for Ubuntu, which it should be identical to, but I found the ommission of a few steps to resolve issues that I encountered in my first install attempt. Hoping to save you some trouble, I am sharing the steps that worked for me, linking the original guides that I found useful.
- 1.1 Of course: Backup all your data! You always do this when people tell you to, right? Maybe this time better be safe than sorry.
- 1.2 Safely note your Bitlocker recovery key somewhere off your XPS. Where to find it
| # Docker compose to set up containers for all services you need: | |
| # VPN | |
| # Sonarr, Radarr, Lidarr, Qbittorrent | |
| # Non-VPN | |
| # Plex, get_iplayer | |
| # Before running docker-compose, you should pre-create all of the following folders. | |
| # Folders for Docker State: | |
| # /volume1/dockerdata. - root where this docker-compose.yml should live | |
| # /volume1/dockerdata/plex - Plex config and DB | |
| # /volume1/dockerdata/sonarr - Sonarr config and DB | 
| function Show-Notification { | |
| [cmdletbinding()] | |
| Param ( | |
| [string] | |
| $ToastTitle, | |
| [string] | |
| [parameter(ValueFromPipeline)] | |
| $ToastText | |
| ) | 
| docker run --rm -it -v $PWD:/tmp debian:10-slim /bin/bash | |
| # --rm : remove after exit | |
| # -it : interactive TTY | |
| # -v : mount folder : current folder to /tmp folder of the container | |
| # debian:10-slim : docker image https://git.io/JJzfy | |
| # /bin/bash : run bash in this container |