smcFanControl to the rescue of your iMac

During the previous week I found myself trying to manage an early 2008 iMac with some serious issues booting. After having tried any trick I knew I decided myself to use the Apple’s Hardware Tests. Here I found some glitches with the fans. This mac was used in a man’s luxury tailor shop … so the outside was shiny!

Never I could ever imagine the amount of dust collected inside…

Without opening the iMac chassis I tried a first cleaning using an air-compressor. Then I remembered of smcFanControl, a software more commonly used to tame the heating of Apple’s notebooks. After the download I’ve started it and created a new cooling profile called “Cleaning” setting all the 3 fans inside the iMac to their maximum speed. Then I’ve selected it and … WOW … a cloud of dust was blown away from all the case’s fences! Incredible!

I had the iMac running this way for near twenty minutes, then made come it back to its default. Since then the iMac is working smoothly like when it was brand new. Zero euro spent, maximum result!

password protect your Tomcat powered project

At work we’re in the middle of the development of a new Tomcat powered bioinformatics application, and have reached the stage were you have to show it to some peers but not make it publicly available. I do have an ubuntu 12.04 LTS server, so I took the most out of this Randeep’s post:

password protected directory in Tomcat

Here it is how to do it in few steps:

  1. Add user, password and role in conf/tomcat-users.xml
  2. In the webapps/examples/WEB-INF/web.xml specify role, method and urls.
  3. Restart Tomcat and check the result

A small change of habit today… just four news, instead of the usual five!

Der Flounder

Part of Oracle’s new install application for Java is a binary named MacJREInstaller. This application appears to be what installs Java and governs whether or not the toolbar gets deployed.

Screen Shot 2015-03-06 at 4.00.10 PM

For context, MacJREInstaller appears to be the helper tool referenced when the Java install application prompts for admin privileges.

Screen Shot 2015-03-03 at 3.52.13 PM

Based on observation, when running the Java install application, MacJREInstaller appears to run the following tasks:

1. Checks to see if it can contact the internet

2. If it can contact the internet, checks back with Oracle to see what country it’s in. Oracle apparently is selective about which nations it wants to have the browser settings and toolbar installed (thanks to a Canadian colleague’s testing, it appears Canada is not one of the nations.)

3. If it determines the Mac in question is in a country where Oracle wants to deploy the browser settings and toolbar…

View original post 639 more words

change Virtualbox default location for its Virtual Machines

VBoxManage setproperty machinefolder /Volumes/kooldata/VBOx-Machines/

Since I’ve got two hard drives on my MacBook Pro, a smaller System SSD one and a large – and slower – mechanical drive as ‘data storage, I wanted to move all the VM created with Virtualbox on the second drive. I gave on my the command before quoted, successfully achieving my attempt…