Tag Archives: php

How to: Create A Social Network that isn’t fucked up…

Ello is this talk of the internet right now.  A new social network, that doesn’t ask for, nor collects personal information.  Every few months a new “Facebook-killer” pops up… but the ones that seem to get attention are the ones that specifically target all of the media published controversy surrounding facebook. Why Ello is Flawed?… Read More »

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 »

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; }

12 Tips To Help You Communicate With Your Developers

I Don’t usually blog just to reproduce another thing I already saw, hense the slowness in new post. But I keep going back to this one.. It could be because I haven’t slept in two days or maybe I keep going back because it’s perfect… The article was here: http://blogs.sitepoint.com/12-tips-for-better-developer-communication/ I’ll Feel bad for reprinting… Read More »