Monthly Archives: August 2009

How to get your mdadm RAID`s back after OS crash or a reinstall

If all your disks are connected, simply try a: mdadm –assemble –scan This should find and activate all your RAID systems

Posted in Linux | Tagged , , | 3 Comments

Display clock each 10 minutes x times forward in PHP

Here is a simple code PHP snippet to display the clock each 10 minutes x times in the format of: php5 test.php 20:40 20:50 21:00 21:10 21:20 21:30 21:40 Etc. <?php $j = 0; for($i=0;$i<10;$i+=1) { $j += (10*60); $hour … Continue reading

Posted in PHP | Tagged , , , | 1 Comment