Show all files in Finder

(this is kind of mental note for myself but maybe you can find it useful)

open a terminal and write this:

defaults write com.apple.Finder AppleShowAllFiles true 

restart the finder just to be sure (click on the Apple button on top left... choose "Force Quit" then select Finder, click "relaunch"