This file contains hidden or 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
kenyon@lithium ~/git/puppet-smokeping (master|u+2) % ruby --version | |
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux-gnu] | |
kenyon@lithium ~/git/puppet-smokeping (master|u+2) % bundle install | |
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead. | |
Fetching gem metadata from https://rubygems.org/....... | |
Fetching gem metadata from https://rubygems.org/. | |
Resolving dependencies... | |
Bundler could not find compatible versions for gem "puppet-modulebuilder": | |
In snapshot (Gemfile.lock): |
This file contains hidden or 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
--- bot.v3.1.2.pl 2018-01-04 16:54:48.373134641 -0800 | |
+++ bot.v3.1.2-PenalizeOnlyQuesters.pl 2018-01-04 16:54:33.153317772 -0800 | |
@@ -1939,7 +1939,7 @@ | |
"and to tend downwards with great weight and ". | |
"pressure towards hell. Therefore have you drawn ". | |
"yourselves 15 steps closer to that gaping maw.")); | |
- for $player (grep { $rps{$_}{online} } keys %rps) { | |
+ for $player (@{$quest{questers}}) { | |
my $gain = int(15 * ($opts{rppenstep}**$rps{$player}{level})); | |
$rps{$player}{pen_quest} += $gain; |
This file contains hidden or 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
May 31 06:54:09 beta systemd[1]: Starting Daily apt upgrade and clean activities... | |
May 31 06:54:09 beta unattended-upgrade[594570]: Enabled logging to syslog via daemon facility | |
May 31 06:54:09 beta unattended-upgrade[594570]: Checking if system is running on battery is skipped. Please install powermgmt-base package to check power status and skip installing updates when the system is running on battery. | |
May 31 06:54:09 beta unattended-upgrade[594570]: Starting unattended upgrades script | |
May 31 06:54:09 beta unattended-upgrade[594570]: Allowed origins are: origin=Debian,codename=bullseye,label=Debian, origin=Debian,codename=bullseye-security,label=Debian-Security, origin=apt.postgresql.org, origin=Debian Backports,codename=bullseye-backports,label=Debian Backports, origin=Debian,codename=bullseye-updates,label=Debian, origin=Docker, origin=gh, origin=Puppetlabs,component=puppet-tools, origin=vscode stable | |
May 31 06:54:09 beta unattended-upgrade[594570]: Initial blacklist: | |
May 31 06:54:09 beta unattended-upgra |
This file contains hidden or 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
#!/bin/bash | |
docker contianer ps --filter "label=com.docker.compose.project" -q | xargs docker container inspect --format='{{index .Config.Labels "com.docker.compose.project"}}' | sort -u |
This file contains hidden or 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
aio_agent_version => 7.0.0 | |
augeas => { | |
version => "1.12.0" | |
} | |
disks => { | |
sda => { | |
model => "SAMSUNG SSD PM83", | |
size => "119.24 GiB", | |
size_bytes => 128035676160, | |
type => "ssd", |
This file contains hidden or 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
# From Debian ncurses-term 6.1+20181013-2+deb10u2 | |
# infocmp tmux-256color | |
# Reconstructed via infocmp from file: /usr/share/terminfo/t/tmux-256color | |
tmux-256color|tmux with 256 colors, | |
am, hs, km, mir, msgr, xenl, | |
colors#0x100, cols#80, it#8, lines#24, pairs#0x10000, | |
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, | |
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, | |
clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=\r, | |
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, |
This file contains hidden or 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
virsh --connect qemu:///system qemu-agent-command VM_NAME '{"execute":"guest-network-get-interfaces"}' | jq --raw-output '.return[] | select(.name != "lo")["ip-addresses"][] | select(."ip-address-type" == "ipv6") | select(."ip-address"|startswith("fe80")|not)."ip-address"' | |
Or, simpler: virsh --connect qemu:///system domifaddr VM_NAME --source agent | awk '$NF ~ /:/ && !/(fe80)|::1/ {print $NF}' | cut --delimiter / --fields 1 |
This file contains hidden or 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
dev tun | |
remote darwin.kenyonralph.com 1194 udp6 | |
remote darwin.kenyonralph.com 1194 udp4 | |
client | |
remote-cert-tls server | |
ca /etc/openvpn/ca.crt | |
cert /etc/openvpn/gauss.crt | |
key /etc/openvpn/gauss.key | |
tls-crypt /etc/openvpn/tls-crypt-key | |
persist-tun |
This file contains hidden or 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
# Puppet Facter custom fact. Return a list of packages installed on | |
# the system as a hash, mapping the package name to the version. | |
# © 2018 Kenyon Ralph | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
Facter.add(:packages) do | |
setcode do | |
packages = {} | |
case Facter.value(:os)['family'] |
This file contains hidden or 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
Hop limit : 64 ( 0x40) | |
Stateful address conf. : Yes | |
Stateful other conf. : Yes | |
Mobile home agent : No | |
Router preference : medium | |
Neighbor discovery proxy : No | |
Router lifetime : 1800 (0x00000708) seconds | |
Reachable time : unspecified (0x00000000) | |
Retransmit time : unspecified (0x00000000) | |
Source link-layer address: 00:23:5E:6F:B7:D9 |
NewerOlder