At or near the top of your app, before it executes anything sensitive, place the following code: if((getpwuid($
Entries Tagged as 'How Tos'
How To Prevent A PERL Script From Running As Root
March 29th, 2011 · No Comments
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 * [...]
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!