Today I learned this friggin’ sweet timesaver for yard work involving bagging debris. I call it “The Ren Method.”
Here’s the video!
Today I learned this friggin’ sweet timesaver for yard work involving bagging debris. I call it “The Ren Method.”
Here’s the video!
CowsayIfPossible()
{
if [ -z "${1}" ]; then
CowsayIfPossible "Supply some text!";
return;
fi
if which cowsay >> /dev/null; then
cowsay "${1}"
echo =======================================
else
echo "${1}"
fi
}
Cowsay is win. EEEPPIIIICCC WIIIIN.
This BASH script snippet allows the unashamed use of cowsay within bash scripts without fear that it isn’t installed. World peace? That’d be nice, but for now cowsay moooooo!
sudo aptitude install cowsay
I lost my Tablet PC’s pen, so I used a spoon instead. When I realized that this was really weird, I asked a friend to snap a picture. If only a tour group came by and saw how crazy the people at Tech are… My only hope is that a Google Image search of my name will one day bring up me spooning a computer.