X

Blog

How to enable IE6-7-8 compatibility view in Internet Explorer 8

Are you a web-developer? Do you want to earn more money? Join our affiliate program, offer our hosting to your…

How to transfer website from Netfirms to 2by2host

Transferring your site from NetFirms to 2by2host There are two ways of doing that: 1). complicated and 2). very complicated…

English StopWords for PHP

Below is the list of commonly used words (commonly occurring words ignored by search engines): $2by2host_stopwords = array( "a", "able",…

Addons for FireFox: IP detector and Universal Video Ember Addon

We use Internet Explorer, Opera, Safari and many other browsers. But we love FireFox, because we can expand its features.…

How to list all MySQL queries

Ever wondered how to list all MySQL queries running on your server? This can be helpful when troubleshooting server loads.…

How to create a tar.gz archive of a directory

It's very simple, as most of the commands in Linux/Unix: Login to your *nix box via SSH or a terminal…

How to get a size of a directory in Linux

To get a directory size, run this command from the directory: du -shm What do the parameters above mean? -s…

How to list all available databases in MySQL

Show databases from MySQL prompt Log in as root to your MySQL server, using the following command: mysql -u root…

Getting root password in Ubuntu

The root user is not obvious in Ubuntu after the set up in fact only root access can be gained…

How to run mysqldump command

Backup a single database: Run from your terminal window to get a database dump: mysqldump -u username -ppassword database_name >…