Skip to content

Instantly share code, notes, and snippets.

View openfnord's full-sized avatar

openfnord openfnord

View GitHub Profile
@openfnord
openfnord / kimai
Created June 13, 2023 09:07 — forked from ArtBIT/kimai
Bash Helper Script For Kimai Docker
#!/usr/bin/env bash
# Bash Helper Script For Kimai Docker
# https://www.kimai.org/documentation/docker.html
kimai_install() {
docker run --name kimai-mysql \
-e MYSQL_DATABASE=kimai \
-e MYSQL_USER=kimai \
-e MYSQL_PASSWORD=kimai \

Ultimate Beginner's Guide to Proxmox GPU Passthrough

mirror of The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 10) by /u/cjalas

>Welcome all, to the first installment of my Idiot Friendly tutorial series! I'll be guiding you through the process of configuring GPU Passthrough for your Proxmox Virtual Machine Guests. This guide is aimed at beginners to virtualization, particularly for Proxmox users. It is intended as an overall guide for passing through a GPU (or multiple GPUs) to your Virtual Machine(s). It is not intended as an all-exhaustive how-to guide; however, I will do my best to provide you with all the necessary resources and sources for the passthrough process, from start to finish. If something doesn't work properly, please check /r/Proxmox, /r/Homelab, /r/VFIO, or

@openfnord
openfnord / !openwrt-config.md
Created September 5, 2022 10:40 — forked from NiklasGollenstede/!openwrt-config.md
OpenWRT on GL.iNET GL-AR750/MT300N_V2 with eduroam, openVPN client, and hardware switch

This shows how to flash OpenWRT to a GL.iNET GL-AR750 or GL-MT300N_V2 and how to set up eduroam, openVPN client, and their hardware switch.

Please read the content for more information.

@openfnord
openfnord / _template.ott
Created July 7, 2022 19:27 — forked from rossant/_template.ott
Convert from Markdown to OpenOffice for Linux Magazine
@openfnord
openfnord / README
Created June 9, 2022 21:30 — forked from hydrz/README
OpenWrt Setup Multiple OpenVPN Server to Different VLANs
# How to Setup Multiple OpenVPN Server to Different VLANs
## Server Configs
The directories and configuration files that will be used:
- /etc/config/firewall
- /etc/config/network
- /etc/config/openvpn
- /etc/openvpn
## This is a network topology for this example:
Reduce pdf version in order to use old Acrobat7 for OCR and Image-Size-Reduction
(Acrobat 7.0: Menue: "File, reduce-file-size" -> compatibility with 4.0).
Acrobat 7.0 was given away for free by adobe, and you may find it in some archives of the internet
You can use Acrobat 7.0 perfectly with wine in linux.
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -sOutputFile=out.odf old.pdf
Also you can use this to fight some issues with crashing pdf tools.
@openfnord
openfnord / partial_evaluation.md
Created November 29, 2021 14:07 — forked from tomykaira/partial_evaluation.md
Partial Evaluation, Futamura Projection And Their Applications

Partial Evaluation, Futamura Projection And Their Applications

What Partial Evaluation Is?

Partial evaluation means to fix some variables in the given code before execution. With a traditional implementation of a compiler or an interpreter, all variables are replaced with its value on each evaluation of that variable. This is because a variable can change at any timing. This is, however, not always true in actual applications. Almost all of large applications has setting variables and data

@openfnord
openfnord / uselibcontainer.go
Created November 4, 2021 10:44 — forked from elianka/uselibcontainer.go
use libcontainer to create container
package main
import (
"github.com/opencontainers/runc/libcontainer"
"github.com/opencontainers/runc/libcontainer/configs"
_ "github.com/opencontainers/runc/libcontainer/nsenter"
"os"
"runtime"
"path/filepath"
@openfnord
openfnord / dumb-ap-wired-link.sh
Created October 25, 2021 17:29 — forked from braian87b/dumb-ap-wired-link.sh
How to setup a Dumb AP, Wired backbone for OpenWRT / LEDE