Posts

Showing posts from February, 2012

Philip K. Dick's quote

Image
" Don't try to solve serious matters in the middle of the night." Philip K. Dick (1928 - 1982), What the Dead Men Say, 1954 Reference quotationspage.com

An A-Z Index of the Apple OS X command line

There is not need to re-invent the wheel, so a quite complete list of useful OSX terminal commands can be found here : http://ss64.com/osx/ I stumbled on this link simply because I was looking for "which" :), the beloved command "which"... GO TO THE HOME PAGE

How fast does hair grow?

Image
According to wikipedia , the answer is about 1.25 cm/month (or 0.5 inch/month), however yesterday I found out a nicer way to express this speed :) Sheldon Cooper (The Big Bang Theory - Episode 5x18, link below) claims that is 4.6 yoctometers per femtosecond (so 1.2 cm per month or 0.47 inches per month). Interesting how you can use two very small scales (1 yoctometer = 10^-24 meter and 1 femtosecond = 10^-15 s) to express such an everyday-life-thing as the hair growth! On the scale of yoctometers, a proton is gigantic! Indeed a proton is 10^-15 meters so 1 billions of yoctometers! Femtoseconds are bit more close to our everyday common sense, for example the visible light waves oscillate on the femtosecond scale (for a wavelength of 580 nm the corresponding period is 1.93 fs). Concerning the length scales of the incredibly small and incredible big things, I recommend you these nice pages The Scale of the Universe The Scale of the Universe 2 PS By the way, here is the orig...

12 lifehacks that will change (a bit) your life ;)

Image
From 9gag.com GO TO THE HOME PAGE

Siri for Mac... a kind of :)

SIRI for Mac will arrive sometime in the future, but for the moment you can play, or better to say, talk to your Mac using the built-in Speech Recognition. I know, it's not exactly like SIRI but is still funny :) http://lifehacker.com/215764/hack-attack-make-your-macs-speech-recognition-work-for-you GO TO THE HOME PAGE

Make Matlab listing ONLY subfolders cointained into a folder

From the Matlab Command Window when you type "dir" you get a list of files and folders contained in your working directory. The question is how can you get ONLY the folders? Here is the solution from stackoverflow . NOTE In the following function the output "nameFolds" is a cell!!! ------------------------------------------------------------------------------------------ function nameFolds=ListSubfolders(pathFolder) d = dir(pathFolder); isub = [d(:).isdir]; nameFolds = {d(isub).name}'; nameFolds(ismember(nameFolds,{'.','..'})) = [];  ----------------------------------------------------------------------------------------- alternative link GO TO THE HOME PAGE

Quote by Thomas Edison

Image
http://9gag.com/gag/2425980