Category Archives: operating system

Setting PATH in Mac OSX

In order for any executable to run anywhere in terminal, we need to set the $PATH to the directory.

You can check which directory can be globally accessed by typing this command

echo $PATH

  1. To add that path to the file, login as root
  2. Type nano /etc/paths
  3. Edit the file to add another path
  4. Save and exit
  5. You need to restart the terminal in order for change to take effect

 

Show notification icon on android status bar

Showing up the notification icons on android status bar is very helpful for you to manage the pending items.  e.g. unread messages etc.

So you don’t have to swipe down everytime to see whether there are any new messages, emails etc.

To set (this settings is based on Android version 6 marshmallow)

  1. Go to Settings
  2. Choose “Notifications & status bar”
  3. Enable “Show notification icons”

android