iPod Nano 1st Gen Exploded!!!

Posted on February 22nd, 2009

I’ve heard news about the iPod nano explosion or burned, but I’d never imagined it could happen to me. I bought it 4 years ago and really love it, I used it everyday and take it with me everywhere. After 4 years, I bought a new iPod Nano 4th Gen and gave the old one to my brother.

2 days ago around 3 a.m., my brother was woke up to a strange hissing sound from the iPod, he heard ‘pop’ sound and followed with the flame from the iPod, lot of smoke.

How could this happened? The iPod was left on the table with charging, it just exploded?

How bad could someone injured if he put it in his shirt pocket ?(or jeans pocket as I always do)

It was very lucky that my brother hear the sound and put out the fire in time, and also the iPod was put on the table, not on the bed or the fire could burn down my house.

To all iPod Nano 1st Gen owners: Do not leave it charge unattended and Do not put it near any flammable object!

วิธีใช้ login ของ wordpress กับ script ที่เราเขียนเอง

Posted on October 15th, 2008

The script below checks if user already logged in, if not, it will redirect to Wordpress Login page then send the user back after they enter the correct username & password.

มีคนถามเรื่องนี้มา ตัวเราก็อยากรู้เองเหมือนกัน เลยไปค้น ๆ ดูแล้วมั่วเอา ได้ สคริปท์แบบนี้

<?php

require_once(’wp-load.php’);
if (!is_user_logged_in())
{
auth_redirect();
}

?>

เป็นการหา cookie ของ wordpress ถ้าไม่เจอจะส่งไปที่หน้า login หลังจากนั้นค่อยส่งกลับมาหน้าเดิม

Next Page »
© Quando Omni Flunkus Moritati • Powered by Wordpress • Using the Swiss Cool theme.