Ubuntu 10.04 is quite old, you can’t just upgrade it right away using do-release-upgrade, you should try the following steps: sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install update-manager-core sudo do-release-upgrade If that’s still doesn’t work, replace /etc/apt/sources.list with this file # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution. deb http://ubuntu.datahop.net/ubuntu/ precise main restricted deb-src http://ubuntu.datahop.net/ubuntu/ precise main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://ubuntu.datahop.net/ubuntu/ precise-updates main restricted deb-src http://ubuntu.datahop.net/ubuntu/ precise-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, pleaseRead More →

Do you still love working with Delphi 7? I do. Delphi 7 is quite old and there are many features on the new Windows 7 that it’s not able to do. Today i faced a problem with UAC, my application needs to run under administrator account, when UAC is enabled, i can’t detect if the user is running with admin account or not. With the new application, the application can force the user to run in administrator mode when UAC is enable easily. Luckily, there is a solution on now. 1. Remove XPMan: Remove any reference to XPMan component in your project. XPMan adds aRead More →

<?php require(‘wp-blog-header.php’); ?> <?php get_header(); ?> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head profile=”http://gmpg.org/xfn/11″> <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo (‘charset’); ?>” /> <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> <?php wp_head(); ?> </head> <body> It works! </body> </html> <?php get_footer(); ?>Read More →

RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/(file|member|photo) [NC] RewriteRule . /index.php [L] RewriteRule ^member/([0-9]+)/ /member_profile.php?m=$1 RewriteRule ^file/([0-9]+)/(.+)? /file.php?f=$1 RewriteRule ^photo/([^/]+)/([^/]+)/(.+)? /file.php?type=$1&ref_id=$2&photo=1Read More →

Due to the number of spammers using port 25 to send emails, many large ISPs has blocked this port from their network. This means if your client is behind their network and try to connect to your company mail server on port 25 to send email, it will be blocked. We can’t ask the ISP to unblock it, so our solution is to create an additional port on our server so that our client can connect to that port instead of 25 to send email. If you are using WHM, it’s very easy, follow these steps below: Login into your server’s WHM (https://[main server IPRead More →

A user came to me with this laptop, he said his powerpoint is not working, when he open an existing powerpoint, it’s very slow to load that powerpoint. I tried all my troubleshootings, clear MS office Temp files, remove add-ins , repair , re-install MS Office, but it still didn’t work. My last try was to create a new windows profile for him, and it worked perfectly. So, my thought is: if user is having problem with Office, creating a new profile for him/her is the best way. It might take more time, but it should work.Read More →

If you are looking for a good software to recover files, this is a good software: DMDE – DM Disk Editor and Data Recovery Software http://dmde.com/ I have successfully recover many disks having problem with its file system. I can recover NTFS , EXT3/4 on linux.Read More →

I need to run some PHP scripts in the background, this script should still run while i log off my SSH session. I first try php myscript.php & It run in the background, but then when my SSH ends, the job will be also suspended. After some research, finally, i found that i can use nohup command to do this job, it’s very simple nohup php myscripts.php & Remember to add & at the end of the script. If you want to check if it’s actually runnning, use this commmand jobs -lRead More →