Not sure I like the install method. I'm nervous of anything that asks me to pipe curl to shell.
Show HN: Swiss Army Knife for Mac OS X
41–50 of 67 posts
Re: Show HN: Swiss Army Knife for Mac OS X
#42Earlier quoted context omitted.
I think if you go to the Keychain, you can configure it to put an icon in the top right tray that you can click on to lock your computer. I often find myself accidentally moving my mouse to the top right corner of my Windows and Linux machines to lock them now.
That is exactly what I do. I think that the combo I would normally try (Cmd+L) logs you out. I remember at one point trying to find the correct key combination, and the primary results were to put the lock icon up. That works find enough for me.
For me this works much better than any shortcuts or icons — when you're going away from the machine, just move the cursor to the bottom left corner, and after a couple of seconds the machine turns on the screensaver (or no screensaver, just screen off in my case, as I'm not using a screensaver) and locks the machine (as I've got my settings to lock the machine when the screensaver turns on.
Re: Show HN: Swiss Army Knife for Mac OS X
#43That something like this exists shows some problems with the unix shell: No standardized commands exist for many common actions (sleep, wifi, etc). The syntax is different across commands even on a single system. It's really nice, but I'd like to see something like that as a standard in shells.
$/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I
lots of useful commands like that are not in your path by default, that said, at least os x lets you modify almost any part of the system with shell commands.
Re: Show HN: Swiss Army Knife for Mac OS X
#44Thanks for crafting and sharing this. I must admit to flagging this particular submission, as it is the fifth time it has been posted in as many days, with no other contributions (whether of comments or stories) to speak of. Forgive me if this seems harsh, but just to keep submitting the same item over and over without any other activity (including responding to comments made in the prior submissions) does not seem i…
Re: Show HN: Swiss Army Knife for Mac OS X
#45That something like this exists shows some problems with the unix shell: No standardized commands exist for many common actions (sleep, wifi, etc). The syntax is different across commands even on a single system. It's really nice, but I'd like to see something like that as a standard in shells.
I don't know, CLI commands in os x are much worse than in linux, want to display wifi info? $/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I lots of useful commands like that are not in your path by default, that said, at least os x lets you modify almost any part of the system with shell commands.
/usr/local/bin/airport
Re: Show HN: Swiss Army Knife for Mac OS X
#46There's a more popular but similar project. https://github.com/guarinogabriel/mac-cli Has anyone used both?
HNews discussion about it 3 weeks ago:
https://news.ycombinator.com/item?id=11977162
But I too wonder why I should use this instead of Mac-CLI?
Re: Show HN: Swiss Army Knife for Mac OS X
#47There's a more popular but similar project. https://github.com/guarinogabriel/mac-cli Has anyone used both?
I like the exclusive focus of this tool to only mac administration tasks which are specific to mac OS X and that I would not know off the top of my head.
Re: Show HN: Swiss Army Knife for Mac OS X
#48The last one of these that popped up on HN replaced a lot of the common UNIX commands, and a lot of people here rightly asked 'why would I run "mac tar:extract" when I could just run "tar xf"?' This one seems to get the balance a lot more right, with a lot of things that the average OS X admin wouldn't know off the top of their head. - 'm lock': That's a lot better than whichever arcane key combination does it by def…
The basic command for keeping the machine awake is `caffeinate`, and has a few other nice options like changing what kind of sleep is prevented (disk, display, system) and also waiting on a PID (looks like that was added in 10.10). Related to that is `pmset -g assertions` which will list all the various things that are keeping your machine from sleeping.
Re: Show HN: Swiss Army Knife for Mac OS X
#49Earlier quoted context omitted.
Are you less nervous running a binary installer?
i'm not. all of it makes me nervous. even package managers with supposedly cryptographically secure verification make me nervous. but, you gotta do what you gotta do to actually do stuff. i sure as hell ain't going back to the days of compiling everything from source.
Android and Chrome for example are really ahead of this in my opinion. Apps are sandboxed and you know uninstall clears up traces of them. Obviously it's not perfect but it's miles ahead of installation scripts and binary installers which can do anything they want with your system and might be hard to get rid of.