Skip to content

Instantly share code, notes, and snippets.

Avatar
...could get more caffeinated...usually...yes?

Mike Russell irishgordo

...could get more caffeinated...usually...yes?
View GitHub Profile
@irishgordo
irishgordo / fix_discord.md
Created January 8, 2023 20:52 — forked from Shika-B/fix_discord.md
Discord lagging during long calls on Linux
View fix_discord.md

My discord was lagging increasingly during long calls on my Manjaro installation. I searched a bit on the Wiki but the fix shared there didn't work for. What worked for me is this answer on the Discord support forum, that I will detail a bit here. Start by moving to the right folder:

cd ~/.config/discord/<your_version>/modules/discord_desktop_core

Then, depending on whether you are a javascript developer or not, you may need to install the npm package of your distribution. On Arch/Manjaro, yay -S npm will do. Once this is done, unpack the core.asar file with

npx asar extract core.asar core
@irishgordo
irishgordo / rke2-airgap-opensuse-leap-single-node-user-data.yaml
Last active February 14, 2023 23:55
"Currently Not Working" - Attempt at providing a `user-data` cloud-init/cloud-config templating for automating the provisioning of the RKE2 in an airgapped environment so to avoid manual steps in "Test Steps" at step 3 here: https://harvester.github.io/tests/manual/harvester-rancher/68-fully-airgapped-rancher-integrate-harvester-no-proxy/
View rke2-airgap-opensuse-leap-single-node-user-data.yaml
#cloud-config
write_files:
- path: /tmp/run-script.sh
content: |
#!/usr/bin/bash
# set up chunks of data to write out
REGISTRIES=$(cat <<-END
mirrors:
docker.io:
@irishgordo
irishgordo / config.yaml
Created April 27, 2022 21:01
testing-1884-harvester
View config.yaml
token: testing_1884
os:
ssh_authorized_keys:
- github:irishgordo
hostname: testing-1884-feature
modules:
- kvm
- nvme
dns_nameservers:
- 8.8.8.8
@irishgordo
irishgordo / ffmpeg-compress-mp4
Created October 23, 2021 03:05 — forked from lukehedger/ffmpeg-compress-mp4
Compress mp4 using FFMPEG
View ffmpeg-compress-mp4
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@irishgordo
irishgordo / brainfuzzing.md
Last active August 23, 2021 19:16
S3 Object Store API / Mesh / Moto / Ideas / Notes
View brainfuzzing.md
@irishgordo
irishgordo / config.yaml
Last active June 10, 2020 19:01
k3os config yaml
View config.yaml
ssh_authorized_keys:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDWD6vpOCp5Wzc+PW903DetidancuuXzbWjsppwHPeBPsCyZhU9LNU18xDNUXrz6AtkpZBz7eADOS0VuMoQHFosDcDPyl7mSsEZ3126+cjeI3zn8eye7qIgOKYNNsFyHA26SCCZAEkUovTYilSpeRnAmVtJhwnokdLVwDPl887SEXsvPm2W+sDiV6xwTuDsRUo8s3vh+saQl2+cXIcbnjxWuhLRqnyvxV7q58OUBXR8iSaoQfdnfFFpNizJy5xisw9TCQZdUiXtDz1Rq7BrLTRqNHzsOcIChj5EQj5TSkqexUNtUIjZ3G31f+PQ/4+dcfs2cE+LaobAu3eag+v6nAY0Y2Y/HJ+NhfXlG2P5NflZVPdooIYkzeT0K2T7TGkfF0l1H2OMxr1b+SO3qHf94vwt153fZrLNHkXkM1S/H1OfusI48Ry6seSC9ZPNz1mv31cm3z4JnHyptD16lBwV0HiIfCspSp5ocDOXAkb6DVGS1tYYCm3Hlmvv1/6ATdprjOw9yzbnya/k77vv32W8XuFOBc1TFo2M9FuiU3xndoZ7K7SW10gJck1hXivy6Cb13Mlr+W5CVnib7d6hbnfL2OOpO4z/DLpsrBSzV37tJQhlWidkhPjZprqFcEonhDDh/xUrR4xKG058zLDLSKuOqVjcjR6OdWIIEAtCwzNP221mIw== michael.j.russell.email@gmail.com"
- "github:irishgordo"
hostname: k3os-gordobox
init_cmd:
- "echo gordobox k3os init"
boot_cmd:
- "echo gordobox k3os boot"
run_cmd:
- "echo gordobox k3os run"
@irishgordo
irishgordo / L2TP IPsec VPN with NetworkManager in Arch
Last active June 1, 2021 23:12
Hookin' in an L2TP IPsec VPN to NetworkManager in Arch
View L2TP IPsec VPN with NetworkManager in Arch
Recently I had an adventure configuring NetworkManager's CLI and minimal UI, through the app: "nmtui".
Pre-reqs I leveraged:
- A Pacman Wrapper, I used "yay" x-ref: https://wiki.archlinux.org/index.php/AUR_helpers#Pacman_wrappers
- "networkmanager-l2tp", x-ref: https://aur.archlinux.org/packages/networkmanager-l2tp/
- I acquired by ```yay -S networkmanager-l2tp```
The order of actions I took:
1. Creating a the vpn as a system based connection: