Skip to content

Instantly share code, notes, and snippets.

View Doom4535's full-sized avatar

Aaron Covrig Doom4535

  • Walla Walla University
View GitHub Profile
@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 April 5, 2024 12:04
Rhino3D 7 on Linux

Install Rhino 7 on Ubuntu based OS (KDE on Jammy in this case)

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
@Lassi-Koykka
Lassi-Koykka / 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 March 9, 2024 01:48
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 April 25, 2024 07:40
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 19, 2024 13:25
Notes on my Arch Linux installation: UEFI/Secure Boot + systemd-boot, LUKS-encrypted root (XFS), LUKS-encrypted swap (with hibernate & unlocked via TPM)
@ericzon
ericzon / proxy_info.txt
Last active January 21, 2024 16:51
Example of Tiny proxy with Basic auth
brew install tinyproxy
tinyproxy -c /usr/local/etc/tinyproxy/tinyproxy.conf -d
Tests:
NO AUTH
curl -iv --noproxy "*" --location http://www.google.com
AUTH FAIL
@Namburger
Namburger / Dockerfile
Last active October 21, 2022 12:48
ubuntu18.04 coral minimal example
FROM ubuntu:18.04
WORKDIR /home
ENV HOME /home
RUN cd ~
RUN apt-get update
RUN apt-get install -y git nano python3-pip python-dev pkg-config wget usbutils curl
RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" \
| tee /etc/apt/sources.list.d/coral-edgetpu.list
@dov
dov / gamepad-goocanvas-example.py
Created November 30, 2020 21:50
Example of how to move two circles on a goocanvas with a gamepad
#!/usr/bin/python
######################################################################
#
# An example of how to use the gamepad as an input device for
# python.
#
# The example shows two dots that can be controlled by the
# left and the right joystick on a gamepad.
#
# This may be used as the basis for any analog output. E.g. to