Skip to content

Instantly share code, notes, and snippets.

View paulphys's full-sized avatar

paul paulphys

View GitHub Profile
@scyto
scyto / proxmox.md
Last active July 5, 2024 05:25
proxmox cluster proof of concept

ProxMox Cluster - Soup-to-Nutz

aka what i did to get from nothing to done.

note: these are designed to be primarily a re-install guide for myself (writing things down helps me memorize the knowledge), as such don't take any of this on blind faith - some areas are well tested and the docs are very robust, some items, less so). YMMV

Purpose of Proxmox cluster project

Required Outomces of cluster project

@ConcurrentSquared
ConcurrentSquared / KCI_FI0029552691024_1.jpg
Last active September 29, 2023 20:12
LK-99 paper (Korean Journal of Crystal Growth) machine translation (Google) to English
KCI_FI0029552691024_1.jpg
@hibobmaster
hibobmaster / README.md
Last active June 5, 2024 09:10
Matrix (dendrite + element-web) in Docker with Traefik and federation

project structure

.
├── compose.yaml
├── config
│   └── dendrite.yaml
├── element-web
│   └── config.json
├── nginx
│   └── dendrite.conf
@nivethan-me
nivethan-me / README.md
Last active May 21, 2024 10:56
Setup a Next.js 13 project with Eslint + Prettier with automatic tailwind class sorting

Accounts I follow on YouTube

Got it from running below script:

let markdown = Array.from(document.querySelectorAll("ytd-channel-renderer"))
  .map((item) => ({
    title: item.querySelector("#text-container").textContent.trim(),
    url: item.querySelector("#main-link").href,
 }))
@degitgitagitya
degitgitagitya / .env
Last active June 12, 2024 09:18
Next JS + Next Auth + Keycloak + AutoRefreshToken
# KEYCLOAK BASE URL
KEYCLOAK_BASE_URL=
# KEYCLOAK CLIENT SECRET
KEYCLOAK_CLIENT_SECRET=
# KEYCLOAK CLIENT ID
KEYCLOAK_CLIENT_ID=
# BASE URL FOR NEXT AUTH
from typing import Dict, List, Mapping, Optional, Sequence, Set, Tuple, Union
from advent import Input
import re
from collections import defaultdict
from math import ceil, floor
input = (
Input(
day = 22,
# sample = True,
@triangletodd
triangletodd / README.md
Last active July 6, 2024 01:03
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