How to boot recovery img without flash

1. Turn the phone to fastboot mode
2. At CMD, type: fastboot.exe boot recovery.img

Posted in Uncategorized | Tagged | Leave a comment

HTC Legend 2.2 Update file

http://fotadl.htc.com/OTA_Legend_Froyo_S_HTC_WWE_3.15.405.3-2.05.405.2_release_160357lpbd4myxuoe8m8jr.zip

Posted in Uncategorized | Tagged | Leave a comment

How to Send Email from a PHP Script Using SMTP Authentication

Install pear:mail, pear:net_smtp

code:
require_once “Mail.php”;

$from = “Sandra Sender “;
$to = “Ramona Recipient “;
$subject = “Hi!”;
$body = “Hi,\n\nHow are you?”;

$host = “mail.example.com”;
$username = “smtp_username”;
$password = “smtp_password”;

$headers = array (‘From’ => $from,
‘To’ => $to,
‘Subject’ => $subject);
$smtp = Mail::factory(‘smtp’,
array (‘host’ => $host,
‘auth’ => true,
‘username’ => $username,
‘password’ => $password));

$mail = $smtp->send($to, $headers, $body);

if (PEAR::isError($mail)) {
echo(”

” . $mail->getMessage() . ”

“);
} else {
echo(”

Message successfully sent!

“);
}
?>

Ref: http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm

Posted in php | Tagged | Leave a comment

HTC Desire 2.2 Update File Name

http://fotadl.htc.com/OTA_Bravo_Froyo_HKCSL_CHT_2.11.832.2_R-1.19.832.2_release07wgptkr3k0wsoe1.zip

Posted in Uncategorized | Tagged | Leave a comment

Export Exchange mailbox to pst file

Cmd-let: Export-Mailbox -Identity username -PSTFolderPath c:\temp

Note: Use in client side, must installed with Exchange 2007 Management tools, Powershell and Outlook 2003 or above.

Posted in Uncategorized | Tagged | Leave a comment

“Application Data” Path for Windows XP/7

APPDATA:

WinXP: C:\Documents and Settings\%username%\Application Data

Win7: C:\Users\%username%\AppData\Roaming

LOCALAPPDATA:

WinXP(N/A): C:\Documents and Settings\%username%\Local Settings\Application Data

Win7: C:\Users\%username%\AppData\Local

Posted in Uncategorized | Leave a comment

Suspending and Resuming Debian-Based Linux Guests Breaks the Network Connection

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1923

Posted in Debian, VMWare | Tagged , , | Leave a comment

Disable Windows Server Shutdown Event Tracker

Open the Group Policy Object Editor Console. Go to Start > Run…, type gpedit.msc and press OK.

Navigate to Computer Configuration > Administrative Templates > System and in the right hand pane, select the “Display Shutdown Event Tracker” setting.

Double Click this setting to open the Properties page. You are now given the option to leave it in a default state of Not Configured, set it to Always Enabled, Enabled for Servers/Workstations (Windows XP Pro) or Disabled completely (as the image below demonstrates).

http://www.windowsnetworking.com/articles_tutorials/Disable-Shutdown-Event-Tracker-Windows-2003.html

Posted in Windows | Leave a comment

Windows Setup Path for CD

regedit
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath

Posted in Windows | Tagged , , | Leave a comment

Firmware versions of Nokia mobile phones

http://hunajatehdas.net/nokia/firmware/en/

Posted in Nokia | Leave a comment