[script] Tinag.sh – Monitoring up – down status

Xin giải thích ngay ý nghĩa của scipt này: Nó sẽ monitor một host nào đó, nếu host đó thay đổi trạng thái từ UP -> DOWN hoặc từ DOWN -> UP thì notify mình. Thế thôi!
Ô! vậy sao không dùng Nagios?
Còn cái tên – tại sao lại là Tinag? Tina G à? Không! Xin [...]

[fun] Kids are quick!

Got this serie from office, from my point of view it;s not just a joke.
Thanks Franko for sending this.
____________________________________
TEACHER: Maria, go to the map and find North America .
MARIA: Here it is.
TEACHER: Correct. Now class, who discovered America ?
CLASS: Maria.
____________________________________
TEACHER: John, why are you doing your math multiplication on the floor?
JOHN: You told me to [...]

Fix sudo timestamp error

My Ubuntu box has half a day quicker than the correct time. It just goes online and automatically syn to come back with reality :) That’s cool, but sudo noticed this and for security reason it blocked me from running sudo, I receive this error message when trying to use sudo:
sudo: timestamp too far in [...]

Đao khắc vào tim

Hình như là càng “già” mình càng dễ thay đổi lối suy nghĩ, không biết là do cuộc sống làm cho mình thay đổi hay đó là quá trình tự nhiên của tạo hóa. Tính mình rất thẳng thắn – đặc biệt là trong môi trường công sở, uhm, rất thẳng thắn pha một chút [...]

Unlock code for Samsung SGH-P207

How to unlock your samsung SGH-P207:
1. Reset to original factory setting by typing *2767*3855#, youre phone will reboot
2. Then insert a sim card that is from another network that your phone is not locked to.
3. An Wrong sim message will come up on the screen

awk with 2 FS or more

awk ‘BEGIN {FS=”[ %\t%:]+”;} {print $0}’
Ex:
top -b -d 1 | grep ^Cpu | awk ‘BEGIN {FS=”[ %\t]+”;} {print $2}’

Cách khắc phục khi Sendmail trong Redhat bị chết cứng khi khởi động

Sử dụng Redhat, Fedora thường hay gặp lỗi này: Cứ mỗi lần boot máy tới anh chàng sendmail start là ngồi chờ cỡ 5, 10 phút. Cái này không hẳn là lỗi, gọi là bug cũng không thật sự chính xác, tôi gọi nó là một bad behavior. Xem file /etc/host của mình sẽ như [...]