Better HN
topnewbestaskshowjobs
Log inSign up

rdatajef

6 karma · joined Jan 2, 2014 (12y ago) · 4 submissions

Submissions

comment 12y ago · link · parent

I'm hoping someone could answer this for me. How do you trust the applications that `brew cask` installs?

What is preventing `brew cask install firefox` from installing something malicious? When I download an application manually, I trust the site I'm on by virtue of being there and being savvy enough to know it's a legitimate site. But when you script it, you lose the ability to gauge see for yourself what you're downloading.

I realize I could probably do: `brew cask info firefox`, find the ruby file it points to (https://github.com/caskroom/homebrew-cask/commits/master/Cas...), open that up, verify the link is trustworthy.. but I don't want to do that for every installation. And if it's valid now, what's to prevent it from changing in the future?

How do you guys justify using cask?

comment 12y ago · link · parent

Here's a screenshot for reference.

http://i.imgur.com/ighcVel.png

comment 12y ago · link · parent

Does anyone know of any software that can do this (for OS X)? I think double-tap Shift to toggle Caps Lock would be pretty neat. Or even better, I'd like to program an action after double-Shift (or other modifier keys too, Control, Option, Command).

Edit: I got this to work using KeyRemap4MacBook, if anyone's interested, use this snippet in private.xml:

  <item>
    <name>Double-Shift to Caps Lock</name>
    <appendix>Double-tap ⇧ to Caps Lock</appendix>
    <identifier>double_tap_shift_to_caps_lock</identifier>
    <autogen>
      --DoublePressModifier--
      KeyCode::SHIFT_L,
      KeyCode::SHIFT_L,
      KeyCode::CAPSLOCK
    </autogen>
  </item>

comment 12y ago · link · parent

The far corner of the keyboard... millimeters away from the backspace key and the volume up keys (which aren't uncommon keys to hit).