Skip to content

Instantly share code, notes, and snippets.

View karlbunch's full-sized avatar

Karl Bunch karlbunch

View GitHub Profile
@karlbunch
karlbunch / alpine-zfs-grub-uefi.md
Created August 30, 2022 20:19 — forked from kongkrit/alpine-zfs-grub-uefi.md
Install Alpine Linux on ZFS Root - grub bootloader on UEFI

Alpine Linux Installation on ZFS Root with grub on UEFI

  • References [ ref1 | ref2 | ref3 ]
  • Boot from alpine-extended [ download ]
  • login as root without any password
  • setup network interfaces and start networking:
    setup-interfaces
    /etc/init.d/networking start
    
  • add, config, and enable openssh:
# checkout
git fetch origin refs/meta/config:refs/remotes/origin/meta/config
git checkout meta/config
#directly:
git push origin meta/config:meta/config
#via review:
git push origin meta/config:refs/for/refs/meta/config
@karlbunch
karlbunch / disable_spectre.md
Created June 19, 2021 18:35 — forked from rizalp/disable_spectre.md
Disable Spectre/Meltdown Mitigation

In /etc/default/grub, modify:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off"

Then sudo update-grub

@karlbunch
karlbunch / user-data.txt
Created October 6, 2017 18:03 — forked from heri16/user-data.txt
Docker-CE Cloud-init for Ubuntu 16.04 (LTS)
#cloud-config
# Upgrade the instance on first boot
# (ie run apt-get upgrade)
#
# Default: false
# Aliases: apt_upgrade
package_upgrade: true
# Install additional packages on first boot
@karlbunch
karlbunch / boot-from-ram-debian.md
Created September 10, 2017 10:18 — forked from avinash-oza/boot-from-ram-debian.md
How to boot from RAM on debian
#!/bin/bash
#
# resize - cheap bash implementation of the X11 resize command to avoid installing all the X11 stuff for one command
#
# Author: Karl Bunch <karlbunch@karlbunch.com>
#
# Created: Sat Sep 2 08:30:14 EDT 2017
#
if [ "X$1" = "X-s" -a -n "$2" -a -n "$3" ]; then
echo -ne "\033[8;$2;$3t"

Keybase proof

I hereby claim:

  • I am karlbunch on github.
  • I am karlbunch (https://keybase.io/karlbunch) on keybase.
  • I have a public key ASCoSLZN0yITsCEVolBDol4-YvF8Ht6j74H1MsBZtyBJTQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am karlbunch on github.
  • I am karlbunch (https://keybase.io/karlbunch) on keybase.
  • I have a public key ASAigm7tkOrtPXPAmmw06cITx2iGPZymQpZNqTaYsGUcYAo

To claim this, I am signing this object:

-- BEGIN CURRENCY CONVERSION
-- Convert character tokens/currencies from 3.x to 4.x
-- http://web.archive.org/web/20100918101232/http://forums.worldofwarcraft.com/thread.html?topicId=26850245012&sid=1&pageNo=10
SET @HONOR_RATE = 0.024;
SET @ARENA_RATE = 0.85;
SET @HONOR_HARDCAP = 4000;
SET @HONOR_TO_MONEY = 35;
SET @JUSTICE_HARDCAP = 4000;
SET @JUSTICE_TO_MONEY = 20000;
SET @MAX_MONEY_AMOUNT = 9999999999;
-- BEGIN CURRENCY CONVERSION
-- Convert character tokens/currencies from 3.x to 4.x
-- http://web.archive.org/web/20100918101232/http://forums.worldofwarcraft.com/thread.html?topicId=26850245012&sid=1&pageNo=10
SET @HONOR_RATE = 0.024;
SET @ARENA_RATE = 0.85;
SET @HONOR_HARDCAP = 4000;
SET @HONOR_TO_MONEY = 35;
SET @JUSTICE_HARDCAP = 4000;
SET @JUSTICE_TO_MONEY = 20000;
SET @MAX_MONEY_AMOUNT = 9999999999;