Setup acme-dns on AWS
sudo dnf install go htop
git clone https://github.com/joohoi/acme-dns
cd acme-dns
mkdir ~/go
export GOPATH=~/go
go build
sudo dnf install go htop
git clone https://github.com/joohoi/acme-dns
cd acme-dns
mkdir ~/go
export GOPATH=~/go
go build
# Dowload help files (run as Admin) | |
Update-Help -UICulture en-US | |
# Search for commands (cmdlets) | |
Get-command *process* | |
# man pages | |
Get-Help Get-Timezone | |
# Get object types | |
Get-Date | Get-Member | |
Get-Random | Get-Member # TypeName: System.Int32 | |
# List all properties of an object |
# The general procedure here is adapted from the 7->8 guide here. https://www.tecmint.com/upgrade-centos-7-to-centos-8/ | |
# | |
# It is a curated list of my bash history. I entered other commands so hopefully I got the right ones here. | |
yum upgrade | |
reboot | |
dnf install epel-release | |
dnf install rpmconf | |
dnf install yum-utils | |
rpmconf -a # answer "n" to both things |
blogs/articles:
https://therecord.media/author/catalin-cimpanu/
https://www.bleepingcomputer.com/
Vendors:
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
indent_style = tab | |
[*.yml] |
root@DSM7 /# /var/packages/ffmpeg/target/bin/ffmpeg -i
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7.3.0 (crosstool-NG crosstool-ng-1.23.0-306-g04d910b)
configuration: --target-os=linux --cross-prefix=/spksrc/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- --prefix=/var/packages/ffmpeg/target --extra-cflags=-I/spksrc/spk/ffmpeg/work-x64-7.0/install/var/packages/ffmpeg/target/include --extra-ldflags=-L/spksrc/spk/ffmpeg/work-x64-7.0/install/var/packages/ffmpeg/target/lib --extra-libs='-lxml2 -ldl' --pkg-config=/usr/bin/pkg-config --ranlib=/spksrc/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ranlib --enable-cross-compile --enable-rpath --enable-pic --enable-shared --enable-gpl --enable-version3 --enable-fontconfig --enable-libbluray --enable-avresample --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libsoxr --enable-libtheor
[Unit] | |
Description=Set the battery charge threshold | |
After=multi-user.target | |
StartLimitBurst=0 | |
[Service] | |
Type=oneshot | |
Restart=on-failure | |
ExecStart=/bin/bash -c 'echo 70 > /sys/class/power_supply/BAT0/charge_control_end_threshold' |
File moved to a new reposetory https://github.com/publicarray/spkcli/blob/main/spkcli.sh |
#!/bin/sh | |
set -ex | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin | |
KEYMAP="us us" | |
HOST=alpine | |
USER=anon | |
ROOT_FS=ext4 | |
BOOT_FS=ext4 |