Ever wanted to be notified when a certain wifi network becomes available?.
Maybe you are at University and the wifi goes up and down randomly. Just like the person I originally wrote this code for who is charged for mobile data when using their iPhone as personal hotspot during the Uni. wifi outage.
There have been many reports of the latest OS X update from Apple 10.9.3 (Build 13D65) intentionally hiding the /Users/ folder. I am not convinced this is intentional but it has Happened to me. People have suggested running the Terminal command
sudo chflags nohidden /Users
But After a logout or restart you would have to run it again. Annoying!. Some one mentioned that it maybe the latest iTunes update that started it in conjunction with Find My Mac being switched on. YES My where. So as an experiment I turned off Find My Mac. and ran the command. My Users folder obediently became un hidden. And on reboot stayed unhidden. But wait what about Find My Mac. Well I do want it on right. The only problem is turning Find My Mac back on makes the /Users/ folder go bye, bye : watch the video.
I will experiment some more. Because I think when I first did this It stuck around with Find My Mac switched back on, but I cannot remember just now what order I did things in to get it. i.e when I had Find My Mac back on.