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 (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.


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

52 weeks challenge – February

February is over. Time to put down some notes.

What is nice in Europe, is that everything is pretty close. It’s just two hours drive from my place to Amsterdam, three – to Paris and three hours flight to Rome! No wonder we go places often. Expect more photos from abroad.

Cliché shot №1 (6/52)

Crack (7/52)

Moon in Rome (8/52)

Kiter (9/52)
First proper test for my Sigma-Z 200mm f/3.5. Manual focus is a breeze with Sony.

Follow me on flickr!

52 weeks challenge – January

I have embarked myself upon a photography challenge for 2016. It’s pretty simple: post a picture every week, taken during that week, hence the name “52 weeks”. That’s somewhat simpler that the “365”, but still pretty interesting.

So here is a quick summary of the first month:

Paraglider (1/52)

Dragon skin (2/52)
Dragon Skin

Conformity (3/52)

Yellow (4/52)

Yawn (5/52)

I must say, I am already having second thoughts on not buying rugged camera, because with the weather like we have here, it is really hard to go out and shoot sometimes.


Facebook be gone

Productivity can sometimes be hard. Especially when you have facebook accessible on all your devices. I have killed their app from my iPhone ages ago, but still manage to use it in the browser. And if you started looking through the feed, it never ends. But this had to stop.
First, I tried iOS built-in website blocker, but you just cannot block one site, there is an entire black list and I grew tired of it. It was the time for more elegant solution (for civilized age).

So here’s my “Almost Instant Productivity Boost”™ for you iOS device: . Yes, it’s a custom iOS content blocker, which only kills facebook. Yes, you have to have Mac and XCode to install it. No, you cannot download it from App Store. Yes, because I don’t have money to pay for the license.

Oh yeah, just use /etc/hosts file to block facebook on your Mac (link to google).

Unfortunately, I was lazy, so Login with facebook will also be gone. Which is a pity, but I don’t care. If you care – just send me a PR.