Update 2017-05-09: The bear current version made clipper easier to use.

Ulysses way:

  1. Select content in browser and copy.
  2. Open Ulysses and use menu Edit > Paste from > Rich text to paste
  3. Select pasted text and use menu Edit > Copy as > Markdown to copy

Bear way:

  1. Copy page URL.
  2. Use /grab-url x-callback-url
  3. After the article is grabbed, use menu Edit > Markdown to copy
Auto Toggle MacBook Internal Keyboard

I prefer using external keyboard with my MacBook. When no external monitors are used, a typical setup is placing the keyboard above the internal one, so I can still use the internal touchpad.

But sometimes the external keyboard may press some keys of the internal keyboard. There is a solution to disable the internal keyboard, but it is tedious to run the command manually.

# Disable, ignore the warning
sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/
# Enable
sudo kextload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/

Fortunately, Keyboard Maestro supports executing scripts when a USB device is attached or detached.