Saturday, October 24, 2009

Tips for searching at Google

วิธีที่ง่ายที่สุดวิธีหนึ่งในการค้น หรือ search ใน Google ก็คือ

1.พิมพ์เป็นประโยคคำถามลงไปตรง ๆ
How long is the great wall of China?
Who was the 10th president of the USA?
Who is the most beautiful woman in the world?

2.พิมพ์เป็นวลีหรือประโยคบอกเล่า แล้วเติมเครื่องหมายดอกจัน ( * ) ตรงที่หมายให้เป็นคำตอบ ทำนองให้ Google เติมคำในช่องว่าง
The longest river in the world is *
The capital of Fiji is *
The oldest person in the world is *
* is the hottest place in the world
Thailand is famous for *

หรือเราอาจจะต้องการรู้ว่า ผู้คนให้ความเห็นเกี่ยวกับเรื่องราวบางอย่างไว้อย่างไรบ้าง ก็หาได้
happiness is *
love is *

3. พิมพ์เป็นวลียาว ๆ ที่ชัดเจนลง ไป โดยให้จินตนาการว่า สิ่งที่เราพิมพ์ลงไปจะเป็นส่วนหนึ่งของคำถามที่คนเขามักจะถามกันในเน็ต หรือเป็นส่วนหนึ่งของบทความ, เนื้อข่าว, หรือเรื่องราว เช่น
the most popular free English-study website in the world
the heaviest man in the world

มี code บางตัวที่น่าจำไว้ใช้ เช่น

1.พิมพ์เครื่องหมาย ~ ไว้หน้าคำค้น เช่น ~study, Google ก็จะค้นหาคำที่มีความหมายเหมือนหรือคล้าย ๆ กับ study ด้วย เช่น
The richest ~person in Thailand *
The poorest ~person in Thailand *
The oldest ~person in Thailand *

2.พิมพ์ intitle:คำค้น จะทำให้ได้คำค้นที่อยู่ในชื่อเรื่อง คือระบุขอบเขตของการค้นให้กระชับขึ้น
intitle:happiness is *
intitle:love is *

3.พิมพ์วลีค้นในเครื่องหมายพูด เช่น “ประโยคสนทนา” จะทำให้ Google ค้นวลีนี้เด๊ะเลย เช่น
I love you because *
intitle:"ประโยคสนทนา"


ดัดแปลงจาก: http://english-for-thais-2.blogspot.com/2009/06/1098-google.html
สิริพงษ์ พงศ์ภิญโญภาพ

Sunday, October 4, 2009

Wired Network - device not managed

Once I manually made /etc/network/interfaces like this
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 172.20.24.222
netmask 255.255.255.0
network 172.20.24.0
broadcast 172.20.24.255
gateway 172.20.24.254

/etc/resolv.conf
nameserver 202.22.11.39

/etc/init.d/networking restart

to specific a static ip address.

When I wanted to configue it back to DHCP,
I could not use NetworkManager Applet to manage the eth0.
It showed "Wired Network -> device not managed".

Note:
For this, I learned that to configure,
just use the NetworkManager Applet GUI
( /usr/bin/nm-connection-editor ).


Again later I connected Ubuntu to a ADSL modem using pppoeconf
( https://help.ubuntu.com/community/ADSLPPPoE )
and later connected back to a dhcp hub,
the same error appeared.

The solution
========
that work perfectly on both is
changing the content of /etc/network/interfaces to be:

auto lo eth0
iface lo inet loopback

OS: Ubuntu 9.04

Thursday, October 1, 2009

Mouse buttons are referred as

Button1 .....Left Mouse Button
Button2.......enter Mouse Button (click-able scroll wheel in some cases)
Button3......Right Mouse Button
Button4........Scroll Wheel Up
Button5.......Scroll Wheel Down

If you have customized your mouse in '/etc/X11/xorg.conf' then these buttons will operate according to that map.

Resource: http://wiki.compiz-fusion.org/CommonKeyboardShortcuts