If this blog helped you in any way (professionally), please donate a dollar here

Wednesday, December 14, 2016

Clash of Clans on laptop

Okay this seems to be a click-bait but really not. Android Developers would know how painful it is to get the default android emulator up and running, not considering the pain that eventually follows when the actual application begins to run. It takes ages for the emulator to run even in a decent configuration PC or MacBook.

Now, I wasn't sure this could be done until my sister brought up the topic. She plays Clash of Clans on her laptop! Wow!

So, I decided to google. I knew about genymotion but it's a paid service, and then here's one emulator which actually worked for me on Mac OSX - BlueStacks.

Check this out:

Pretty cool huh!?

Wednesday, December 7, 2016

Makkhichoose attempts to bring flights search

For a few days I noticed "hello from flights js" on my browser console. I would assume some rougue extension somewhere and ignored it to the point where it really got very annoying. I finally tracked down the extension to this: "gllmlkidgbagkcikijiljllpdloelocn"

To get the folder location of chrome extensions, according to this answer, I first checked out, chrome://version/ for my Profile Path.

I was able to track this down to being the Makkhichoose extension which I regularly use for tracking prices on various e-commerce websites, like amazon, paytm, shopclues, myntra and flipkart.

Okay... A moment of silence for me and my covert stinginess.

Now then that is over, we can proceed further. So apparently MakkhiChoose is trying out a new flights based comparison tool as well!

Here are a few samples:
console.log('hello from flights js');
// var mmt_domestic_page__previous_url='';
// function mmt_domestic_page_url_watcher(){

And for cleartrip as well:

//cleartrip parsing

var ct_domestic_page_load_checker_timer;

function ct_domestic_page_load_checker(){
console.log('executing load_checker');
var url_params=window.location.search.replace('?','').split('&').reduce(function(s,c){var t=c.split('=');s[t[0]]=t[1];return s;},{});
if( (url_params['page']=='loaded' && window.location.href.match('cleartrip.com/flights/results?') && ($('.loaderContainer:eq(-1)').css('display')=="none"))  ){

 Also http://www.easemytrip.in/

      url: "http://emtxml.bookeasytrip.com/emtxml.asmx",
      processData: false,
      // url: "http://shades.makkhichoose.com/analytics/logextensionfeedback",
      data: xml_req,
      contentType: "application/soap+xml",

Seems like they are on to something!

In my bout of hacking their sources, I found a neat "What-is-my-IP" clone. Here it is:

curl "http://search.makkhichoose.com/getip"
Happy hacking!

Monday, December 5, 2016

Selenium ChromeDriver Install Script

Hello Folks,

As I was trying to instruct someone how to install Selenium Webdriver on OSX, I realised that there were no good scripts to automate this task. There were instructions, sure, but none of the were a copy and paste solution. Not that I encourage copy-paste, I found this rather inconvenient though.

So here's a script install selenium chromedriver for any unix osx or windows computers (assuming cygwin) -

In case, the github plugin did not work the URL is here: