Skip to content

Instantly share code, notes, and snippets.

@mikeshardmind
mikeshardmind / dofus-setup-2.48.sh
Last active April 15, 2020 23:05
Because Ankama still can't actually properly package for linux. (Ubuntu 18.04 Bionic tested)
#!/bin/bash
# This is a shitty workaround to Ankama not providing everything required in an actual package
# or even a proper dependency list.
# License: Unlicense, see bottom of file
if [ $# -ne 2 ]; then
echo "Usage: $0 path/to/dofus.tar.gz path/to/place/game/folder"
exit 0
@MakiseKurisu
MakiseKurisu / setup.sh
Last active December 12, 2023 15:53
Proxmox VE 6 GPU Passthrough
#!/bin/bash
# Reference guides:
# https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF
# https://pve.proxmox.com/wiki/Pci_passthrough
# https://pve.proxmox.com/wiki/Nested_Virtualization
# Remember to turn on SVM in BIOS and disable CSM
# Update packages
@sergey-dryabzhinsky
sergey-dryabzhinsky / sysctl-proxmox-tune.conf
Last active May 19, 2024 21:22
Most popular speedup sysctl options for Proxmox. Put in /etc/sysctl.d/
###
# Proxmox or other server kernel params cheap tune and secure.
# Try it if you have heavy load on server - network or memory / disk.
# No harm assumed but keep your eyes open.
#
# @updated: 2020-02-06 - more params used, adjust some params values, more comments on params
#
### NETWORK ###
@kimus
kimus / ufw.md
Created March 2, 2014 22:46
NAT and FORWARD with Ubuntu’s ufw firewall

UFW

I use Ubuntu’s Uncomplicated firewall because it is available on Ubuntu and it's very simple.

Install UFW

if ufw is not installed by default be sure to install it first.

@mhoofman
mhoofman / minecraft.sh
Created August 4, 2011 01:08
Minecraft Server Shell Script
#!/bin/bash
# original author : Relliktsohg
# Huge thanks to Maine for his incremental backup
# Thanks to endofzero for his improved update routine
#
# Installation:
# - Copy script into you minecraft server folder.
# - Allow the script to be executed (chmod +x minecraft.sh)
# - Check the rights of the script user. Every folder specified in config has to be available.
# - Edit the script to configure it (see configure section)