Git Workflow

Just a draft version – for quick review purpose.

Step 1: Fork your version of the repo online using this guideline.

Step 2: On your terminal, cd into your directory delegated for projects.

$ git clone

Step 3: Clone repository. This can be found on the cloned GitHub repo under the section called HTTPS Clone URL on your right pane.


$ git remote add upstream

Step 4: Setup the upstream (central-repository from where you have forked), the original repository’s clone URL needs to be known. Now, you’re synced.

$ git pull upstream

Step 5: Fetch updated changes from your central-repository.

$ git checkout -b new-branch

Step 6: Create a new branch, for a specific feature you’re going to work on. This ensures no conflict during merge process when someone else tries to work on the master branch.

//Make changes to files using your favorite editor – vim, emacs, sublime-text

$ git add –all

$ git commit -m “Appropriate commit message”

$ git push origin new-branch

Step 7: Work on the changes. Add, commit and push the changes to the origin (YOUR_FORK) repository from the new-branch. Note that the new-branch exists only on your local machine and only after the push is successful, the changes are reflected.

Step 8: Now go to from your browser and then click on “Compare and Review” to create a PR (Pull Request) from your fork to the upstream (central-repository).

If all goes well your PR gets merged else, come back to this post and start from Step 6.



Mozilla Booth at VIT’s Android Amaze, 2015 [#MozMonth]

Continuing with my MozMonth activities, here’s a post on the third of four events I conducted during a 4 week period from Feb 21 – March 21.

 21st of March – Mozilla Booth at VIT, Chennai 

It’s been quite some time from my previous post, was caught up in the maze called life. From maze, let’ move on to Amaze! At first I was skeptical about the “Android” Amaze event, considering how Mozilla is setting up a stall at a Google run event. Only to realize later on that in Chennai, the scene is completely different. GDG Chennai and the Mozilla Community here – are pretty well connected. Here’s a picture proving the point,

Google & Mozilla

Google & Mozilla

I also learnt here that the GDG Chennai had also contributed in Maker Party Chennai during the previous year. Now, isn’t that wonderful? A marriage of sorts, if I may say so! I truly wish all the other local communities get some inspired from the folks at Chennai.

Talking about folks, let’s see who we have here!

Marketplace Reviewer indeed!

Marketplace Reviewer indeed!

Also called the igniter of clubs across Chennai, we have our very own Marketplace reviewer and Mozilla rep, Viswa anna (as he’s popularly called) who not only took me on my first shared auto ride in Chennai but also motivated me when things got rough. I’d really give it to him – haven’t seen anybody else with such patience.


Achyuth and me

Achyuth and me


And then you have the guy who can (trust me) never, ever bore you. No prizes for guessing, Achyuth indeed! Basically did a lot of scouting around the venue with him till the stalls were set up. Got to know the awesome hands behind the Mozilla Chennai community. He helped me understand what works and does not work in Chennai. Thanks for being my cicerone, Achyuth! And he was great at it.

The event said it was a hackathon, but it wasn’t like any of the ones I’d been to before. It was completely different. First off, it was set in an open field (probably to accommodate huge crowds) and second thing, no Pizza! Truly, the second missing detail was a huge turn off.

Despite all that, hackers continued to work on their amazing hacks – and yes they did make it to the record books for the largest number of hackers at one single venue.

Hackers at work

Hackers at work

After a huge amount of hue and cry, we finally got our stall up. The highlight of the whole event is the amount of recognition the Firefox OS phone received even before we started to talk about it. Yes, the genie (like they say) was already out of the bottle!  They knew how much the Intex version costed, a couple of them had already seen the phone – which was totally overwhelming for all of us.
And still there were those who were uninitiated and we dis the honors – talking to over 200 people continuously for over 2 hours. We did that!


Discussions ranged from Firefox, the browser to as simple as “Do you get paid?”, (to which the answer is no by the way) to web development to gecko to b2g to gps locators on buses – what not!? On the whole, I could say that it was a balanced piece.

The Amazing Mozilla Chennai community

The Amazing Mozilla Chennai community


And here they are, in action:

Excited audience buzzing us

Excited audience buzzing us



  • VIswaprasath – that’s all we needed 😉
  • Find the complete photo bucket here


  • Prior intimation is definitely a key to putting up a good stall
  • Brand recognition is a plus
  • Knowledge base of the people manning the stall is important to answer questions
  • Mozilla Chennai is one of the fastest growing communities and needs to be molded






Firefox OS App Days at Anokha 2015, Amrita [#MozMonth]

Continuing with my MozMonth activities, here’s a blogpost on the second of four events I conducted during a 4 week period from Feb 21 – March 21.

5th, 6th & 7th March – App Days at Anokha

This was a very special event to the heart because the planning of this event took about 4 months, the first request having been received from Ragav – an amazing web developer and Mozilla enthusiast at the college. The initial discussions about this event started on the 22nd of November, 2014. Can you believe it?

So we discussed back and forth for the major part of 3 months, found appropriate resource persons, finalized the structure and yes – the picture was perfect. Believe it or not, this was my first chance to meet my counterparts in the Tamil Nadu community. I was excited to meet all of them and host a super cool event. And then strikes disaster. One of lab exams is conveniently (for my teachers) placed on the first day of the event, Thursday the 5th of March. And so, I had to join the team on the second day, i.e. the 6th of March, Friday. Now starts the unfurling of 2 days of simplicity, brilliance and sharing.

Greenery beckoning

From the time I touched down at Coimbatore on Friday, I was treated with utmost care and humility by the folks at Amrita. The road route to Amrita is also a very interesting and spiritual one – mountains, clouds, fauna all along the way; felt like I was going on a hill station.

Got to give it to you guys, everyone else needs to learn how to handle their guests from the hospitality team at Amrita. Despite having over 100 guests for their popular tech fest Anokha, each guest was given individual attention and looked after in the best way possible. During the day, the sun god didn’t have any respite on our poor souls but in came the boon – air conditioned labs.  Bless you!

Drive through nature

Drive through nature

Some sights are worth sharing. Drive was an excellent one – the college has a railway track which runs parallel to the entrance gate. Can you beat this? I don’t think so. Also there are peahens roaming inside the college. Perfect blend of nature and tranquility.



Well – I reached the college in quick time, and then an amazing sight waits for me. I go on to the terrace of the guest house offered to us and I see this, I’m literally on cloud nine. FYI, that’s the view from the guest house provided by the college. It was in itself a magnificent structure to stay.

On cloud 9!

On cloud 9!

Day 2

Yes, I finally made it to Day 2 of the event which was planned as a hack day for the participants. The first Mozillian I met from the Chennai / Tamil Nadu community was Viswa, an amazing web developer and a committed Rep. His works talk for himself, leading the FSA community – with innovative App of the Month contests. I hear he reviews close to 100 FxOS apps a day, which I think is totally awesome. His session mainly focused on getting the simulator up and ready using the brand new Developer Edition. Kudos to the organizing team for getting all the installations done, prior to the event.

Hackers trying to simulate their apps

Hackers trying to simulate their apps

All this was happening in parallel, so that participants can get a feel of what’s happening by doing what we’re telling them to do. Also, exploring the various features the simulator offers. I was personally involved with mentoring the participants there, suggesting what they need to do in case they miss a step – or for a few inquisitive ones show some magic. For mentors, I personally feel these add-ons or tools are a boon:

Responsive view can be used to quickly check how your app (individual HTML documents) looks on a mobile device, whether it fits the phone screen, handy or not. Developer Tools is your right hand ( rather right hand’s right hand) – use the inspector to check which part of code a particular element points to, check out its related CSS & JS content. Manipulate values inside the inspector code are to preview how your app would look, all this would’ve been a lot tougher if it weren’t for the Dev Tools.

Looking into a crisis. ;)

Looking into a crisis with Achyuth. 😉

Yes, I did some work as well. Walked around, explained concepts about basic web development – what to learn and what not to learn. Achyuth was another engaging Rep I had a chance to meet during the event. He’s the guy to talk to. You can walk the talk, share stories, listen to amazing stories, get to know how things are done, and the energy I’ve seen in him is simply astounding. You have a query, and he always an answer.

The “what not to do” is more important to know, than the what to do.

First lab - hackers at work

First lab – hackers at work

While we 3 were managing one lab, the other lab had some cool guys – Rishav & Ashutosh all the way from Trichy and the organizing team member, Ragav. Rishav and Ashutosh are familiar faces – having seen them in developer events at Bangalore. Ashutosh got all the participants excited by showing some of his cool HTML5 games using canvas and later realized it’s a little advanced for the newbies present over there. Nevertheless, the participants made an honest event to learn canvas and positioning of graph coordinates, etc. Be sure to check out Dive into Canvas if that’s your cup of tea!


Rishav, Viswa, Achyuth and there’s me!


Yes, Day 2 was hugely a success thanks to the super energetic team.

Day 3

Moving on with the fast pace of proceedings, rest of the team had to leave and I was joined later in the evening by my roommate Gautham – I had heard a lot about him and his work for Mozilla, but never actually had a chance to meet him in person. This proved an opportunity to do exactly that.

I had a talk about the Mozilla mission and the FSA program, followed by another talk about webmaker from Gautham. We had an interactive session with the participants and I’ve listed a few FAQs (Frequently Asked Questions) below which we were asked by the audience.


1. I’ve learnt a bit of web dev and Firefox OS apps. What next?

Next step would be to explore wide variety of Firefox OS API – learn to make use of them to create a wide range of useful apps.

2. What are the club activities that one can take up?

Webmaker parties, office hours, app of the month contest and many more

3. How do I contribute code to Mozilla?

Check out!/progornoprog/proglang

4. Can I access all of Firefox browser code base? Really?

Simple answer is yes, if you’re a little curious checkout this

5.  What if I make my own version of Firefox OS?

Most welcome. We’ll all be delighted!

6. My folks back home know only Telugu, can I do something that would help them?

Localization is a deep rooted area of interest for Mozilla. Checkout this

7. Is coding the only way to contribute to Mozilla?

No! You can check out any of the wide variety of fields here: Take a pick.

8. What have you done to get here (at this level)?

A lot many interesting and cool things, you can scroll down this blog or check Who Am I?

9. When can I leave? I have a bus in 2 hours.
And with this, we wrapped up the 3-day event.

You guys were awesome, thank you!

You guys were awesome, thank you!




  • Start making plans well in advance
  • Get to know the skill set of participants beforehand
  • Mentors & speakers need to adapt themselves accordingly
  • Tackling questions from audience beyond the scope of a beginner level workshop is a challenge and mentors need to be prepared for it

Getting things started at CMRIT [#MozMonth]

Phew, what a month it has been. Travelling across the country, talking Mozilla, its projects and the impact it has created – one awesome ride, I should say. This is the first of four events I conducted during a 4 week period from Feb 21 – March 21.

 21st Feb – Maker Fest CMR

It all started with a mail from this guy, asking me to judge a webmaker event as part of Cultura 2015, in CMRIT Bangalore. Yeah, it was a shocker to me as well.

Abraar - CMRIT's MozGuy

Abraar – CMRIT’s MozGuy

Well, I had to give a demo of the webmaker tools which was followed by the actual hack. Surprise surprise! Jafar and I get roses, yes real roses. The icing on the cake is that Jafar, was completely unaware of this. I had an idea that they’d welcome us – but definitely not with roses.

Jafar with his rose

Jafar with his rose

No guesses for the theme of the competition – it was the ICC Cricket World Cup 2015 or Your favorite TV Show. With all the fever set in, it was the perfect time for the creative lot to spin out their inspiring ideas into apps. And so did the participants.

Amazing crowd at Cultura

Amazing crowd at Cultura

Hacker at work

Maker at work






For the prelims, we had some amazing makes – you can find them all here on the etherpad. We didn’t have a time limit for the prelims as it was the first time participants were exposed to the webmaker tools. For the finals, we did have a time slot of 45 minutes, and what people can do in 45 minutes is really brilliant. The theme for the finals was ISRO’s Mars Orbiter Mission – yes, we were the first to get into the Mars orbit on first attempt. We had some surreal makes, and judging them was no easy task for Jafar and me.

And we have a winner!

And we have a winner!

I had great fun, teaching people how to use webmaker tools in the first half – followed by evaluating their makes in the second half. The makes were witty, creative and most importantly opened up the doors for everyone present to delve into the amazing world of open web. Special thanks for the CMRIT team for having Jafar and me there – you guys were awesome.


  • You can find the entire photo bucket here on Flickr
  • Slides used during demo made using thimble


  • Modelling webmaker events as competitions increases quality of makes
  • Theme based webmaker parties are better
  • Swags help, but they aren’t the only way to reach out

    You guys were awesome!

    You guys were awesome!

Decoding ANSI C – with Kernighan & Dennis

While people are thinking of the next big what and moving ahead in time, I’m taking a step (more like ten) backward to delve deep into one of the most popular and cliched computing books of all times –  The C Programming Language by our very own good friends at Harvard and Princeton respectively – Dennis Ritchie and Brian Kernighan.

The Big Old C Book

The Big Old C Book

I would be taking up one chapter per week and listing out my experiences of solving the book here. If you’d like to join the journey, you are free to do so!