Skip to content

Instantly share code, notes, and snippets.

View trodemaster's full-sized avatar
💭
Pushing buttons

Blake Garner trodemaster

💭
Pushing buttons
View GitHub Profile
@trodemaster
trodemaster / sources.list
Created September 20, 2023 04:48
ubuntu 22.04 multi arch amd64 and arm64
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy main restricted
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy-updates main restricted
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted
version:1
:debug:main Starting logging for nrsc5 @59bc2968485635c16c7250696abc3e8ff765b72d_0
:debug:sysinfo macOS 13.3.1 (darwin/22.4.0) arch arm
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode 14.1, CLT 14.3.0.0.1.1679647830
:debug:sysinfo SDK 13
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 13.0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libtool 2.4.7_0 exists in the ports tree
:debug:main libtool 2.4.7_0 is the latest installed
@trodemaster
trodemaster / teamsMic.scpt
Created August 26, 2022 15:15
Microsoft Teams
tell application "Microsoft Teams"
activate
tell application "System Events"
keystroke "m" using {shift down, command down}
keystroke tab using {command down}
end tell
end tell
# setup macOS sshd config file to disable ssh pasword auth
sudo tee /etc/ssh/sshd_config.d/206-key-auth-only.conf >/dev/null <<-EOF
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
EOF
# dump all the launchd services
launchctl print gui/$UID
# dump details of the service
launchctl print gui/$UID/com.blakegarner.vault
# stop service and unload from launchd
launchctl bootout gui/$UID/com.blakegarner.vault
# start the servcie and load plist from disk
weewx[42327] INFO __main__: Initializing weewx version 4.5.1
weewx[42327] INFO __main__: Using Python 3.9.9 (main, Nov 18 2021, 11:03:15)
[Clang 13.0.0 (clang-1300.0.29.3)]
weewx[42327] INFO __main__: Platform macOS-12.1-x86_64-i386-64bit
weewx[42327] INFO __main__: Locale is 'en_US/UTF-8/en_US/en_US/en_US/en_US'
weewx[42327] INFO __main__: Using configuration file /Users/blake/code/weather/devweewx.conf
weewx[42327] INFO __main__: Debug is 1
weewx[42327] DEBUG __main__: Initializing engine
weewx[42327] INFO weewx.engine: Loading station type Simulator (weewx.drivers.simulator)
weewx[42327] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
# setup the secrets engine
resource "vault_gcp_secret_backend" "gcp" {
description = var.GCP_SE_DESCRIPTION
path = "gcp/${var.GCP_SE_PATH}"
credentials = file(var.GCP_SE_CREDENTIALS_PATH) # google credentials in a json file
default_lease_ttl_seconds = var.GCP_SE_TTL
max_lease_ttl_seconds = var.GCP_SE_TTL_MAX
}
# Setup the role binding
version:1
:debug:main Starting logging for libfido2 @1.8.0_1
:debug:sysinfo OS X 10.8.5 (darwin/12.5.0) arch i386
:debug:sysinfo MacPorts 2.7.1
:debug:sysinfo Xcode 5.1.1
:debug:sysinfo SDK 10.8
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.8
:debug:main epoch: in tree: 0 installed: 0
:debug:main cmake 3.20.5_2 exists in the ports tree
:debug:main cmake 3.20.5_2 is the latest installed
@trodemaster
trodemaster / main.log
Created August 18, 2021 04:34
libfido2 1.8 macports build fail
CMakeFiles/fido2.dir/__/openbsd-compat/endian_win32.c.o.d -o CMakeFiles/fido2.dir/__/openbsd-compat/endian_win32.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_libfido2/libfido2/work/libfido2-1.8.0/openbsd-compat/endian_win32.c
:info:build [ 15%] Generating fido_cbor_info_extensions_ptr.3
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_libfido2/libfido2/work/build/man && ln -sf fido_cbor_info_new.3 fido_cbor_info_extensions_ptr.3
:info:build [ 15%] Generating fido_cbor_info_free.3
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_libfido2/libfido2/work/build/man && ln -sf fido_cbor_info_new.3 fido_cbor_info_free.3
:info:build [ 15%] Building C object src/CMakeFiles/fido2.dir/__/openbsd-compat/explicit_bzero.c.o
:info:build cd /opt/local/var/macports/build/
Mar 27 23:41:24 localhost configd[43]: setting hostname to "Mac-Pro.local"
Mar 27 23:41:24 Mac-Pro configd[43]: prime_notifications: no keys
Mar 27 23:41:24 Mac-Pro configd[43]: QoS marking policy: EHC2: enable (default)
Mar 27 23:41:24 Mac-Pro configd[43]: QoS marking policy: sysctl net.qos.policy.restrict_avapps=0
Mar 27 23:41:24 Mac-Pro configd[43]: QoS marking policy: sysctl net.qos.policy.restricted=0
Mar 27 23:41:24 Mac-Pro configd[43]: QoS marking policy: UHC0: enable (default)
Mar 27 23:41:24 Mac-Pro configd[43]: QoS marking policy: sysctl net.qos.policy.restrict_avapps=0
Mar 27 23:41:24 Mac-Pro configd[43]: QoS marking policy: sysctl net.qos.policy.restricted=0
Mar 27 23:41:24 Mac-Pro configd[43]: network changed: DNS*
Mar 27 23:41:24 Mac-Pro configd[43]: network changed