Spotlight Search won’t open the files it finds in Dropbox with associated application

This issue started to appear on macOS 13 Ventura after recent Dropbox update. I would normally use a Spotlight search to search the files I have in my Dropbox folder that I commonly use (excel, word and plain text documents). Spotlight would find the files but once I select the file and click on it (or press return) it wouldn’t open the file with app associated with the file.

This was driving me mad as it also affected my productivity as now I would open Dropbox folder and then manually find the file I need and then double click to open it. It was driving me nuts for couple of days!

I tried just about anything: from reinstalling Dropbox to syncing all files I have in Dropbox again, to reindexing all files I have on my mac and nothing worked out. The Spotlight would just not just wouldn’t open any of my Dropbox files!

Continue Reading

How to view HEIC images on Windows

Since iOS 11 your images that you shoot with your iPhone can now be saved in two formats:

  • High Efficiency (the new HEIC format)
  • Most Compatible (standard JPEG format)

If you go to Settings -> Camera -> Formats you’ll see these two options. On all iPhone 7 or newer devices High Efficiency format is enabled by default.

New High Efficiency (HEIC) format

Most people are familiar with JPEG format since it’s been around for ages. But what’s that new High Efficiency (HEIC) format all about?

Continue Reading

How to DNS cache on Windows or macOS?

Almost all operating systems cache DNS records to improve the performance of applications and speed up internet access. Browsers do cache DNS records too and to flush these the easiest way is just to close the browser and start ti again. But sometimes there is a need to flush operating system DNS cache. Here’s how you can do that easily.

How to flush DNS cache on Windows XP / Windows Vista?

  • Step 1: Open the Command Prompt
    • Click on the Start Menu and click Run. Type in cmd and hit Enter.
  • Step 2: Flush DNS
    • Type ipconfig /flushdns and hit Enter.

 

How to flush DNS cache on Windows Vista or Windows 7?

  • Step 1: Open the Command Prompt
    • Click on the Start Menu and type cmd in the search bar and hit Enter.
  • Step 2: Flush DNS
    • Type ipconfig /flushdns and hit Enter.

Continue Reading

After upgrading mac from Sierra to High Sierra git no longer works

Recently I have upgraded your macOS on my MacBook Air from Sierra to High Sierra. After the update (that took some time to complete) everything seemed to be working fine… until I was about to do some more coding and have I tried to execute git. I’ve got this error:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Continue Reading

How to open Sublime Text in command line with subl on Mac OS?

I have tried to setup Sublime Text 3 so I could run it on my new Mac from terminal just typing subl . but all the when I wanted to make the symlink I was getting this error: ln: /usr/local/bin/subl: No such file or directory  all the time.

The problem is that I had no bin directory on that path. So to fix that you need to do the following:

cd /usr/local
sudo mkdir bin

Now we have that bin folder on /usr/local/bin path and now we can create the link using:

Sublime Text 3

sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl

Sublime Text 2

sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /bin/local/bin/subl

Exit the terminal and start it again and you should be able to use subl . to open all files in current folder in sublime text for editing.