Skip to content

Instantly share code, notes, and snippets.

View x86-39's full-sized avatar

Jasmijn Emilia Rosalina Knoope 🌸 x86-39

View GitHub Profile
@x86-39
x86-39 / printer.cfg
Created August 14, 2023 11:15
3D printer configs
# This file contains pin mappings for the stock 2020 Creality Ender 3
# V2. To use this config, during "make menuconfig" select the
# STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
# communication.
# If you prefer a direct serial connection, in "make menuconfig"
# select "Enable extra low-level configuration options" and select
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
# cable used for the LCD module as follows:
# 3: Tx, 4: Rx, 9: GND, 10: VCC
@x86-39
x86-39 / patch-argocd-ksops.yml
Last active April 16, 2023 03:37
Patch ArgoCD for use with KSOPS
---
- name: Set up ArgoCD
hosts: kubernetes_master
vars_prompt:
- name: "agekey"
prompt: "Enter the SECRET age key to use for SOPS"
private: true
tasks:
- name: Set up ArgoCD
environment:
@x86-39
x86-39 / deploy-argocd.yml
Last active January 22, 2023 19:45
Deploy ArgoCD Ansible Playbook
---
- name: Set up ArgoCD
hosts: kubernetes_master
tasks:
- name: Set up ArgoCD
environment:
KUBECONFIG: "{{ kubeconfig | default('~/.kube/config') }}"
block:
- name: Install Python Kubernetes module
become: true
@x86-39
x86-39 / Fedora in Vagrant with Libvirt.md
Last active October 30, 2022 21:11
Fedora in Vagrant with GUI

Steps

Replace X with major version in this guide
  1. Download Fedora DVD Image (Tested with 36 KDE)
  2. Create a QEMU/KVM libvirt VM (I use virt-manager) Attach this boot image as boot disk. I used 20GB as the disk size. Name this VM fedoraX
  3. Set installation destination to the local drive
  4. configure networking so that you have internet access (Should work out of the box with DHCP)
  5. Create a user "vagrant" with password "vagrant"
@x86-39
x86-39 / GitLab Container Helm Chart Fix.md
Last active November 2, 2022 23:41
GitLab Container/Helm Chart Fix

The problem

Postgres seems to not work correctly at the moment. The first deploy will fail since the btree_gist extension requires root to create.

Solution

This can be done manually with the following:

  1. kubectl describe pod gitlab-postgres-0 Get the node this pod is running on, SSH to it
  2. On the worker node, run runc --root /run/containerd/runc/k8s.io/ exec -t --user 0 <CONTAINER ID> psql --user postgres It will prompt for a password, get this password by running:
@x86-39
x86-39 / RHEL in Vagrant with Libvirt.md
Last active September 11, 2022 21:06
Red Hat Enterprise Linux create Libvirt Vagrant Box for local testing

Steps

Replace X with major version and Y with minor version in this guide
  1. Register for a no-cost Red Hat Developer subscription
  2. Download RHEL DVD Image (Tested with 8.6 and 7.9)
  3. Create a QEMU/KVM libvirt VM (I use virt-manager) Attach this boot image as boot disk. I used 20GB as the disk size. Name this VM rhelX.Y
  4. Set installation destination to the local drive
  5. configure networking so that you have internet access (Should work out of the box with DHCP)
@x86-39
x86-39 / Pterodactyl setup CentOS Stream 9.md
Last active June 19, 2024 21:21
random notes on Pterodactyl install on CentOS 9

i was taking notes on this on the expectation to like the app

i did not

i hate it

rough draft of everything i dont want to just delete:

Pterodactyl setup CentOS Stream 9

@x86-39
x86-39 / MinecraftMods.md
Last active July 16, 2024 00:25
Minecraft Mods for vanilla servers I use
Current Tested Version: 1.19.2

Requirements

Mod Launcher

Libraries

Check the mods description for if these dependencies are needed!

@x86-39
x86-39 / FirefoxExtensions.md
Last active October 12, 2021 11:09
Firefox Extensions I use

Firefox extensions

@x86-39
x86-39 / OpenSourceAndroidApps.md
Last active September 29, 2023 17:21
Open Source Android Apps I use

Open Source Android Apps