eBizzSol Photo Search

It has been a long time since I stop writing in my blog. I was waiting for something to start blogging again. So, here is a flickr photo search plugins for Wordpress.

Screenshot of Plugin in action

Read the rest of this entry »

Prothom Alo News Feed :: Google Chrome Extension

Prothom Alo News FeedThis is my first Google Chrome Extension. It will pull latest 10 news from the most popular Bangla (Bengali) newspaper Prothom Alo. Soon, I’ll add new news count and some other stuffs you want…

Please give your valuable suggestions and comments…

Click here to goto the extension details page

XML-RPC in PHP :: FoXRate Currency Exchange API

Today my friend Sakib was looking for a Currency Exchange API to implement it on one of his projects. So, I decided to write this small PHP code snippet for him. I hope this will help him and also other developers. Because, XML-RPC section of the PHP Manual is still incomplete :( .

<?php

/*
* Reference :: http://foxrate.org/
*
* For $from and $to :: http://www.oanda.com/site/help/iso_code.shtml
*/

function getExchangeRate($from = 'USD', $to = 'BDT', $ammount = 1.0) {

    $ammount = doubleval($ammount);
    $request = xmlrpc_encode_request("foxrate.currencyConvert", array($from, $to, $ammount));

    $stream = stream_context_create(array('http' => array(
        'method' => "POST",
        'header' => "Content-Type: text/xml\r\nUser-Agent: xmlrpclib.py/1.0  1 (by www.pythonware.com)\r\nHost: foxrate.org\r\n",
        'content' => $request
    )));

    $endpoint = "http://foxrate.org/rpc/";
    $file = file_get_contents($endpoint, false, $stream);
    $response = xmlrpc_decode($file);

    if (is_array($response) && xmlrpc_is_fault($response)) :
        return 'error';
    else :
        return $response;
    endif;
}

print_r(getExchangeRate());

?>

About Poroshmoni

Recently Prothom-Alo has updated their site to Unicode. Now, I want your valuable opinion about if I continue the development of Poroshmoni or not? Check out the screenshot of the current development -

Poroshmoni Development

Shudhui Bangla 0.2 :: Firefox Extension

Sorry for being late, Last week, I’d been very busy with my exam.

Due to some changes in flickr, here is a update for Shudhui Bangla extension.

This Firefox extension is for members of Shudhui Bangla flickr group. The idea was from Mehdi Hasan Khan (I hope this spelling is correct ;) ).

Installation Procedure:

  1. Start Firefox (Better if you use latest version ;) ).
  2. To install click the download link below
  3. Click “Allow” on the upper right corner
  4. A pop-up (dialog box) will come, wait a moment then click install
  5. Restart Firefox

Read the rest of this entry »

Shudhui Bangla 0.1 :: Firefox Extension

This Firefox extension is for members of Shudhui Bangla flickr group. The idea was from Mehdi Hasan Khan (I hope this spelling is correct ;) ).

Installation Procedure:

  1. Start Firefox (Better if you use latest version ;) ).
  2. To install click the download link below
  3. Click “Allow” on the upper right corner
  4. A pop-up (dialog box) will come, wait a moment then click install
  5. Restart Firefox

Read the rest of this entry »

Favicon – What is it for?

Did you ever think of utilizing any site favicon? Probably not! But, I’ve been always thinking of it. Actually the space for the Bookmark Toolbar is never been enough for me, even in wide screen :P . So, I decided to remove labels from my toolbar bookmarks. And now its look like -

chrome-favicons

You can see, here my browser is Google Chrome. But, it is not necessary, you can also do it in Firefox.
Read the rest of this entry »

Captcha Breaking Experiment in PHP

Few days back I saw a really nice post of Nadim Jahangir about breaking captcha [Breaking CAPTCHA: Getting Naughty With Computer Vision Based Human Interaction Simulator Bot]. After, reading his post, I’d decided to create something similar with PHP. And I’ve already done it. I also use somewhereindhaka.net captcha for my experiment but didn’t create any bot to post in their site ;) .

Breaking Captcha with Histogram in PHP

Steps are very simple -

  1. Create horizontal & vertical histogram of captcha using PHP GD.
  2. Recognize each character by comparing values from histogram.
  3. I didn’t use any Template Recognition Algorithm. Rather, I use simple Edit Distance Algorithm (Levenshtein Distance). And it works :)

See it live – http://tr.im/35au

Poroshmoni 0.3 :: Firefox Extension

Hi, I’m back with this new extension ;) . We always want freedom. So today at Bijoy Dibosh, I’m giving you freedom for reading Prothom Alo. No more font dependency, just install this extension & read Prothom Alo in Unicode.

This is no more a site specific add-on. Now, It’ll convert the following sites to Unicode for you-

Actually it is an on-the-fly converter. It’ll convert the site just after loading.

If you can then please review my Extension in Mozilla Site. Any kind of comment or suggestion will be appreciable.

Thanks to Shabab Bhai (Shabab Mustafa aka Tarunno) for giving the name Poroshmoni & also hard working in bug testing plus bugging me(!!!) to complete this extension.
Read the rest of this entry »

Poroshmoni 0.2 :: Firefox Extension

Hi, I’m back with this new extension ;) . We always want freedom. So today at Bijoy Dibosh, I’m giving you freedom for reading Prothom Alo. No more font dependency, just install this extension & read Prothom Alo in Unicode. Actually it is an on-the-fly converter. It’ll convert the site just after loading.

If you can then please review my Extension in Mozilla Site. Any kind of comment or suggestion will be appreciable.

Thanks to Shabab Bhai (Shabab Mustafa aka Tarunno) for giving the name Poroshmoni & also hard working in bug testing plus bugging me(!!!) to complete this extension.

  1. Start Firefox (Better if you use latest version ;) ).
  2. To install click the download link below
  3. Click “Allow” on the upper right corner
  4. A pop-up (dialog box) will come, wait a moment then click install
  5. After restarting Firefox, goto http://www.prothom-alo.com/.

Read the rest of this entry »