Live data from Hacker News

OS X Command Line Utilities

mitchchn.me

161–170 of 210 posts

Re: OS X Command Line Utilities

#162

I use: open vnc://myServer.local It will open up the screen sharing app and connect for you :)

One of my favorite tricks when I learned it, because I was already in the terminal, no need to reach over for the mouse to remote into a wallboard via screen sharing.

Re: OS X Command Line Utilities

#163
post #128

Earlier quoted context omitted.

Yes, I know. But telling someone to "chill out" is a jab and superfluous. People do this kind of thing in online comments all the time, to make the other person look bad and rub in a little extra insult. Any one comment isn't much, of course, but they compound into a degraded discourse, and all of it goes against the civility we try to practice here.

Fair enough. I didn't want you to think he was doxing someone.

Ah, I see. Probably should've left Winston out of this :)

Re: OS X Command Line Utilities

#166

Sadly Xcode3's excellent merge tool seems inaccessible from the command line in Xcode4. Anyone have a fix? http://stackoverflow.com/questions/13163670/how-to-use-xcode...

opendiff file1 file2 will invoke the merge tool.

It's also the default for git mergetool.

Re: OS X Command Line Utilities

#169
post #147

Earlier quoted context omitted.

I aliased Sublime to `sub`. Without args it opens the current folder as a project; with args it opens the file[s].

The officially-supported name is `subl`, by the way: https://www.sublimetext.com/docs/2/osx_command_line.html

Huh. I clearly didn't research before I wrote my one-liner. This is certainly a little more ... documented. Thanks for the heads up!

Re: OS X Command Line Utilities

#170
post #28

Earlier quoted context omitted.

That's pretty terrible opsec. It presents a risk to separation of roles / compartmentalization if a coworker can walk over to your workstation and have access to it, to say nothing of malicious access by somebody who shouldn't be in the office in the first place.

If locking your computer in the office is required opsec, then you have already lost. First, you shouldn't have random people walking around the office. Once someone has physical access the battle is already over. Second, rogue employees are still rogue employees, and an unlocked computer is the least of your worries. With that said, I always lock my computer out of habit.

Not sure what size company you're working in nor what the requirements for opsec are their nor your privilege levels but it certainly does not mean you have already lost.
Post reply on HN