cat /proc/sys/net/bridge/bridge-nf-call-iptablessysctl vm.swappiness=0
swapoff -a| use std::{marker::PhantomData, net::SocketAddr}; | |
| use async_trait::async_trait; | |
| use axum::{ | |
| error_handling::HandleErrorLayer, | |
| middleware::{self, Next}, | |
| routing::get, | |
| Router, | |
| }; | |
| use axum_core::{ | 
| local M = {} | |
| M.options, M.ui, M.mappings, M.plugins = {}, {}, {}, {} | |
| M.options.tabstop = 4 | |
| M.plugins = { | |
| status = { | |
| neoscroll = true, | |
| colorizer = true, | |
| truezen = true, | 
| http://download.proxmox.com/iso/ | |
| https://pve.proxmox.com/wiki/Prepare_Installation_Media | 
I wanted to run Microk8s on a Proxmox 6 host inside of an LXC container. These are my notes from the journey.
/etc/pki/ca-trust/source/anchors on your CentOS machineupdate-ca-trust extractwget https://example.comOn Manjaro (arch) the location for the certificates is: /usr/share/ca-certificates/trust-source/anchors (low priority) or /etc/ca-certificates/trust-source/anchors/ (high priority) and the command to update is update-ca-trust extract.
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace AhoCorasickTree | |
| { | |
| public class AhoCorasickTree | |
| { | |
| internal AhoCorasickTreeNode Root { get; set; } | |
| public AhoCorasickTree(IEnumerable<string> keywords) | 
| package main | |
| import ( | |
| "context" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" | |
| "time" | |
| ) |