What to do when Your Website is Attacked by Virus, Trojan or Malware?

Recently many of my websites were attacked by some malware which injected unwanted scripts in various pages of my sites, it was very annoying and very time consuming process to remove those scripts. Later I found that various browsers has declared my websites as malware website which severely affected the traffic and ranking of my websites. It really gave me nightmares and kept me awake … Continue reading What to do when Your Website is Attacked by Virus, Trojan or Malware?

How to undo the last Git commit?

Undoing a commit seems little difficult if you don’t know how to do it. But it’s actually pretty simple, here is simple commands for Undo a commit and redo $ git commit – This is what you want to undo $ git reset –soft HEAD^ – This is most often done when you remembered what you just committed is incomplete, or you misspelled your commit message, or … Continue reading How to undo the last Git commit?

How to Add FanGate or Like Gate for Facebook Apps?

A fan gate or a ‘like gate’ allows your page to display different contents to those who are not fans and to those who are fans. A fan gate offers exclusive content to those who have ‘liked’ your Facebook page, those who have not will see a tab asking users to like the page in order to see what’s behind it. Fan gate simply helps … Continue reading How to Add FanGate or Like Gate for Facebook Apps?

How to Clear/Flush DNS Cache in Google Chrome?

Many times it happens that when I buy new domain name and after changing nameservers & hosting it in my server, it takes lots of time to resolve DNS, I do manual windows Flush DNS but still nothing works, then I came to know that, Google Chrome has a built-in internal DNS caching system which stores and saves the domain name, which I believe is to  improve … Continue reading How to Clear/Flush DNS Cache in Google Chrome?