Skip to content

Instantly share code, notes, and snippets.

$ sudo su -
$ echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled
$ echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag
$ sudo /etc/init.d/iptables save
$ sudo /etc/init.d/iptables stop
$ sudo chkconfig iptables off
$ cat /proc/sys/vm/swappiness
$ sudo sysctl vm.swappiness=1
@zunman
zunman / 0_reuse_code.js
Created December 15, 2015 14:49
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console