Bash alias for updating all software

Sometimes I get on these hour long rabbit hole digs into other peoples dot files on GitHub, with that being said I have come across some pretty handy aliases and such that I thought I should share periodically as some of them are pretty useful. The following I have added to my .bash_profile and its … Read More

Little Snitch + Google Chrome = ksfetch issues

So Google Chrome has recently stopped playing nicely with Little Snitch, mainly because there is an issue with Chrome that it creates a temp file to check for updates every X hours.  Since its making a new temp file for some reason it sets off Little Snitch, which is quite annoying. By entering the following … Read More

Installing subversion on a DroboFS

DroboFSBefore I had my DroboFS I was using my local MSI Wind Desktop for my subversion repositories, but after some reading I found that you could install subversion on the DroboFS. The idea of having all of my repos on the DroboFS seems to be a great idea, after all its redundant while my server is not.
The README that comes with the subversion install for the DroboFS lacks a lot of detail for getting it up and running properly. I thought I detail my install process to hopefully help others get it up and running with little to no troubles.

Read More

Resetting MySQL root password from the CLI

Seems like I always end up searching for this so I thought I would add it to my site for easy reference.

  1. Stop MySQL
    sudo /etc/init.d/mysql stop
  2. Start MySQL with the following command
    sudo mysqld --skip-grant-tables &
  3. Login to MySQL as root with out a password
    mysql -u root mysql
  4. Replace PASSWORD with the new password of your choice.
    UPDATE user SET Password=PASSWORD('PASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;

hddtemp + bash + mysql

So I got into this kick with gathering data and graphing it, I have been playing with flot for a bit and wanted to see what else I could graph.
I run hddtemp on my fileserver and while living in Vegas it gets pretty hot out, and my AC kicks on and off all day. I decided there has got to be a way for me to database the temp change on my hard drives through the

day and make it look nice. I put together this simple bash script that writes to the local MySQL server, then once I finish the web interface I will be making use of flot to graph the data. I thought I would share the simple script in case anyone else is interested in this as well.

Read More