5 Useful tools to convert your entire code into Colorized and browsable HTML

When you open your blog for sharing code, writing programming tutorial, publish a entry about codes, you should colorize, it called convert the entire code into colorized and make browsable with HTML. There are so many ways to do that, you can copy the code into web page design program and make up your code, but you don’t know what’re the easy ways to do that thing.

Continue reading

Create rounded corners using css easily…..

Someone who new to CSS layout from normal table before wanna create a new css content container/box maybe need to read this entry. I’ll guide you how to create one rounded contents container using css style, create as simply as you couldnt do by normal template using table tag before.

Firstly, you must review your rounded table before. If you use Table to do, you have 2 ways to create round corner box.

Continue reading

CMS battle: Drupal vs Joomla

If you are digging for CMS comparisons and trying to decide which one is best for you, here is the comparison

Here are some statistics from CMS Matrix for a more detailed comparison. It shows that Drupal is extremely modular and Joomla has a heavy core, thus a terrible architecture. That means Joomla is hard to extend and messy under the hood. Drupal, on the other hand, looks beautiful.

Continue reading

30 Useful PHP Classes and Components

Simplicity and extensibility are the main reasons why PHP became the favorite dynamic language of the Web. In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale Web systems.

Below I present 30 useful PHP classes and components that you can use to test, develop, debug and deploy your PHP applications. Let me know if I missed anything or if you have something to add.

Continue reading

Selecting random record from MySQL database table.

The simplest way of selecting random rows from the MySQL database is to use “ORDER BY RAND()” clause in the query.

Solution 1 [SQL]
SELECT * FROM `table` ORDER BY RAND() LIMIT 0,1;

The problem with this method is that it is very slow. The reason for it being so slow is that MySQL creates a temporary table with all the result rows and assigns each one of them a random sorting index. The results are then sorted and returned.

There are several workarounds to speed things up.

Continue reading

How to Use Gmail Labels as Folders?

Many of the internet users(including my friends) opt for Yahoo mail because it contains Folders.

Actually Gmail Labels provides more functionality than Yahoo Mails Folders. Gmail allows you to put emails into Labels or both Inbox and Label.

Here is how you can set Labels as Folders:

  • Go Under Settings Tab.
  • Choose Labels Tab and Create a New Label ( I used Google).

newlabel1

  • Now go under Filter Tab and Click on Create a filter

filtergoogle2

  • Choose your Filter criteria(I choose Has the Words :Google)
  • Click on Next.
  • Mark the BoxSkip the Inbox(Archive it) and Apply the Label Google

apply-google3

You can also take mails already in your Inbox to Label with criteria you have mentioned above.

labels4

Now your Labels are not just labels but are Folders too.

reCaptcha… Protect Yourself from spam

Hidemail is a new technology from reCaptcha where in your email id is made hidden and untill and unless you solve a captcha, you are not reveled the email id of the person. Like you see in the case above. If you have to see my complete email ID, then you have to click on the … and then solve the captcha and then only the email ID will be reveled.

External Links:
1. Recaptcha official website
2. mailHide technology