Skip to content

Instantly share code, notes, and snippets.

@lampapetrol
lampapetrol / dell_ipmi_fan_control.sh
Last active August 9, 2022 22:01
My Dell Poweredge T330 was really loud but since I am to cheap to mod the cooling system i got this script to mitigate. The 1 minute polling frequency might be too short if you are doing cpu intensive stuff like video encoding. may variants available: https://www.google.com/search?q=dell_ipmi_fan_control.sh
#!/bin/bash
#
# To get rid of this script: https://www.pickysysadmin.ca/2021/01/25/silencing-my-dell-t340-part-3/
#
# chmod +x /scripts/dell_ipmi_fan_control.sh
# echo "*/1 * * * * root /bin/bash /usr/local/bin/dell_ipmi_fan_control.sh auto >> /var/log/cron.log" | sudo tee /etc/cron.d/dell_ipmi_fan_control
#
# https://stackoverflow.com/questions/60618155/unable-to-connect-to-ipmi-interface-from-same-server-where-ipmi-is
IDRACIP=""
@lampapetrol
lampapetrol / keybase.md
Created December 6, 2017 17:34
keybase.md

Keybase proof

I hereby claim:

  • I am lampapetrol on github.
  • I am lampapetrol (https://keybase.io/lampapetrol) on keybase.
  • I have a public key ASDGrl3RHYgrmZ7-730TNW-GZBu90SmOF_EFtuPBlPdJpgo

To claim this, I am signing this object:

@lampapetrol
lampapetrol / yakuake_session
Last active December 20, 2015 00:49
Launches a session with the expected title, terminal layout and init command in Yakuake, the best console in the universe.
#!/bin/bash
usage() {
cat <<EOF
usage: $0 <options> <terminal1Command> <terminal2Command> ...
Launches a session with the expected title, terminal layout and init command in Yakuake, the best console in the universe.
OPTIONS: