News for hackers. Stuff that matters.
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by danudey on Thursday January 22, 2015 @07:03PM (#8932614)
This seems like a better-documented, less-complete, and less user-friendly version of Secrets[1].

[1] http://secrets.blacktree.com

Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by whiskykilo on Thursday January 22, 2015 @07:15PM (#8932663)
I've actually never run into Secrets! Thanks for bringing it to my attention. I will certainly be adding more to it over time. Do you have any specific suggestions?
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by McUsr on Friday January 23, 2015 @11:49AM (#8935794)
I advise everybody to not mess with anything written in red.
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by jjangsangy on Friday January 23, 2015 @04:02AM (#8933992)
Cool stuff, lots of really good automation tricks that I haven't seen. I have a similar routine of doing a clean wipe every once in a while and wrote a bunch of scripts to make the process less painful.

One of the more useful ones is a small shell wrapper around homebrew cask that batches installation packages based on category, and one that automates symbolically linking dotfiles using a configuration file.

https://gist.github.com/jjangsangy/c226a9d199fdd9ecba1f

https://gist.github.com/jjangsangy/2951a63fe45d2010bd8d

Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by moepstar on Friday January 23, 2015 @05:12AM (#8934148)
Ok, but doing a clean wipe to just reload a backup from TimeMachine won't do any good since it'll restore all the cruft back, right?

Which leads me to my second point: How would you go finding all those still relevant dotfiles and folders for settings of programs you still want to use and, with wiping, removing all obsolete ones?

Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by Scarbutt on Thursday January 22, 2015 @08:22PM (#8932898)
I use Karabiner to customize just two keys, does anyone know how can I make the enter key act as a control key when pressed simultaneously with another key and act as enter key when pressed alone? was thinking of a script that is called at startup.
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by fit2rule on Friday January 23, 2015 @07:40AM (#8934541)
A better way to handle these (in my opinion) is to use the Secrets.prefPane .. and the related website:

http://secrets.blacktree.com/

A much more comprehensive collection of tweaks and tips for OSX administration.. though I did learn a few things from WhiskyKilo which were quite interesting - I have wondered how to do this from the command line for years and am glad to have finally learned: "sudo softwareupdate -i -a" .. fantastic!

Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by McUsr on Friday January 23, 2015 @11:50AM (#8935808)
I advise everybody to not mess with any secrets setting that is listed with a red font.
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by cweiss on Friday January 23, 2015 @10:48AM (#8935399)
Without delving much past the first page, it seems like Boxen would cover a lot of this territory? Boxen [1] is a puppet-based OS-X provisioning tool used by (among others) GitHub to set up new Macs in a hurry. It does take a little while to get configured and dialed in, but once it's set up, (re)provisioning a new Mac is almost fun.

[1] https://boxen.github.com/

Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by jimmcslim on Thursday January 22, 2015 @07:28PM (#8932707)
"This will download and install all updates available for your Mac: sudo softwareupdate -i -a"

I'm assuming that it won't install App Store software that is in your account but not installed on the current machine? Which if so is a shame that Apple haven't exposed this via the command line (preferably specifying the name of the application to install).

Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by whiskykilo on Thursday January 22, 2015 @07:41PM (#8932749)
I believe it does. I will spin up an OS X VM and test it later tonight, since my MBPr is fully up to date. I will of course update the site with what I find.
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by whiskykilo on Thursday January 22, 2015 @07:42PM (#8932753)
You can actually specify the application as well, IIRC. I will verify all of that later this evening when I'm in a place to do it.
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by whiskykilo on Thursday January 22, 2015 @08:33PM (#8932957)
I've updated the site to include the details you were asking about. I was able to test it all on a OS X VM with great success. http://machacks.whiskykilo.com/hacks/app-store.html
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by coherentpony on Thursday January 22, 2015 @08:06PM (#8932849)
Where's the repository? I don't see it.

Edit: I'm an idiot. I thought the title referred to a VCS repository.

Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by whiskykilo on Thursday January 22, 2015 @08:32PM (#8932952)
Actually, the whole site is a repo hosted on Github Pages. If you'd like to contribute, feel free to do a pull request. https://github.com/whiskykilo/machacks.whiskykilo.com
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by whiskykilo on Thursday January 22, 2015 @11:30PM (#8933404)
So far there's been a pull request and a few additional hacks merged in tonight! Thanks everybody!
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by Scarbutt on Thursday January 22, 2015 @08:16PM (#8932879)
"Seriously, iTunes, does anyone still use you?"

What do you use instead of itunes?

Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by chunkstuntman on Thursday January 22, 2015 @08:30PM (#8932940)
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by sigsergv on Friday January 23, 2015 @12:20AM (#8933514)
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by whiskykilo on Thursday January 22, 2015 @08:32PM (#8932948)
I do most of my listening on Spotify, that was the only reason for the jab. I've just given up on iTunes for my personal use.
Re:Show HN: Mac Hacks Wiki – A central repo for your ‘defaul... by fit2rule on Friday January 23, 2015 @07:42AM (#8934547)
I've been trying to do it for years, but you've just tipped me over the edge .. off to buy a new hard drive to contain all my music, export from iTunes, delete ~/Music, and start again .. fresh .. as if it were 1999 all over again and all I have to do is organize my music folders manually again, just like I used to .. Pity there's no way to manage iOS apps outside of iTunes, though.