Skip to content

Instantly share code, notes, and snippets.

@ASBaumgarten
ASBaumgarten / config.toml
Last active December 22, 2023 16:29
Helix config
theme = "monokai_pro"
[editor]
mouse = true
line-number = "relative"
auto-completion = true
completion-trigger-len = 2
[editor.cursor-shape]
insert = "bar"
@ASBaumgarten
ASBaumgarten / cGPTnixOS.sh
Last active January 26, 2023 00:08
ChatGPT Generated NixOS install script
#!/bin/sh
# Specify the device to install NixOS on
device=/dev/sda
# Get total RAM size
ram_size=$(awk '/MemTotal/ {print $2}' /proc/meminfo)
# Calculate swap partition size
swap_size=$((ram_size * 2))
@ASBaumgarten
ASBaumgarten / download_monero_binaries.sh
Last active May 21, 2021 19:13 — forked from sethforprivacy/download_monero_binaries.sh
Bash script that downloads and verifies the latest Linux ARMv8 binaries.
#!/bin/bash
# Download binaryfate's GPG key
wget -q -O binaryfate.asc https://raw.githubusercontent.com/monero-project/monero/master/utils/gpg_keys/binaryfate.asc
# Verify binaryfate's GPG key
echo "1. Verify binaryfate's GPG key: "
gpg --keyid-format long --with-fingerprint binaryfate.asc
# Prompt user to confirm the key matches that posted on https://src.getmonero.org/resources/user-guides/verification-allos-advanced.html
echo

Keybase proof

I hereby claim:

  • I am ASBaumgarten on github.
  • I am asbaumgarten (https://keybase.io/asbaumgarten) on keybase.
  • I have a public key whose fingerprint is 731C EFB2 82B2 D25C F728 867F A75D 99AE D9AE 2BB5

To claim this, I am signing this object: