Monthly Archives: May 2013

The new NAS build – in progress.

These are the parts for the new home NAS. Just put everything together tonight. Only thing left to install and buy is the drives ๐Ÿ™‚ The NAS will run NAS4FREE once it’s completed. I’ll keep ya updated ๐Ÿ™‚ UPDATE: Added 4 3TB drives and installed NAS4FREE … starting to take shape !

Simple Mysql Backup Script can be used with Crontab

This script backs up all databases on the server it’s running on. Usually ran as a cron job. Hope someone else can use this as well. #!/bin/bash # Backup ALL mysql databases # by crouse – x=`mysql –user=root –password=REMOVED -B -e "show databases" | wc -l `; y=$((x-2)); for i in `mysql –user=root –password=REMOVEDโ€ฆ Read More »

A Bunch of new movies for 2013

My short list of movies to make sure I see in 2013 … ok, not so short… and the thing is, I’m not sure my wife would like even one of these !!! Pacific Rim Man of Steel Star Trek – Into Darkness Elysium After Earth Percy Jackson: Sea of Monsters The Wolverine Thorโ€ฆ Read More »

A few .bashrc functions

Adding functions into your .bashrc file makes shortcuts available in your shell session by just typing the name of the function. These are just a few of the ones I have in my own .bashrc file, some are silly, some are useful ๐Ÿ™‚ # bu – A quick backup function bu () { cp $1โ€ฆ Read More »

Auto indenting php/html files with vim

Auto indenting php/html files with vim Not really hard once you know how ๐Ÿ™‚ :set ft=phtml gg=G Vim is pretty cool, and can do some really interesting stuff if you take the time to learn how ๐Ÿ™‚