A QA team member came to me requesting for some help. He wanted to list all the HTTP requests made by a page.
Easy right, we can just check that in the network tab of the dev tools in Chrome. But he wanted to find the list of HTTP and HTTPS requests. Basically a filter option by the protocol.
The filter icon in the network tab helps you do this. It allows you to filter requests by type. You can filter by request type like JS, CSS. You can also select multiple options by clicking on command key.
The filter textbox available is the most powerful feature here.
In the filter text box available you can search for text in the URL or you search with special syntax like the following
- is: running/from-cache
- scheme: http/https/data
In my case, I had to use scheme:HTTP to filter out all the HTTPS requests.
The filter box also supports a negate operator. -scheme:HTTPS returns all the URL’s which do not use HTTPS as the protocol.
You can also combine multiple options like this example.
This filters out https requests to the domain mail.google.com
Over the past few years, I have made minor bug fixes and feature additions to some open source projects. Let me note down all those projects here.
- We used angular ellipsis in one of our projects. This utility provides a nice simple way to add ellipsis in text after n lines which is not possible through native CSS. When our app went through pen testing, we realised testing failed because of this library. The library didn’t HTML escape text. So time for a PR to the component.
- This node tool is used to generate microsoft office documents. This doesn’t support all the features yet. We needed to add borders to the table in the word file. So I ended up adding that feature to the library.
- Was working on a side project. A hybrid mobile app, I wanted the user to rate the app in play store. The plugin din’t support tamil, so added tamil translations for the plugin.
- This plugin allows to bring a file chooser kind of popup in a mobile app. I had added an option where you provide the file type to the plugin and it hides other file types from the view.
- An android mobile game, added option to install in sd card.
- Contributed to few of friends projects generator-boom, iconate, generator-smacss, CSS-Hacks,
- Improved documentation for quite a lot of projects including angular, brunch, generator-gulp-angular, node-schedule, essential-js-design-patterns, gitignore.io, rpush,
Few days back, I was reading the book ‘Scope and Closures‘. I wanted to try an example in the page. I am used to running JS in Chrome developer console. My Chrome had Pinterest opened in it. When I opened the developer console, I found this message
♥ web? –> joinUs()
I got the clue, and ran joinUs() in the console. It redirected me to their careers page. That was an interesting way to attract developers to your startup.
These are a list of few interview questions I was asked during different occasions.
- What is the difference between interface and abstract class?
- How to create a Java class which can have only one object?
- Is it possible to access the cookie of any other domain?
- Is there any restriction in number of connections from a single web page?
- What is a kernel?
- What are thread-safe methods?
- What is deadlock and when does one arrive?
- Explain Pigeon hole principal.
- Given n integers of size 8-bits, write a program to find the minimum difference between them.
- Given a binary tree with values in its nodes, write a program to sum the values of nodes within height k.
- How to use grep command to search files which contains the string ‘cat’ in its file name?
- What is the purpose of explain command in MySql?
- Is it possible to start a new Activity using Intents during start-up?
- What is the service used to load other services during booting of the Android device?
- What is the algorithm behind Java’s GC?
- Why is HTTP stateless?
- How do you implement chaining of methods as in jQuery?
When I was preparing to move to England to do my higher studies, I googled for the local user communities and joined the Leicester Linux User Group. There were a lot of interesting discussions going on there. One particular day there was a mail saying “Richard Stallman”, the so called “Father of Open Source” was visiting Leicester to give a speech in De-Mont Fort Univeristy.
I was so interested in it. I along with my another friend were in the hall much before Richard visited the hall. Richard was a simple man with a different ideology. He spoke about FOSS movement and how it differed from Open Source movement of Linus Torvaldus. That was the first time I ever knew there was a difference between the both movements.
Richard started his speech by mentioning that not to post photos and videos of the sessions in Facebook. He said tagging peoples photos can be used as a way of surveillance. Found it true. So what I did. Deleted all the photos I uploaded on facebook. He asked whatever content of the session that is to be published in the internet must be creative commons attributed. Then he started preaching his philosophy about Free and Open Source Software movement.
From what Richard mentioned I would make that Linus and Open Source movement guys are more pragmatic and Richard is more philosophical. Richard was against using the closed source NVidia driver in Ubuntu, whereas Linus or Open Source movement is open to use closed source applications as a part of the application.
Richard then spoke how iPod and Kindle doesn’t allow users to use the devices with freedom. I was able to get his point when I tried to sync music into my newly bought iPod from my Ubuntu box. It seriously sucks.
At the end of the session, he started speaking about Emacs. Which I didn’t even understand a bit. I rarely use emacs and never knew what he was saying about.
At the end of the session he gave away few stickers and I left the hall with a different perspective of Open Source and the FOSS philosophy.
I should thank the Leicester LUG and the De-Mont Fort guys. The session was awesome.
Wallch is a Ubuntu app which allows your desktop wallpaper to change automatically.
There was an invitation to translate it into any language of your choice here
I just wanted to give a shot. So translated the app into Tamil and have mailed the developers and am waiting for a reply.
It’s simple to translate any app into other languages if planned well. This app uses Qt linguist to translate the app. I used google translate from English to Tamil.
Few weeks back, I started learning Android programming. My MSc dissertation is to develop an Android app for Latex. I don’t know much Android programming. So I started exploring it. Randomly I came across Phonegap. When I was exploring it a bit I felt it would be easy to convert an existing webapp into android native app with phonegap. To try that I took an existing website BusRoutes.in
I worked on the app for 3 days and the end product is here. I used Phonegap and Jquery Mobile. The major issue I feel with the app is it takes much time to load the auto-complete. I have also released the code in github.
Chennai Bus Routes
So by the end of three days I fulfilled one of my long desires to host an app in Android market. Did it at last. It is as of now used by more than 100+ users.
I will be working to add more features when I get some free time.
You can get the app from this link
Please leave as comments if you need any more features.