Install Docker and Docker Compose
docker compose up -d
I've been using wsl
(version 2) with genie
mod for years without issue, but one day, Windows 10 finally catch up on wsl
Windows 11 features and gives us a way to use systemD
natively.
I wanted to use the new "right way" to enable systemD
on Windows Subsystem for Linux (without genie
), and I also had a (probably related) infinite Windows RemoteApp error poping in.
python kdl.py
it will ask you to input kinescope embed link
(e.g. https://kinescope.io/embed/1234534)
and referrer link
(e.g. https://videos.mysite.org). kinescope forbids to access without a referrer.kdl.py can automatically select the best quality of a video or you can choose it in a menu provided by N_m3u8DL-RE.
ffmpeg receives parts of the selected video and an audio and muxes them into output mp4 file.
#!/bin/bash | |
# set your AlertManager server url | |
alertmanager_url='http://localhost:9093' | |
url="$alertmanager_url/api/v1/alerts" | |
# Script will prompt you for alert params, if you hit ENTER without entering a value it uses a [default] value | |
# alert params | |
default_name="alert_$RANDOM" | |
read -p "Enter alertname [$default_name]: " alertname | |
alertname=${name:-$default_name} |
# https://1password.community/discussion/128023/ssh-agent-on-windows-subsystem-for-linux | |
# Script: Do not ask for SSH password in Git/GitLab | |
# or you will be receiving prompt or error | |
# USEAGE: adding this to your .bashrc or .zshrc, Restart the ubuntu terminal / resource the rc file (source .bashrc), Test with ssh-add -l Should see your ssh keys. | |
# Configure ssh forwarding | |
export SSH_AUTH_SOCK=$HOME/.ssh/agent.sock | |
# need `ps -ww` to get non-truncated command for matching | |
# use square brackets to generate a regex match for the process we want but that doesn't match the grep command running it! | |
ALREADY_RUNNING=$(ps -auxww | grep -q "[n]piperelay.exe -ei -s //./pipe/openssh-ssh-agent"; echo $?) | |
if [[ $ALREADY_RUNNING != "0" ]]; then |
SLI Definition Example for Web Store https://cloud.google.com/blog/products/management-tools/practical-guide-to-setting-slos
Just use https://gitflic.ru/project/dbi471/git-switch |
Some thoughts on monitoring.
Source Documents: