Prj - Times of India epub

Remember my old post about the TOI - Epub project? Yesterday, I published the source on github. If anyone still interested, go ahead and take a look at the source.

Read more...



Idea to action: Tile this

Not many of my ideas are converted to a project, this one has seen its light last week. Though I haven’t completed all the UI and features of my original vision, it is better to have one working idea than nothing.

Read more...




Recommended Git workflow

I recently started using Git as my revision control tool. Impressed by the use of branching and merging, I create and merge a lot of branches.

Read more...


My Userscripts

Finally decided to copy all my published userscripts.org codes here. AnchorFree banner killer Remove Banner from the top when you use Anchor Free Hotspot shield / Please deactivate the script after disconnecting Hotspot shield

Read more...



HSBC.php

<?php /** * @desc Class to process payment using HSBC gateway * This class will return orderhash * 18-Dec-2006 */ class HSBC{ var $storeFrontId; var $hashFilePath; var $CPIhash; var $orderHash; /** * @desc initialize configuration arguements.

Read more...


function.php

<?php /** * @desc Function to print variable for debugging */ function printPre($data, $extended=false) { echo "<pre>"; if($extended) { var_dump($data); } else { print_r($data); } echo "</pre>"; } ?

Read more...


hsbc_return.php

    <?php
       
        require_once "function.php";
        require_once "HSBC.php";
        printPre($_POST);
       
        $h1 = new HSBC();
        echo $h1->error($_POST['CpiResultsCode']);
    ?>