Skip to content

Instantly share code, notes, and snippets.

View sirhopcount's full-sized avatar

Adrian van Dongen sirhopcount

View GitHub Profile
@sirhopcount
sirhopcount / proxmox_laptop.md
Last active May 15, 2025 20:26
Promox on a laptop: disable screen + suspend

Proxmox on a laptop

This is how you disable the screen and susped (on lid action)

Disable screen

Disable the console after 60 second. Edit the grub config:

vi "/etc/default/grub
@sirhopcount
sirhopcount / popos_workspace_grid.md
Last active May 16, 2025 07:29
Workspace grid in Pop!_OS

PopOS workspace grid

Description

This will allow you to use a workspace grid somewhat similair to that of Unity. The key bindings for moving between workspaces will be ctrl-alt + arrow keys (also numpad) or VIM keybindings and ctrl-shift-alt + arrow keys (also numpad) or VIM keybindings for moving windows between workspaces.

Procedure

Intstall the Workspace Matrix plugin

@sirhopcount
sirhopcount / flake.nix
Created October 25, 2023 18:25 — forked from voidus/flake.nix
Build a cloudinit image in nixos
{
description = "A nixos cloudinit base image without nixos-infect";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
@sirhopcount
sirhopcount / VirtualBoxKickstart.md
Created February 2, 2023 08:05 — forked from jtyr/VirtualBoxKickstart.md
How to use kickstart in VirtualBox

How to use kickstart in VirtualBox

This short howto describes how to install VMs via kickstart in VirtualBox. It's using PXE functionality built into the NAT network mode of the VirtualBox. The following instructions apply to CentOS installation but it should work for any RedHat-based distro.

Prepare directory structure

@sirhopcount
sirhopcount / 1-walkthrough.md
Created January 19, 2023 13:04 — forked from jacobweinstock/1-walkthrough.md
Tinkerbell machine provisioning demo

Walk through demo

Demo of installing Ubuntu 22.04 on an HP EliteDesk.

Install the Tinkerbell stack

  1. Satisfy Stack installation prerequisites.
    • k3d cluster create --network host --no-lb --k3s-arg "--disable=traefik,servicelb" --k3s-arg "--kube-apiserver-arg=feature-gates=MixedProtocolLBService=true" --host-pid-mode
    • Command pulled from the sandbox repo.
  2. Clone the Tinkerbell chart repo.

Custom data pack structures in 1.18.2

This guide will showcase how to create a data pack that adds a custom structure to the world. There is also a data pack download of this complete example.

Always leave the world and rejoin to apply the new changes!

⚠️ This guide has moved ⚠️

Updates for both 1.18.2 and 1.19 can be found at https://misode.github.io/guides/adding-custom-structures/

Pack.mcmeta

@sirhopcount
sirhopcount / 1.18.2-custom_structures_with_jigsaws.md
Created July 28, 2022 10:54 — forked from GentlemanRevvnar/1.18.2-custom_structures_with_jigsaws.md
Simple guide for using jigsaws in custom structures in 1.18.2

Custom data pack structures with jigsaws in 1.18.2

(Last updated: 1.18.2)

This is technically a shameless rip/edit of misode's guide that shows the traditional use of newly implemented custom structure system. I myself want to tackle the jigsaw aspect a bit, hence i'm making my own guice based on his. I will show how to create a data pack that adds custom structures to the world that also utilize jigsaw blocks. So treat this as a basic jigsaw guide in world generation. There is also a data pack download of this first example.

Always leave the world and rejoin to apply the new changes! Because traditional /reload or /datapack disable & enable do not refresh changes in worldgen files!

EXAMPLE 1 - Creating a structure that uses jigsaws

Let's make a simple house with a basement and a road that will lead away from the h

# Source: https://gist.github.com/d8113b6f149583e1cf1614d76f2a4182
#####################################################################
# How To Create, Provision, And Operate Kubernetes With Cluster API #
# https://youtu.be/8yUDUhZ6ako #
#####################################################################
# Referenced videos:
# - Should We Replace Docker Desktop With Rancher Desktop?: https://youtu.be/bYVfCp9dRTE
#!/bin/bash
#---------------------------------------------------------------------
# File: setup_shelley_monitoring.sh
# Created: 2019/10/17
# Creator: ilap
#=====================================================================
# DESCRIPTION:
#
# This script downloads and configures the required files
# for monitoring a Shelley node by using grafana/prometheus.
@sirhopcount
sirhopcount / git-ssh-auth-win-setup.md
Created January 7, 2019 11:27 — forked from bsara/git-ssh-auth-win-setup.md
Setup SSH Authentication for Git Bash on Windows

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config