Make Windows 10 PC Faster

     Many of us believe that Windows 7 and XP are best in terms of UI and hardware management. Updating was under control that we knew what is going on. On the other hand, Windows 10 is somewhat a “bulky” OS. So many of us are having performance issues which are pretty annoying especially for the former Windows 7 users. However, by taking couple of simple steps can increase our PC's performance significantly. Here are some..

How to Print Contents from Certain DIV

     Time to time we get into such situation when we need to print part of our webpage where pop-up is restricted. Well JavaScript will be the answer. Here is a little script that raise the DIV dynamically and print. It is very effective cross browser script. Feel free implementing it as a starter..

<script language = "javascript" type="text/javascript">
        function printSpecificDiv(divId) {
            var printContent = document.getElementById(divId);
            var windowUrl = 'about:blank';
            var windowName = 'Print' + new Date().getTime();
            var printWindow =, windowName, 'left = 10000, top = 10000, width = 0, height = 0');

In Java 3 = 12..

In Java, the output:  
    System.out.println(1 + 2 + " = " + 1 + 2);
    => 3 = 12

Because Java starts treating everything as a String once it has found a string in System.out statement. Interesting, huh...

Can the Product of Two Polynomials Result in a Single Term?

     By assuming that we are talking about polynomials with real coefficients. Suppose that the polynomials are, 

P(x) = axp +  ...  +  bxq
Q(x) = cxr +  ...  +  dxs
Where . . .

List all Modified File Names with Git

     Sometime we need to pull up data from specific time span. Suppose, we need to see all the changed files prior to a deployment. Well, its possible with source control. Git has some commands that can help you with that. Here are some of those..
First command lists every single modified file names from specific date to now..
git whatchanged --since '12/01/2016' --oneline --name-only --pretty=format: | sort | uniq

Second command lists modified file names from prior days..
git log --since="4 day ago" --name-only --pretty=format: | sort -u

Third command lists modified file names from specific interval..
git whatchanged --since '12/01/2016' --until '12/06/2016' --oneline --name-only --pretty=format: | sort | uniq