Popular Posts
Generate subversion diff report using python bash: svn --diff-cmd "python" --extensions "diff_to_html.py" diff -r 596:671 diff_to_html.py import sys import diff... JSRequest, Get parameters from querystring with javascript in SharePoint Provides method to parse query string, filename, and pathname from URL // Initialize first JSRequest.EnsureSetup(); // Get the current fil... ROBOCOPY: Robust File Copy for Windows -------------------------------------------------------------------------------    ROBOCOPY     ::     Robust File Copy for Windows --------...
Stats
A simple work
public class Tri {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        int last = 5;
        for (int i = 1, n = 1; i <= last; i++) {
            int p = n;
            while (p-- > 0)
                System.out.print(Integer.toHexString(i));

            n = i <= last / 2 ? n + 1 : n - 1;
            System.out.println();
        }
    }

}