गुरु गोबिंद दोऊ खड़े, का के लागूं पाय।
                                                                 बलिहारी गुरु आपणे, गोबिंद दियो मिलाय॥

Kabir tries to explain the importance of a good teacher in this Doha. I have had a few Gurus in my life, my mother being the first one, she taught me how to talk to others, how to respect others and many other life skills. In school I had many teachers but no Gurus, you might be thinking that this guy is crazy he is saying he had teachers but no Gurus. Well, the difference between Guru and a teacher is , Guru looks after your holistic growth.

I want to take today’s opportunity to talk about my mentors Gautham Sir and Lakshmi Ma’m. My association with them dated back to FSMK industrial training camp 2014 in short FSMK Summer Camp 2014. They were covering web technology and Jnaapti came to take JavaScript session that time. The way Gautham Sir took the session , it just blew me off.The motivation he gave us and the path he took to share the knowledge with us was different yet amazing , I became a fan at that time only. Jnaapti gave a free 30 days course on JavaScript and me being a fan didn’t want to loose any opportunity to learn from my hero hence I registered for the course.

JVC accounts were given to all of us and  Laksmi Ma’m war our coach for that course. I was so excited that I was clocking 20 hours of work which included college , travel and JVC. In between the course Ma’m said we have a surprise for whoever complete the course fastest, I somehow anticipated it will be an internship. “Working under the guidance of Gautham Sir”, that is  a dream come true for me. I can’t let that go so I tried harder to complete the course and I completed it. Ma’m asked me to send my resume to her (which is still pending :P). Then there were exams and I lost touch with Jnappti, I somehow gave exams and then pinged Ma’m on Hangout.

Ma’m said that you cannot take things for granted and the internship is over. I cannot put into words how bad I felt but then she told me that she was trying to teach me the importance of opportunity. Then I went to meet them at Jnaapti Home. I was scared and nervous but they are one of the most friendly people on earth. Finally I met Gautham Sir and Ma’m in person.

I can go on and on talking about various incidents and trust there are millions of those now. The best part is everytime I am talking to Sir , I am  gaining knowledge . It’s  like even he is talking to me about a very off topic discussion he is imparting me with knowledge , he is helping me to become a better person. He throws you challenges that you know you can’t but hr knows you can do it, it’s like a leap of faith. You just have to put your trust in Sir and just put your best foot forward. It is all about trying  and trying, he teaches you perseverance. He tells you it’s not about technology , it’s not about how much knowledge you have because you will never have enough. The whole point is, “Never give up!”

Our discussions have extreme points from future of computing to StartUp culture. He tells me about how your ideas shouldn’t be shallow enough. Your start up won’t succeed if you are shallow about it. He tells me the importance of putting your soul in your code. The videos we talk about, my favorite once are The Blue Shirt Guy and Randy Pausch . Both of those people saw world in different way and so do Sir. Whenever I feel low or I am happy I talk to him about it and he make sure that he brings me to the ground. He is my inspiration , he is one among those who I look upto, a friend, a mentor and a guide.

With Jnaapti I have grown a lot , I learnt a lot of things from analyzing personalities to learning how to learn. Ma’m on the other side is the sweet one. I can open my heart up and tell her whats bothering me and most of the time I don’t even have to say a word She like my mother knows it. She is a friend which I have so I am never alone. She pulls my leg whenever I come late and she joins me while pulling someones leg. She has taught me a lot , how to speak , how to express, what to say and when to say and most importantly how to convey things.

RDK sir is just awesome, he is one of the humblest person I met, he is a great friend , we crack most impossible jokes and discuss things which are really crazy.

For me It has been an amazing journey with Jnaapti, a lot of things has happened and Jnaapti is a second family for me because people care about each other here. The work is challenging and fun, it might look impossible at first but you just have to look beyond that.

Jnaapti a place where amazing happens. Thank you Sir and Ma’m for making me a part of this.

My First Zim Script

My First Zim Script

“How do I back up my logs?” , Farhaan thought. I love to copy paste stuff but after a while it becomes very monotonous.

“Everything that can be automated, should be automated”

Having this mind I sat down , writing python script to automate this job. I figured out that the trick lies in creating a zim -wiki page else it is just a script to copy paste a file. But to read a log file and organize it in a nice way has a bit of trickery too. Whenever you log a file , the log file is saved on the basis of the channel name . I have started talking to this channel called #dgplug and its pretty cool.

ZimWiki needs to have its content in a definite format, and you have to ‘forcefully’ add some lines to every document. Lines in the script that do this are :

zim_file.write('Content-Type: text/x-zim-wiki\nWiki-Format: zim 0.4\n')
ts = time.time()
st = datetime.datetime.fromtimestamp(ts).strftime('Creation-Date: '+'%Y-%m-%d'+'T'+'%H:%M:%S'+'+05:30')

These lines tells that the document is of certain type and the rest to generate a time stamp, and the rest is just opening a file reading it and copying to the other file. Second beautiful part is the reading the log file. I feel you should look into the code it is really interesting.If you want to contribute to the above script or look into it please do it on my GitHub page.The link to my GitHub page is here.

Fork it and use it, If you don’t know about Zim-Wiki , read about it and moreover use it . A great man once said , “Information comes to you once and you shouldn’t let it go”