Skip to content

Instantly share code, notes, and snippets.

View twhite96's full-sized avatar
☢️
Cookin

tiff twhite96

☢️
Cookin
View GitHub Profile

How to update IP addressing on a Proxmox Cluster

When you change something in your network configuration, rather than its the gateway or the IP addressing, you may come under serious troubleshooting on your Proxmox Cluster, so this document will guide you into the necessary steps needed to update your network settings on Proxmox.

Note : You must follow these steps on every single node of your cluster to let it able to handle the synchronization between each node once.

So firstly, you will need to change the network interface configuration of the system; it is preferable for you to set a static IP:

/etc/network/interfaces
@twhite96
twhite96 / gist:7e8a9edae449c52fc0313c393daf415c
Created March 19, 2024 05:23 — forked from netsensei/gist:7c71b3215bbf440746151aafc4cfd84f
Setting up a PI-Hole FTL DNS on a local network

Setuping PI-Hole FTL DNS on a local network

pihole comes with it's own lightweight DNS server called FTL. It's geared towards easy of use. Even so, setting up this feature can be hard. Here are some lessons I've learned.

In this example:

  • Your network is setup on 192.168.1.0/24
  • 192.168.1.1 is your DHCP server and IP gateway. (usually your router)
  • 192.168.1.254 is the host running pi-hole
@twhite96
twhite96 / README.md
Created February 21, 2024 01:26 — forked from triangletodd/README.md
k3s in LXC on Proxmox

On the host

Ensure these modules are loaded

cat /proc/sys/net/bridge/bridge-nf-call-iptables

Disable swap

sysctl vm.swappiness=0
swapoff -a
@twhite96
twhite96 / convert.py
Created February 15, 2024 22:34 — forked from mturilin/convert.py
Converst TextExpander csv to espanso yaml
#!/usr/bin/python3
import yaml
import sys
import csv
# create root yaml
matches = []
# open file
import argparse
import glob
import plistlib
import re
from os import path, mkdir
import yaml
'''
BOOL UnhookNT()
{
BOOL fOk = FALSE;
if (HMODULE hmod = GetModuleHandleW(L"ntdll"))
{
if (PIMAGE_NT_HEADERS pinth = RtlImageNtHeader(hmod))
{
PVOID BaseAddress = (PBYTE)hmod + pinth->OptionalHeader.BaseOfCode;
@twhite96
twhite96 / books.md
Created January 28, 2024 18:38 — forked from abstractart/books.md
Free Programming Ebooks - O'Reilly Media. Codeship free ebooks here - https://bit.ly/2oQ0knQ
@twhite96
twhite96 / unifi.md
Created December 24, 2023 06:11 — forked from rosco-pc/unifi.md
Unifi commands.md

Unifi AP useful commands

using SSH:

  • log in to AP: $ ssh ubnt@<IP>
  • default username & password: ubnt & ubnt

Generic

Command Example Function
@twhite96
twhite96 / keycode_mac.h
Created October 1, 2023 05:41 — forked from jfortin42/keycode_mac.h
list of keycode for macos
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* keycode_mac.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jfortin <jfortin@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/12/17 16:42:55 by jfortin #+# #+# */
/* Updated: 2019/11/10 18:01:39 by jfortin ### ########.fr */
/* */
Large Object Motions:
(
)
{
}
[[
[]
][
]]
[m