How do I re-hide folders?
I've been using my macbook for about 2 years, and have gone through both the mavericks & yosemite updates. Before I did this, however, I decided it was a good idea to permanently unhide all folders everywhere, and now I can't get them hidden again (I can see .ds_store and .TRASHES most of the time, it depends on what folder I'm in). I do not know how I did it, but i remember pasting something into terminal about a week after I got the computer. Any help on re-hiding these folders that are hidden by default would be spectacular.
MacBook, OS X Yosemite (10.10.1)