Category Archives: Trick

Parse single Javascript object in Jquery by $.ajax method

Chưa thử test với Jquery phiên bản mới nhất, mới chạy trên bản 1.2.1 (dự án hiện tại đang dùng ). Khi sử dụng $.ajax như bên dưới thì phát sinh lỗi: ?View Code JAVASCRIPT1 2 3 4 5 6 … Continue reading

Posted in Ajax, Javascript, Trick, jQuery | Leave a comment

Bypass new rapidshare download countdown

Simply drag this link to your bookmark, when rapidshare counter start, click it once. It will reset the download counter so you can start downloading without having to wait for the countdown to finish. Before download start (for free) ?View … Continue reading

Posted in Trick | Leave a comment

Create short IDs with PHP – Like Youtube or TinyURL

IDs are often numbers. Unfortunately there are only 10 digits to work with, so if you have a lot of records, IDs tend to get very lengthy. For computers that’s OK. ButOther title options where How to create unique short … Continue reading

Posted in PHP, Trick | Leave a comment

Generate data

Trước đây từng hơi bí với việc test performance với lượng dữ liệu lớn vì phía khách hàng họ “gợi ý” là dữ liệu tuy là để test nhưng cũng phải “đẹp” nữa, và họ không thích kiểu tên nhân … Continue reading

Posted in Trick | 3 Comments

Lấy bảng dự báo thời tiết

Dễ lắm Ngày xửa ngày xưa thì dùng đoạn Javascript của bên Vnexpress.net. Nhưng giờ ít ai dùng cái đó nữa vì nó quá đơn giản. Thế nên sẽ lấy ở các nguồn khác thôi. Chung quy lại, là nên … Continue reading

Posted in PHP, Trick | 4 Comments