Skip to content

Instantly share code, notes, and snippets.

View Doom4535's full-sized avatar

Aaron Covrig Doom4535

  • Walla Walla University
View GitHub Profile
@KEINOS
KEINOS / README.md
Last active April 17, 2025 03:01
Simple docker-compose.yml example to scale up containers

Scaling Up Docker Containers and Load Balancing

Simple example to scaling up Docker containers (spawning multiple containers) and load balancing them using Nginx and Traefik.

Scaling up

To scale myapp service up to 3 containers, use --scale.

docker compose up --scale myapp=3 --detach
@Patazerty
Patazerty / hsmghpg.rst
Created July 3, 2023 09:16
Nitrokey HSM 2 GPG setup

Nitrokey HSM GPG setup

I was investigating the use of Hardware Security Modules (HSMs) to better secure some stuff at work. Our choice was a Nitrokey HSM 2 for its convenient price, features and open approach, including hardware. Unfortunately Nitrokeys's documentation is sparse at best and there is not much available documentation online to guide new users to get HSMs to work with GnuPG (GPG): it's even the opposite with some forum posts indicating that the Nitrokey HSM 2 is not compatible with GPG.

From what seems to be the current state of things, GPG works out of the box with OpenPGP cards (which are

@aaronsb
aaronsb / readme.md
Last active March 10, 2025 13:20
Rhino3D 7 on Linux

Install Rhino 7 on Ubuntu based OS (KDE on Ubuntu Noble in this case) I used Wine 9.10 (Staging)

This assumes a non existant wine prefix or even a wine installation. If you have an existing wine prefix there may be things that interfere with this guide.

  • Start by installing wine and some required adjacent libraries.

sudo apt install wine wine32 winetricks mono-complete winbind

  • Initialize your default Wine environment (which will be located under ~/.wine
@genyrosk
genyrosk / REISUB.md
Created November 3, 2022 18:52
REISUB: A gentle Linux restart

REISUB

If a Linux machine locks up or freezes completely, use REISUB to restart it more gently than pushing the Power Button.

Hold down Alt and the SysReq (Print Screen) keys, and then type R E I S U B, with 2-3 second delays between the key presses to give the commands a better chance to complete.

  • R: Switch the keyboard from raw mode to XLATE mode
  • E: Send the SIGTERM signal to all processes except init
  • I: Send the SIGKILL signal to all processes except init
  • S: Sync all mounted filesystems
@it-ankka
it-ankka / dilbert.zsh
Last active May 13, 2023 03:17
A small zsh script for getting and displaying Dilbert comics in kitty terminal
# DILBERT
# Add this to your .bashrc or if you are using oh-my-zsh add a functions.zsh file under your oh-my-zsh/custom folder.
# Requirements:
# - Kitty terminal
# - ripgrep
# - ImageMagick
function dilbert () {
officialUrl=https://dilbert.com

Keybase proof

I hereby claim:

  • I am acovrig on github.
  • I am austincovrig (https://keybase.io/austincovrig) on keybase.
  • I have a public key ASCP1GiXiNZy36kWgqFTNtk3JXLF6C2xk9VCsPjVvZbrQgo

To claim this, I am signing this object:

@webknjaz
webknjaz / wifi-6-mesh.md
Last active January 13, 2025 17:37
My research on building a well-covered high-speed network for the future new house with focus on effortless Wi-Fi client roaming with 802.11ax (tri-band WiFi 6E with 8x8 MU-MIMO capabilities), 3 APs, 802.11r, 802.11k, 802.11v, 802.11s, 802.11w and 10GB-compatible CAT6 Ethernet backchannel

💭 Thoughts

I want to have:

  • 3 APs that would approximately evenly cover:
    • ground floor
    • second floor
    • garage space
    • bonus: reach some of the backyard/garden
  • Multipath connections between the APs
  • Bonded channels between the APs and the managed network switches (LACP 1+1 = 2Gbps)
@eloylp
eloylp / Fedora35Hibernation.md
Last active May 4, 2025 03:35
Fedora 35 hibernation with swapfile, only for hibernation and resume

Fedora35 hibernation

This guide helps to configure the hibernation on a default Fedora35 (also worked fine in previous Fedora34) installation by using a swap file. The Fedora35 installation comes with btrfs as default filesystem. Also, it comes with a zram swap device:

$ swapon
NAME       TYPE      SIZE USED PRIO
/dev/zram0 partition   8G   0B  100
@orhun
orhun / arch_linux_installation.md
Last active May 20, 2025 19:25
Notes on my Arch Linux installation: UEFI/Secure Boot + systemd-boot, LUKS-encrypted root (XFS), LUKS-encrypted swap (with hibernate & unlocked via TPM)
@JADC362
JADC362 / ROS2DebugVSCode.md
Last active April 29, 2025 16:37
Debug ROS2 C++ node on VSCode (Ubuntu)

Debug ROS2 C++ node on VSCode (Ubuntu)

Description

This is a small tutorial on how to debug a ROS2 C++ node usign VSCode.

Requeriments

This implementation was done using: