Skip to content

Instantly share code, notes, and snippets.

pvcreate /dev/md1
vgcreate vg_sys /dev/md1
lvcreate -l98%FREE -n lv_root vg_sys
mkfs.ext4 -L root /dev/mapper/vg_sys-lv_root
net.core.netdev_max_backlog = 250000
net.core.rmem_max = 268435456
net.core.wmem_max = 268435456
net.ipv4.tcp_rmem = 4096 87380 134217728
net.ipv4.tcp_wmem = 4096 65536 134217728
@staaled
staaled / keybase.md
Created November 19, 2017 17:32
keybase.md

Keybase proof

I hereby claim:

  • I am staaled on github.
  • I am staaled (https://keybase.io/staaled) on keybase.
  • I have a public key whose fingerprint is 4A04 3967 D741 8A7D DBD6 F50B 3EFC B1B1 3FBB 9CD7

To claim this, I am signing this object:

@staaled
staaled / preprocessor_fun.h
Last active August 29, 2015 14:27 — forked from aras-p/preprocessor_fun.h
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,