Example of C++ Sudoku Solver In GUI

Today I have a feeling to share the source code of my sudoku program that have been written in C++ QT.  You can download and edit the code if are interested to .

The UI of this program was developed in QT  and I used Microsoft Visual C++ 2010 to compile it.

[box type=”download”] 

[/box]

Screenshot:

sudoku

Otherwise if you just want to use the compiled version of this program, can download by clicking the button below

[box type=”download”] 

[/box]

The size of the file is quite huge as I put all the dependency required by the program to run so you don’t have to install and it’s also portable as long as you run the program on Windows XP and above.

Tags : ,

CPanel : Add email forwarder using PHP

This PHP script will add email forwarder to cPanel account by using it’s API. It’s pretty simple to call the API using PHP. For this example I’m not gonna use their SDK as it’s only one call, unless you want to call multiple API’s then their SDK is more practical.

You can download the entire script:

[box type=”download”] 

[/box]

Before run this script make sure to change some settings.

/*****
*Setting part
*Change according to your cPanel settings
*****/

$fwd_to_email = "[email protected]"; //your free email eg: gmail and so on.
$fwd_from_email = "[email protected]";  //your forwarder email
$port = 2082 ;  //2082 for unsecured, 2083 for secured but your hosting must support SSL (put https in cpanellogindomain)
$cpanelpassword = "yourpass#"; //your cPanel login password
$cpanelusername = "xxxx"; //your cPanel username
$cpanellogindomain = "http://mahadirlab.com"; //your domain when login to cPanel without port or /cpanel .

WHMCS Hacks – Get Domain TLD List

WHMCS provides various APIs for developer, but recently I  need an API to get list of the TLD domain for external search, mean like I don’t want to update the integration code everytime I add a new TLD. I searched through out the entire APIs but none of it provides this features so I  write it myself to access directly to database.

logoblue


Read the rest of this entry »

Tags : ,

Download Papago M11 Malaysia & Singapore

Today I had the opportunity to try new  Android Papago M11 for Malaysia and Singapore. Overall rating for this new version of Papago I can give 4 out of 5 stars. I have tried 2 versions of Papago navigation before this which were X5 and M9 so I can see this M11 have great improvement especially on better satellite signal reception, it only took about a few seconds in an open area to be connected to the satellite.

This app size is approximately 13MB and after downloading you’ll be prompted to download the map (about 454MB). One remarkable change I could see is the app is using Google Play verification which mean you need not have to enter license and if you change your  phone but still using same Google Play (Gmail) account so the app can be used on that new phone.


Read the rest of this entry »

Tags : , , ,

file_get_contents – failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

I was recently wrote Facebook application using graph API , In this case my application need to update settings in developer (www.developers.facebook.com).

 php5.4

The URL was like this


Read the rest of this entry »

Tutorial How to Root and UnRoot Phone with Android Gingerbread

In this tutorial I will share how to Root and Unroot Android Gingerbread without using Odin or starting the phone in download mode.

Please reminds that rooting your phone will void the Warranty. So make sure before you press the root button you have already think about the risk of it.I will certainly not responsible if the phone or rooting process not work as expected as in this tutorial. I have tested this method on Samsung Galaxy s2 with ROM Gingerbread 2.3.6 I9100GDZKJ2 and it works. So the previous versions of Gingerbread could be rooted by this method. 


Read the rest of this entry »

Tags : , , ,

Facebook Emoticons Tool (Free Software)

I really sure that all of you already knew about Facebook Chat Emoticon.. isn’t  right? so I will not spend my time to explain it. Actually I wrote this program to solve my own problem to memorize all of the emoticon symbols and need to refer the other website for certain symbol code when I was chatting with my friends . I  don’t know whether you have same the  problem like me.

If you have it, then you can have a try this Facebook Emoticon Tool.

Facebook Emoticon Tool

(The Interface of Facebook Emoticon Tool)


Read the rest of this entry »

Tags : , , , , , , ,

Anonymous Hacker Attacked Malaysian Government Portal

Wow… It was very shocked since a group of very well-known Hackers sent their notice to attack Malaysian Government portal on last Wednesday, 16 Jun at 7.30pm GMT . I’m a Malaysian so I care about it, but actually I agreed with what the Anonymous Hacker said, the government should not block the File Sharing site and Wikileaks it is about they take away human right . In my opinion why they not block all the porn site instead of the file sharing site. The 10 file sharings site that was commanded by Malaysian Communication and Multimedia Commision (MCMC) to be blocked by all Internet Service Provide (ISP) Malaysia was as listed below:


Read the rest of this entry »

Tags : , ,

MHR Custom Anti Copy (WordPress Plugin)

Do you come here to find the solution for your web contents always being copied by other peoples without your permission. Yeah that’s the problem and here I wrote a wordpress plugin to resolve the problem. You might said that the similiar plugin already exist on internet. But for me or maybe you sometimes having trouble with the plugin. Why??. Because if you noticed it, the plugin does not provide a real customization that users want. Sometimes, there are pages or posts you don’t want to protect for some reasons for example the page contain ‘scripts’ that your visitor need to copy it.

So, this plugin was produced with custom settings. You can set the protection on a single page or entire web pages you have. Okay, to experiment with the features you must have this plugin installed on your wordpress blog. If you have not yet downloaded the plugin, get it here:

http://wordpress.org/extend/plugins/mhr-custom-anti-copy/


Read the rest of this entry »

MHR Banner (WordPress Plugin)

MHR-Banner is a WordPress plugin for people who want to easily publish their banner easily and attractively. MHR-Banner was designed to help you publish your banner or advertisement on your WordPress’s page footer. Its capability is the banner showed will not irritating your visitors. If your visitors did not like the advertisement or the banner  disturbing them, they can simply close the banner or the advertisement.Another interesting feature of this plugin is the banner will not statically on page footer, if the user scroll down the page the banner will followed down. Ok let look at the feature of this plugin and how to install it. You can download this plugin through WordPress plugin site.


Read the rest of this entry »

Tags : , ,