Keyboard Navigation on Mac dialog box buttons

Writing by on Wednesday, 25 of July , 2018 at 9:15 pm

Not too many folks have this setting ON to allow keyboard focus on Mac Dialog box buttons.

Enable focusing with tab key at
 → System Preferences → Keyboard → Shortcuts

(On the bottom)
Full Keyboard Access: In windows and dialogs, press Tab to move keyboard focus between → All Controls

Leave a comment

Category: Mac

zsh: non-standard shell error

Writing by on Tuesday, 24 of January , 2017 at 7:34 pm

If you’ve installed zsh and getting the non-standard shell error

$ chsh -s /usr/local/bin/zsh
chsh: /usr/local/bin/zsh: non-standard shell

You need to add /usr/local/bin/zsh to /etc/shells

$ sudo vim /etc/shells

# Add the following and save

Leave a comment

Category: Mac

Favorites in the Finder Sidebar not showing in the Mac Open Dialog

Writing by on Thursday, 5 of January , 2017 at 7:52 pm

If your Favorites in the Finder Sidebar not showing in the Mac Open Dialog, per Apple.StackExchange running the following from command line would make them show up. Note you’re running sudo and hence need root access.

cd ~/Library/Preferences && sudo find* -exec rm {} \; && killall Finder

Leave a comment

Category: Apple,Mac

Sublime Text SFTP Package Server Locations

Writing by on Thursday, 30 of June , 2016 at 6:59 am

Sublime Text SFTP is an amazing and very nifty package to update remote files. I’ve been using it for a while now and the location where the SFTP Server Location where the config settings to the hosts are stored.

Now it’s different for different versions, but if you’re on a Mac then you may want to Setup a Server and save the config under
~/Library/Application Support/Sublime Text 3/Packages/User/sftp_servers. Sublime Text will not be able to detect the servers if they’re not stored in that location. You may want to find the folder sftp_servers which can be in /Library or ~/Library.

Leave a comment

Category: Linux,Mac

Mission Control suddenly stops working

Writing by on Friday, 3 of June , 2016 at 6:44 am

Just run killall Dock. This article from App Exchange explains the details.

killall Dock

Don’t know the root cause for it, but workarounds work great!

Leave a comment

Category: Apple,Mac

Installing and Running MySQL on Mac

Writing by on Friday, 27 of May , 2016 at 7:35 am

Painful process, but you will need to see what works for you.

Say you’ve done the following:

  • Downloaded the DMG and installed MySQL on your Mac (and it provided you a password)
  • Started it from System Preferences -> MySQL
  • Now you tried different ways to connect to MySQL but are not able to login to localhost
  • So, then you tried brew and it didn’t work. Go ahead and remove mysql from brew
    • sudo brew remove mysql
    • brew cleanup

Now, here’s what worked for me, thanks to the following:


# Start MySQL in Safe Mode
$ sudo /usr/local/mysql/bin/mysqld_safe –skip-grant-tables

# Connect to MySQL as root (without password)
$ sudo /usr/local/mysql/bin/mysql -u root

# Update the password
mysql>use mysql;
mysql>show tables;
mysql> update user set authentication_string=password(‘new_password’) where user=’root’;

# Kill the mysql safe process and start it from System Preferences -> MySQL
alias mysql=’/usr/local/mysql/bin/mysql -uroot -ppassword’

That worked for me and I was able to kill the mysql safe-mode process and connect to MySQL through CLI as well as a GUI like Sequel Pro.

Optionally, to add python drivers that will fail further if the following is not done.

# add this to your $PATH
export PATH=$PATH:/usr/local/mysql/bin

# pip install in the right venv
pip install MySQL-python

Leave a comment

Category: Mac,SQL DB

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.