Given that your key has expired.
$ gpg --list-keys
$ gpg --edit-key KEYID
Use the expire command to set a new expire date:
$ zfs destroy -nv system/usr/[email protected] | |
would destroy system/usr/jails/[email protected] | |
would destroy system/usr/jails/[email protected] | |
would destroy system/usr/jails/[email protected] | |
would destroy system/usr/jails/[email protected] | |
would destroy system/usr/jails/[email protected] | |
would destroy system/usr/jails/[email protected] | |
would destroy system/usr/jails/[email protected] | |
would destroy system/usr/jails/[email protected] | |
would destroy system/usr/jails/[email protected] |
zfs list -H -o name -t snapshot | xargs -n1 zfs destroy |
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | |
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full. | |
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}… | |
Getting help: | |
-h — print basic options | |
-h long — print more options | |
-h full — print all options (including all format and codec specific options, very long) |
Inheritance and Virtual Table are often used to create interface in C++ polymorphic class
What if ... there were another way to do this ?
easier, cleaner, faster and more reliable
This article explains how to useCRTP
, [std::variant
](https://en.cppreference.com/w/cpp/utility/variant andstd::visit
to increase code performance.
# @brief Helper to read key value pairs | |
# @details | |
# Read kv in the form <key>=<value> | |
# The script cleans whitespaces first and will remove any newlines | |
# @see https://stackoverflow.com/a/27918723/1267320 | |
read_kvp() | |
{ | |
file="$1" | |
while IFS="=" read -r key value; do | |
# clean whitespaces |
See https://www.pragmaticlinux.com/2020/10/start-a-virtualbox-vm-on-boot-with-systemd/ | |
Scenario:
Problem:
At boot TTY are randomly assigned to devices causing depending services/programs instabilities. They could indeed fail to start because of different TTY configurations.
Solution:
The following describes a way to remote unlock a server with natively-encrypted ZFS-on-root. It uses Dropbear SSH to start a SSH server in the initramfs listing on a specified port.
All server commands are executed as root on Debian 10. For Ubuntu, sudo su
or adding sudo
to all command should be sufficient.
The following requires the recent ZoL 2.x, which adds support to Unlock encrypted root filesystem via SSH, making it merely a no-brainer to unlock the data set (besides setting up Dropbear).
; source: https://gist.github.com/AdrienVR/4136db1bfb0d3d3490b0d1e23e56daf9 | |
; context: http://superuser.com/a/636973/124606 | |
#NoEnv | |
; Reloard script if not used | |
; https://www.autohotkey.com/docs/v2/lib/_SingleInstance.htm | |
#SingleInstance force | |
; https://www.autohotkey.com/docs/v2/lib/SendMode.htm | |
SendMode Input |