Friday, October 29, 2010

OSX Key: Keyboard Shortcut Key For Delete Function

You can use one of the keyboard shortcut key below to perform 4 way of delete action:


delete
Delete one typed character at a time to the left.

fn + delete 
Delete one typed  character at a time to the right. Just like "Del" key on PC.

option + delete
Delete whole typed words at a time to the left

command + delete
Delete all typed charters to the left.


As far as I can tell this works all over Mac OS X and in most apps, including Safari, TextEdit, Terminal, Finder, iTunes, iChat, and more.

Saturday, July 10, 2010

OSX Network: Network Error (tcp_error)

If website not loaded and the following error is displayed usually it's caused by DNS cache.

-------------------------------------------------------------------

Network Error (tcp_error)
A communication error occurred: "Operation timed out"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

For assistance, contact your network support team.

-------------------------------------------------------------------

DNS request are usually cache, that’s good as it speeds up the lookups within the same host but sometimes we will want to clear the cache so it don’t hold the values that are no longer valid.

In Leopard (Mac OSX 10.5) or Snow Leopard (10.6) to clear DNS cache , just type this in your Terminal and hit enter:

dscacheutil -flushcache


Note:
A DNS server matches the URL of a website (eg www.domain.com) with its numeric IP address - it translates www.domain.com into the unique numeric IP address (XX.XX.XX.XXX). Whenever you request a web page, your browser asks the name server to find the numeric translation of the URL.

Without the DNS servers, it would be a complicated web because we would have to know all the IP addresses rather than the nice friendly name, like Google.com.