No problem,
run
git filter-branch --msg-filter "cat - && echo && echo 'Signed-off-by: Your Name <Your.Name@example.com>'" HEAD~2..HEAD
To sign-off the last two commits.
Then force to push them to the remote repo with the -f
option:
No problem,
run
git filter-branch --msg-filter "cat - && echo && echo 'Signed-off-by: Your Name <Your.Name@example.com>'" HEAD~2..HEAD
To sign-off the last two commits.
Then force to push them to the remote repo with the -f
option:
This exemplary initial setup uses two devices /dev/sdb
and /dev/sdc
but can be applied to any amount of devices by following the steps with additional devices.
Create keyfile:
dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
I've moved this to a repo as it's easier to see what's going on:
#!/sbin/openrc-run | |
description="Caddy web server" | |
description_reload="Reload configuration" | |
extra_started_commands="reload" | |
: ${CADDY_CONF:=/etc/caddy/Caddyfile} | |
: ${CADDY_PIDFILE:=/var/run/caddy.pid} | |
: ${CADDY_USER:=caddy} |
#!/usr/bin/env bash | |
# WARNING!! | |
# This will obliterate all the data in your partition!! (not actually true, but act as if it was) | |
# Do NOT execute this script if you don't fully understand it! | |
# a few vars | |
amount_of_swap=$( free --si -g | grep Mem: | gawk '{ print $2 + 1}' ) | |
# create directories |
[[inputs.exec]] | |
commands = ["/usr/local/libexec/telegraf/gateways.py"] | |
timeout = "5s" | |
data_format = "influx" |
$script:SignToolPath = "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool.exe" | |
$script:TimestampServers = "http://timestamp.comodoca.com/authenticode", | |
"http://timestamp.verisign.com/scripts/timestamp.dll", | |
"http://timestamp.digicert.com" | |
$script:TimestampServerIndex = 0 | |
$script:MaxRetries = 7 | |
$ErrorActionPreference = "Stop" | |
Set-StrictMode -Version 3.0 |
This configuration uses nsswitch and compat mode, which is supposedly obsolete, but much more convenient than alternatives.
emerge -va sys-auth/nss_ldap sys-auth/pam_ldap sys-apps/unscd
Note: unscd (Micro Name Service Caching Daemon) is not necessary, but it’s recommended.
#!/usr/bin/env bash | |
# | |
# archroot | |
# An overlayfs chroot management script for deployable arch build environments | |
# | |
# Version 1.18 | |
# | |
# Written by Kevin MacMartin | |
# Released under the MIT license |