Brain Goo

Carpe Crap ‘em

Brain Goo header image 4

Entries Tagged as 'How Tos'

How To Prevent A PERL Script From Running As Root

March 29th, 2011 · No Comments

At or near the top of your app, before it executes anything sensitive, place the following code: if((getpwuid($

[Read more →]

Tags: How Tos · perl · Programming

How to Calculate BTU from Watts

February 2nd, 2011 · 2 Comments

This post came about because I got a lot of hits from people looking for this information on the How To Calculate Server Heat post. 1 Watt will produce 3.412 BTU per hour To calculate the BTU/heat output of an electrical system, substitute BTUs for Watts and use the following equation: BTU/h = (V * [...]

[Read more →]

Tags: How Tos

HOWTO Turn off Line Numbers in VI

May 20th, 2010 · No Comments

I always forget how to turn off line numbers in VI. The answer is: set nonumbers or set nonu. It’s all about the little things… Did you find this post useful or have questions or comments? Please let me know!

[Read more →]

Tags: How Tos · linux