Author Archives: Brian Shaffer

About Brian Shaffer

Brian Shaffer started writing software back in the days of the Dialup BBS. In 1991 he turned this into TNL Systems and started selling this software. He made about $20 every 6 months. In 1994 he started with IBM Corporation. Around 1997 he founded TNL Total Solutions and was able to take advantage of the Dot.com boom which was only just beginning. During this time he worked for many fortune 500 companies and was involved in several dot com ventures. He was also owner of a web hosting company during this time and a short lived game hosting company. Presently Brian lives in Eugene, Oregon still operating TNL Total Solutions.

Get Today’s Bandwith Usage from a Shoutcast Log

Shoutcast logs can be pretty big, if you don’t read them in line by line there is a fair chance of getting an out of memory error. The following function getShoutcastBW(logfile) simply returns the number of bytes streamed today out of the log. Good for calculating bandwidth. function my_strip($start,$end,$total){ $total = stristr($total,$start); $f2 = stristr($total,$end);… Read More »

Introducing Shafe’s Picks

As some of you regulars have noticed, I’ve cut back on some of the posts on the odd and interesting things that people are trying to sell on the internet. But fear not, I’ve been compiling these and making a comprehensive list of these oddities. With that, I’m happy to introduce Shafe’s Picks.  A site… Read More »

Install ISPConfig on Debian Quickly

I have a client who routinely deploys cloud servers and they like ISPConfig installed to serve as a hosting control panel. ISPConfig is great for your average customer to manage their server or even for a small hosting company to manage their servers. It is a cost effective alternative to commercial solutions like Plesk and… Read More »

Need A New Password

Need A new password? Here is a randomly generated one: Here is the PHP code to generate these passwords: function genRandomString($length) { $length = 10; $characters = ‘123456789ABCDEFGHIJKLMNPQRSTUVWXYZabcdefghijklmnopq3stuvwxyz!^+.?’; $string = “”; for ($p = 0; $p < $length; $p++) { $string .= $characters[mt_rand(0, strlen($characters))]; } return $string; }

Advice On Brewing Your Own Beer From Shafe

As an avid homebrewer… I was recently asked for any homebrewing tips from a friend of mine… Here is my response: The most important brewing advice… In my experience over the years… is that you prepare in advance 2 compilation cd’s to play while brewing. One while actually brewing and one for bottling. The only… Read More »

Mel’s Hole

Broadcasting from his double-wide trailer in Nevada, Art bell was good at what he did, and in his heyday, there was one broadcast that had me completely enthralled. Mel’s hole is one of those stories I listened to on the edge of my seating cursing commercials because they where too long. I came across some… Read More »

Online Sportsbook

The online casino sites you choose for betting on the NBA will depend on which one  is the most profitable for you. As you delve into the thrilling realm of online betting, be sure not to overlook the potential rewards offered exclusively through the Zodiac Casino welcome offer. If you’re interested in hockey betting, here are… Read More »