This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/network/10-wgsrv.netdev | |
[NetDev] | |
Name=wgsrv | |
Kind=wireguard | |
Description=WireGuard wgsrv | |
[WireGuard] | |
ListenPort=51820 | |
PrivateKeyFile=[path-to-private-key] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install flatpak gnome-software-plugin-flatpak | |
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo | |
# reboot system, and all flatpaks are available |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import json | |
from os import listdir, path | |
from datetime import datetime | |
# this is the default path on Debian-based distros | |
DHCP_DIR = '/var/lib/systemd/network/dhcp-server-lease' | |
def main(): | |
lfiles = [path.join(DHCP_DIR,lf) for lf in listdir(DHCP_DIR)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[/] | |
default='aaaaaaaa-8fd6-47c6-a14e-6b2769bf2e5e' | |
list=['aaaaaaaa-8fd6-47c6-a14e-6b2769bf2e5e'] | |
[:aaaaaaaa-8fd6-47c6-a14e-6b2769bf2e5e] | |
audible-bell=false | |
background-color='#300924' | |
bold-is-bright=true | |
foreground-color='#FFFFFF' | |
palette=['#2E3436', '#CC0000', '#4E9A06', '#C4A000', '#3465A4', '#75507B', '#06989A', '#D3D7CF', '#555753', '#EF2929', '#8AE234', '#FCE94F', '#729FCF', '#AD7FA8', '#34E2E2', '#EEEEEC'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Types: deb | |
Architectures: amd64 | |
URIs: https://pkgs.k8s.io/core:/stable:/v1.31/deb/ | |
Suites: / | |
Signed-By: | |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQENBGMHoXcBCADukGOEQyleViOgtkMVa7hKifP6POCTh+98xNW4TfHK/nBJN2sm | |
u4XaiUmtB9UuGt9jl8VxQg4hOMRf40coIwHsNwtSrc2R9v5Kgpvcv537QVIigVHH | |
WMNvXeoZkkoDIUljvbCEDWaEhS9R5OMYKd4AaJ+f1c8OELhEcV2dAQLLyjtnEaF/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Container] | |
Image=docker.io/percona/percona-server-mongodb | |
AutoUpdate=registry | |
PublishPort=27017:27017/tcp | |
Volume=%h/mongodb/data:/data/db | |
Volume=%h/mongodb/init/:/docker-entrypoint-initdb.d/:ro | |
EnvironmentFile=%h/.config/containers/systemd/mongodb.env | |
Environment=PUID=101000 | |
[Service] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Container] | |
Image=docker.io/postgres:latest | |
ContainerName=postgres | |
UserNS=keep-id:uid=999,gid=999 | |
AutoUpdate=registry | |
PublishPort=5432:5432/tcp | |
Volume=%h/pgdata:/var/lib/postgresql/data | |
EnvironmentFile=%h/.config/containers/systemd/postgres.env | |
[Service] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Container] | |
Image=docker.io/jellyfin/jellyfin:latest | |
ContainerName=jellyfin | |
AutoUpdate=registry | |
PublishPort=8096:8096 | |
Volume=%h/jellyfin/cache:/cache:Z | |
Volume=%h/jellyfin/config:/config | |
Volume=/data/video:/media/video | |
#Mount=type=bind,source=/data/audio,destination=/media/audio,ro=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/apt/sources.list.d/gcloud.sources | |
Types: deb | |
URIs: https://packages.cloud.google.com/apt | |
Suites: cloud-sdk | |
Components: main | |
Signed-By: /usr/share/keyrings/cloud.google.gpg | |
# curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get_latest_release(){ | |
curl -s https://api.github.com/repos/$GH_USER/$GH_REPO/releases/latest | jq '.assets[]|.browser_download_url' | |
} |
NewerOlder