Monthly Archives: June 2020

mac OS tip – add shortcuts to (almost) any application

Just a note for myself. It is possible to add a global shortcut for any UI app in mac OS using System Preferences.

I am using Notes app extensively to manage my notes and TODO lists. Sometimes instead of checking the TODO item I need to mark it as unneeded, then I like to use a Strikethrough text. Notes does not have a shortcut defined for this text style and I kept jumping through the menus.

Finally figured out the way to assign a key binding. Here’s how to do it:

  1. Open System Preferences and go to Keyboard → Shortcuts;
  2. Go to App Shortcuts in the left list and click “+” below;
  3. In the Application dropdown select Notes.app (or other app you need);
  4. Type in or paste exact menu item name in Menu Title – this is just the item name, not the full path to it. In my example it’s “Strikethrough” (no quotes);
  5. Click in Keyboard Shortcut input and then press which shortcut you’d like to assign, I picket Cmd+Shift+S (⌘+⇧+S).
  6. Press Add and you are all set, the shortcut is immediately active and ready to use.

If something goes wrong, make sure the app and the menu title are correct.

Book review: SQL Performance Explained

Overall: 9/10

Good parts

In-depth explanation of database performance concepts and pitfalls for all current major relative database engines. Goes over indexes, how to use them properly and why they might not be used during query execution. This can be used as an introduction but also as a handbook for everyday work.

Missing

Wish the author would include answers for “Think about it” questions in the appendix, so readers could check themselves.