Skip to main content

Posts

How to apply for OCI renewal of a minor at FRRO Bangalore office

The new OCI rule requires renewal of OCI on issuance of a new passport. This is typically the case for minors whose passports have to be renewed every 5 years or so. Here are the steps to renew OCI in Bangalore. The steps should be similar for other FRRO office too, however, please check with respective FRRO office. You need to visit the FRRO office located at  5th Floor, 'A' Block, TTMC, BMTC Bus Stand Building, K.H. Road, Shantinagar, Bangalore - 560027 . It located in the same building as Anand Bhavan restaurant. The office opens at 9:30AM and closes at 6pm. On the day I visited the office there were already 30 families waiting in queue at around 11am and it took 5 hours of wait for my turn. Therefore, it is best to reach there early around 9am and if you are lucky it should take less time. The application fees for OCI renewal is Rs 1400  per application which must be paid by a Demand Draft in favor of "Pay and Accounts Officer (Secretariat), Ministry of Home Affai...
Recent posts

Enable parental control in youtube

Follow these steps to enable parental control (also called as restricted mode) in youtube. 1. Open youtube in a web browser 2. Login to your account, if you are not logged in already. 3. Click on an icon on top right with either your profile picture or a letter. This will open a menu. 4. Look for the "Restricted mode" setting at the very bottom of the menu. Select and toggle the setting to "On".

.ssh/config: “Bad configuration option: UseKeychain” on Mac OS

After upgrading Mac OS to Mojave I started seeing this error when doing "git pull". I was able to follow the steps below as described here ; 1. open ssh config vi ~/.ssh/config 2. Add the following lines to ssh config to keep your configuration compatible with both new and old versions of openssh. IgnoreUnknown UseKeychain UseKeychain yes That fixed the issue for me. Try running git pull again.    More details about the issue are available here . 

Show hidden folders in Finder on Mac

Follow the steps as shown below; 1. Open a terminal window and type > defaults write com.apple.Finder AppleShowAllFiles true > killall Finder 2. Click on Finder icon to launch it again. That's it. If you go to the user home directory it should now show hidden files. In future if you decide to disable again, just repeat the same steps above and change true to false.  

jupyter notebook execution error: "http://localhost:8889/tree?token=xxx" doesn’t understand the “open location” message

I got this error when I tried to launch jupyter notebook on a mac. It is not a fatal error. I could still go to browser directly and copy/paste the url manually. The error indicates that when the command automatically tried to launch a browser, it couldn't find the default browser in jupyter configuration file. The easy fix is to specify the browser. Here are the steps to do so; 1.   Open ~/.jupyter/jupyter_notebook_config.py in an editor.       If the file does not exist then you can create a default config file by typing the following command;       jupyter notebook --generate-config 2. Search for a word "browser" to locate a following line.     #c.NotebookApp.browser = ''     By default it is commented. You can uncomment it and use one of the following values depending on your browser preference.     # set default browser to chrome     c.NotebookApp.browser = 'chrome'     ...

Translucent gray border around mac screen

I noticed that suddenly a translucent gray border appeared around mac screen. It made it difficult to click on window controls and widgets that were behind the border. Luckily, I was able to follow the steps described here  to get rid of it. Step 1. Open a terminal window. Step 2. Type > killall Dock That fixed the problem for me.  

setting ssh identity

I encountered an issue when pushing code from AndroidStudio to github. By default, AndroidStudio picked id_rsa identity file for git operations. However, I had created a different identify file called id_github for my github ssh key. I was able to resolve the problem by creating a ~/.ssh/config file with following content; #github account Host github.com     HostName github.com     User git     IdentityFile ~/.ssh/id_github I was then able to push code to github from AndroidStudio.