Sunday, July 7, 2024

How to get Dividend, interest income from Form26AS

  1. Download FORM26AS from incometax site or bank site in txt format.
  2. Use this command to get entries: grep ^[0-9] AXXXX848XX-2024.txt  >a.txt 
  3. Use this command to get csv file: 
         awk -F"^" '/^[0-9]/ {printf("%d, \"%s\", %s, %0.2f, %0.2f, %0.2f\n", $1, $2, $3, $8, $9, $10) } ' a.txt
 
    4. You may need to delete some irrelevant rows.
 

Friday, November 26, 2021

Procedure to renew driving license in Maharashtra

  • Visit below link to fill the form online
  • https://sarathi.parivahan.gov.in/sarathiservice/sarathiHomePublic.do
  • Select option "Apply for DL Renewal", Follow instructions on the screen to fill the form
  • After filling all the form, download all the forms. Also download the Form1-A (if you are above 40) and get it certified from medical practioner.
  • Upload all the documents along with the Form1-A
  • Pay the renewal fee online
  • Book the slot at the respective RTO office to submit the document which can be downloaded from the above link. Take print out of all documents. Take 2 copies of slot booking form.
  • Submit all the documents with original driving license to the respective RTO office
  • Don't forget to take the sign on second copy of slot booking form. The license will be sent to your address within one month
  • Sunday, October 28, 2018

    Listing only directories in linux


    ls -d */

    Install android apk using adb with all permissions granted by default


    adb install -g myAndroidApplication.apk

    Clear android Application data using shell command


    adb shell pm clear com.app.packageName

    Reset a specific permission of android package


    adb shell pm revoke com.app.packageName android.permission.WRITE_EXTERNAL_STORAGE

    Reset all granted permissions to a android package


    adb shell pm reset-permissions -p com.app.packageName