<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Phinhathai&#039;s Blog</title>
	<atom:link href="http://phinhathai.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://phinhathai.wordpress.com</link>
	<description>Just another WordPress.com site</description>
	<lastBuildDate>Mon, 26 Dec 2011 08:20:34 +0000</lastBuildDate>
	<language>th</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='phinhathai.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Phinhathai&#039;s Blog</title>
		<link>http://phinhathai.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://phinhathai.wordpress.com/osd.xml" title="Phinhathai&#039;s Blog" />
	<atom:link rel='hub' href='http://phinhathai.wordpress.com/?pushpress=hub'/>
		<item>
		<title>MySql Commnad ที่น่าสนใจ</title>
		<link>http://phinhathai.wordpress.com/2011/12/26/mysql-commnad-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%99%e0%b9%88%e0%b8%b2%e0%b8%aa%e0%b8%99%e0%b9%83%e0%b8%88/</link>
		<comments>http://phinhathai.wordpress.com/2011/12/26/mysql-commnad-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%99%e0%b9%88%e0%b8%b2%e0%b8%aa%e0%b8%99%e0%b9%83%e0%b8%88/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 04:14:18 +0000</pubDate>
		<dc:creator>phinhathai</dc:creator>
				<category><![CDATA[MySql]]></category>

		<guid isPermaLink="false">http://phinhathai.wordpress.com/?p=165</guid>
		<description><![CDATA[DB Size for all schema on server สำหรับผู้ดูแลระบนั้น การหา Database size เป็นเรื่องที่ต้องการ ดังนั้นจึงแนะ Sql command ที่ใช้หา Database Size ดังนี้ SELECT &#8230;<p><a href="http://phinhathai.wordpress.com/2011/12/26/mysql-commnad-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%99%e0%b9%88%e0%b8%b2%e0%b8%aa%e0%b8%99%e0%b9%83%e0%b8%88/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=165&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>DB Size for all schema on server</h2>
<p>สำหรับผู้ดูแลระบนั้น การหา Database size เป็นเรื่องที่ต้องการ ดังนั้นจึงแนะ Sql command ที่ใช้หา Database Size ดังนี้</p>
<pre>SELECT table_schema "Data Base Name", SUM( data_length + index_length) / 1024 / 1024 "Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema ;</pre>
<p>บวกค่าของ the data_length + index_length is equal to the total table size.</p>
<ol>
<li>data_length – store the real data.</li>
<li>index_length – store the table index.</li>
</ol>
<p>Result:</p>
<pre>+--------------------------------+----------------------+
| Data Base Name                 | Data Base Size in MB |
+--------------------------------+----------------------+
| digital_publishing_development |           0.43750000 |
| digital_publishing_test        |           0.39062500 |
| information_schema             |           0.00878906 |
| mediawrap3_development         |           8.28125000 |
| mediawrap3_production          |        1099.12500000 |
| mysql                          |           0.61379814 |
| performance_schema             |           0.00000000 |
+--------------------------------+----------------------+
7 rows in set (7.55 sec)</pre>
<h2>Find DB Size specific Schema</h2>
<p>การหา database size เฉพาะตัวที่ต้องการ สามารถทำได้โดยการระบุ Database name แทนใน YOUR_DB_NAME</p>
<pre>SELECT table_schema "Data Base Name", SUM( data_length + index_length) / 1024 / 1024 "Data Base Size in MB" FROM information_schema.TABLES where TABLE_SCHEMA like '%YOUR_DB_NAME%' GROUP BY table_schema ;</pre>
<p>จะแสดงเฉพาะ database ที่เราต้องการ<br />
Result:</p>
<pre>+----------------+----------------------+
| Data Base Name | Data Base Size in MB |
+----------------+----------------------+
| dooexpert      |          23.93848324 |
+----------------+----------------------+
1 row in set (2.82 sec)</pre>
<h2>Show database/table command</h2>
<p>ในกรณีที่ต้องการดูว่ามี database/schema อะไรบ้าง ใน MySql server นี้ ใช้ command</p>
<pre> show database;</pre>
<p>ในกรณีที่ต้องการดูว่ามี table อะไรให้ทำดังนี้ แทนค่า Database_Name </p>
<pre>mysql&gt; use Database_Name;
mysql&gt; show tables;
</pre>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phinhathai.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phinhathai.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phinhathai.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phinhathai.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phinhathai.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phinhathai.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phinhathai.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phinhathai.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phinhathai.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phinhathai.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phinhathai.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phinhathai.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phinhathai.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phinhathai.wordpress.com/165/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=165&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phinhathai.wordpress.com/2011/12/26/mysql-commnad-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%99%e0%b9%88%e0%b8%b2%e0%b8%aa%e0%b8%99%e0%b9%83%e0%b8%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dd2fee0360567233331c0a75f02ff69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">phinhathai</media:title>
		</media:content>
	</item>
		<item>
		<title>Nginx</title>
		<link>http://phinhathai.wordpress.com/2011/11/23/nginx/</link>
		<comments>http://phinhathai.wordpress.com/2011/11/23/nginx/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 06:52:23 +0000</pubDate>
		<dc:creator>phinhathai</dc:creator>
				<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://phinhathai.wordpress.com/?p=127</guid>
		<description><![CDATA[Config file nginx location: /opt/nginx/conf/nginx.conf Restart Nginx: sudo /etc/init.d/nginx stop ... sudo /etc/init.d/nginx start การกำหนดค่าให้ upload file ได้ (500 MB) &#8230;<p><a href="http://phinhathai.wordpress.com/2011/11/23/nginx/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=127&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Config file nginx location:</h2>
<pre>/opt/nginx/conf/nginx.conf</pre>
<h2>Restart Nginx:</h2>
<pre>sudo /etc/init.d/nginx stop
...
sudo /etc/init.d/nginx start</pre>
<h2>การกำหนดค่าให้ upload file ได้ (500 MB)</h2>
<p>โดยไปแก้ไขใน nginx.conf ในส่วน http {</p>
<pre>client_max_boby_size 500M;</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phinhathai.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phinhathai.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phinhathai.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phinhathai.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phinhathai.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phinhathai.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phinhathai.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phinhathai.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phinhathai.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phinhathai.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phinhathai.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phinhathai.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phinhathai.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phinhathai.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=127&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phinhathai.wordpress.com/2011/11/23/nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dd2fee0360567233331c0a75f02ff69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">phinhathai</media:title>
		</media:content>
	</item>
		<item>
		<title>File Hosts ใน OS ต่างๆ</title>
		<link>http://phinhathai.wordpress.com/2011/11/16/file-hosts-%e0%b9%83%e0%b8%99-os-%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b9%86/</link>
		<comments>http://phinhathai.wordpress.com/2011/11/16/file-hosts-%e0%b9%83%e0%b8%99-os-%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b9%86/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 07:34:45 +0000</pubDate>
		<dc:creator>phinhathai</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://phinhathai.wordpress.com/?p=121</guid>
		<description><![CDATA[เนื่องจากบางครั้งเราต้องการจะกำหนด domain name ขึ้นมาใช้เอง โดยไม่ไปกระทบกับ DNS ของส่วนรวม สามารถทำได้ด้วยการแก้ไข File hosts ของเครื่องที่เราใช้ทำงานได้ โดย location ของ file จะแตกต่างกันตาม OS ดังนี้ Mac  &#8211;&#62; &#8230;<p><a href="http://phinhathai.wordpress.com/2011/11/16/file-hosts-%e0%b9%83%e0%b8%99-os-%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b9%86/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=121&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>เนื่องจากบางครั้งเราต้องการจะกำหนด domain name ขึ้นมาใช้เอง โดยไม่ไปกระทบกับ DNS ของส่วนรวม สามารถทำได้ด้วยการแก้ไข File hosts ของเครื่องที่เราใช้ทำงานได้ โดย location ของ file จะแตกต่างกันตาม OS ดังนี้</p>
<ul>
<li>Mac  &#8211;&gt; /private/etc/hosts</li>
<li>Windows  &#8211;&gt; /windows/system32/drivers/etc/hosts</li>
<li>Linux &#8211;&gt; /etc/hosts</li>
</ul>
<p>Example hosts</p>
<p>127.0.0.1    localhost</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phinhathai.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phinhathai.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phinhathai.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phinhathai.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phinhathai.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phinhathai.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phinhathai.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phinhathai.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phinhathai.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phinhathai.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phinhathai.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phinhathai.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phinhathai.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phinhathai.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=121&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phinhathai.wordpress.com/2011/11/16/file-hosts-%e0%b9%83%e0%b8%99-os-%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b9%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dd2fee0360567233331c0a75f02ff69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">phinhathai</media:title>
		</media:content>
	</item>
		<item>
		<title>คำคม ชวนคิด</title>
		<link>http://phinhathai.wordpress.com/2011/09/14/%e0%b8%84%e0%b8%b3%e0%b8%84%e0%b8%a1-%e0%b8%8a%e0%b8%a7%e0%b8%99%e0%b8%84%e0%b8%b4%e0%b8%94/</link>
		<comments>http://phinhathai.wordpress.com/2011/09/14/%e0%b8%84%e0%b8%b3%e0%b8%84%e0%b8%a1-%e0%b8%8a%e0%b8%a7%e0%b8%99%e0%b8%84%e0%b8%b4%e0%b8%94/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 04:10:43 +0000</pubDate>
		<dc:creator>phinhathai</dc:creator>
				<category><![CDATA[ทั่วไป]]></category>

		<guid isPermaLink="false">http://phinhathai.wordpress.com/?p=102</guid>
		<description><![CDATA[ปรัชญาขงจื้อ -ไม่ต้องเป็นห่วงคนอื่นที่ไม่เข้าใจเรา แต่ต้องเป็นห่วงว่าเรา ไม่เข้าใจคนอื่น -การที่ยอมรับว่าไม่รู้นั้น ก็คือความที่รู้แล้ว -บัณฑิตคิดถึงว่า ทำอย่างไรจะเพิ่มพูนคุณธรรมของตนได้ คนพาลคิดถึงว่า ทำอย่างไรจึงจะเห็นความเป็นอยู่ขอตนสะดวกสบายขึ้น โดยไม่คำนึง ถึงคุณธรรม -บัณฑิตรู้เฉพาะเรื่องที่ขอบด้วยคุณธรรม คนพาลรู้เฉพาะเรื่องที่ได้ผลกำไร โดยไม่คำนึง ถึงคุณธรรม -ผู้มีคุณธรรมย่อมไม่ถูกทอดทิ้งโดยโดดเดี่ยว และจะต้องมีเพื่อนบ้านมาคบหา -ไม่คิดถึงความชั่วของคนอื่นในอดีตกาล จึงมีคนโกรธท่านน้อย &#8230;<p><a href="http://phinhathai.wordpress.com/2011/09/14/%e0%b8%84%e0%b8%b3%e0%b8%84%e0%b8%a1-%e0%b8%8a%e0%b8%a7%e0%b8%99%e0%b8%84%e0%b8%b4%e0%b8%94/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=102&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>ปรัชญาขงจื้อ</strong></p>
<p>-ไม่ต้องเป็นห่วงคนอื่นที่ไม่เข้าใจเรา แต่ต้องเป็นห่วงว่าเรา ไม่เข้าใจคนอื่น</p>
<p>-การที่ยอมรับว่าไม่รู้นั้น ก็คือความที่รู้แล้ว</p>
<p>-บัณฑิตคิดถึงว่า ทำอย่างไรจะเพิ่มพูนคุณธรรมของตนได้<br />
คนพาลคิดถึงว่า ทำอย่างไรจึงจะเห็นความเป็นอยู่ขอตนสะดวกสบายขึ้น โดยไม่คำนึง ถึงคุณธรรม</p>
<p>-บัณฑิตรู้เฉพาะเรื่องที่ขอบด้วยคุณธรรม คนพาลรู้เฉพาะเรื่องที่ได้ผลกำไร โดยไม่คำนึง ถึงคุณธรรม</p>
<p>-ผู้มีคุณธรรมย่อมไม่ถูกทอดทิ้งโดยโดดเดี่ยว และจะต้องมีเพื่อนบ้านมาคบหา</p>
<p>-ไม่คิดถึงความชั่วของคนอื่นในอดีตกาล จึงมีคนโกรธท่านน้อย</p>
<p>-จงเป็นนักศึกษาในแบบบัณฑิต อย่าเป็นนักศึกษาในแบบคนพาล</p>
<p>-บัณฑิตย่อมมีจิตใจกว้างขวางราบรื่น<br />
คนพาลย่อมมีความกลัดกลุ้มอยู่เวลา</p>
<p>-ยังปรนนิบัติคนที่มีชีวิตไม่เป็น จะปรนนิบัติเซ่นไหว้เทพเจ้ากับผีได้อย่างไรเล่า</p>
<p>-ต่างตักเตือนให้กำลังใจกันและกัน อยู่กันด้วยความสามัคคี เรียกว่าเป็นนักศึกษาได้</p>
<p>-ในระหว่างเป็นเพื่อนกันต้องตักเตือนให้กำลังใจกันและกัน ในระหว่างพี่น้องต้องสามัคคีกัน</p>
<p>-เมื่อรักเขาจะไม่ให้กำลังใจเขาได้หรือ เมื่อซื่อสัตย์ต่อเขา จะไม่ตักเตือนสั่งสอนเขาได้หรือ</p>
<p>-ปราชญ์ย่อมหลีกเลี่ยงสังคมที่เลวร้าย สถานที่เลวร้าย มารยาทที่เลวร้าย และวาจาที่เลวร้าย</p>
<p>-ตำหนิตนเองให้มาก ตำหนิผู้อื่นให้น้อย ก็จะไม่มีใครโกรธแค้น</p>
<p>-บัณฑิตขอร้องกับตนเอง ส่วนคนพาลนั้นจะขอร้องกับคนผู้อื่น</p>
<p>-บัณฑิตมีความภาคภูมิใจในตนเอง โดยไม่แย่งชิงความภาคภูมิใจของคนอื่น บัณฑิตมีความสามัคคี แต่ไม่เล่นพวกกัน</p>
<p>-พูดไพเราะตลบแตลง ทำให้สูญเสียคุณธรรม</p>
<p>-เรื่องเล็กไม่อดกลั้นไว้จะทำให้แผนเรื่องใหญ่เสีย</p>
<p>-ทุกคนเกลียดก็ต้องพิจารณา ทุกคนรักก็ต้องพิจารณา</p>
<p>-เพื่อนที่ซื่อตรง เพื่อนที่มีความชอบธรรม เพื่อนที่มีความรู้ ทั้ง ๓ ประเภทนี้มีประโยชน์แก่เรา</p>
<p>-เพื่อนที่ประจบสอพลอ เพื่อนที่ทำอ่อนน้อมเอาใจ เพื่อนที่ชอบเถียงโดยไม่มีความรู้ ทั้ง ๓ ประการนี้เป็นภัยแก่เรา</p>
<p>-บัณฑิตมีความกลัวอยู่ ๓ ประการ</p>
<p>กลัวประกาศิตของสวรรค์<br />
กลัวผู้มีอำนาจ<br />
กลัวคำพูดของอริยบุคคล</p>
<p>-อ่านหนังสือโดยไม่ค้นคิด การอ่านจะไม่ได้อะไร ค้นคิดโดยไม่ได้อ่านหนังสือ การค้นคิดจะเปล่าประโยชน์</p>
<p>-ทบทวนเรื่องเก่า และรู้เรื่องใหม่ขึ้นมาอีก ก็จะเป็นครูได้</p>
<p>-นักศึกษาสมัยก่อน ศึกษาเพื่อให้ตนมีความสำเร็จในการศึกษา นักศึกษาในปัจจุบัน ศึกษาเพื่อให้คนอื่นรู้ว่าตนเองมีการศึกษา</p>
<p>-ชอบเอาสองคนมาเทียบกันว่าใครดีกว่าใคร เธอเองเก่งพอแล้วหรือ สำหรับเราไม่มีเวลาว่างมาทำเช่นนั้น</p>
<p>-ผู้ที่มีเมตตาธรรมเท่านั้น จึงจะสามารถรักคนด้วยความจริงใจ และจึงสามารถเกลียดคนด้วยความจริงใจ</p>
<p>-ผู้มีปัญญาชื่นชมน้ำ เป็นผู้ขยัน ผู้มีความสุข ผู้มีเมตตาชื่นชมภูเขา เป็นผู้รักสงบ เป็นผู้มีอายุยืน</p>
<p>-เลี้ยงดูพ่อแม่ให้มีชีวิตอยู่ได้เท่านั้นนะหรือ ถ้าเช่นนั้น หมากับม้าก็ได้รับการเลี้ยงดูให้มีชีวิตอยู่เช่นกัน</p>
<p>สิ่งที่แข็งที่สุด เอาชนะได้ด้วยสิ่งที่อ่อนที่สุด</p>
<p>-เมื่อประตูบานหนึ่งปิด อีกบานหนึ่งก้อเปิดแต่บ่อยครั้งที่เรามัวแต่จ้องประตูบานที่ปิดจนไม่ทันเห็นว่ามีอีกบานที่เปิดอยู่</p>
<p>-อย่ามัวค้นหาความผิดพลาด จงมองหาหนทางแก้ไข</p>
<p>-อารมณ์ขันเป็นสิ่งยอดเยี่ยมที่สุดที่ช่วยรักษาสิ่งอื่นได้ เพราะทันทีที่เกิดอารมณ์ขันความรำคาญและความขุ่นข้องหมองใจจะมลายไปกลับกลายเป็นความเบิกบานแจ่มใสของจิตใจเข้ามาแทนที่</p>
<p>-อย่ากลัวที่จะนั่งหยุดพักเพื่อคิด<br />
1 นาทีที่คุณโกรธเท่ากับคุณได้สูญเสีย 60 วินาทีแห่งความสงบในจิตใจไปแล้ว</p>
<p>หนทางเดียวที่จะรักษาภาพพจน์ได้คือการซื่อสัตย์ตลอดเวลา</p>
<p>-ผู้ชนะไม่เคยลาออก และผู้ลาออกก็ไม่เคยชนะ</p>
<p>-ออกซิเจนสำคัญต่อปอดเช่นไร ความหวังก็เป็นเช่นนั้นต่อความหมายของชีวิต</p>
<p>-การมีชีวิตอยู่นานเท่าใดมิใช่สิ่งสำคัญ สิ่งสำคัญก็คือ มีชีวิตอยู่อย่างไร</p>
<p>-เราเข้าใจชีวิตเมื่อมองย้อนหลังเท่านั้น แต่เราต้องดำเนินชีวิตไปข้างหน้า</p>
<p>-เราไม่อาจล้างมือที่แปดเปื้อนซ้ำได้เป็นครั้งที่ 2 ในสายน้ำไหล(สุภาษิต ทิเบต)</p>
<p>-ไม่มีสิ่งใดช่วยให้คุณได้เปรียบคนอื่นมากเท่ากับการควบคุมอารมณ์ให้สงบนิ่งอยู่ตลอดเวลาในทุกสถานการณ์</p>
<p>-ความอดทนคือเพื่อนสนิทของสติปัญญา</p>
<p>-พรสวรรค์ยิ่งใหญ่ของมนุษย์ คือ การที่เราสามารถเอาใจเขามาใส่ใจเราได้</p>
<p>-ในธรรมชาติไม่มีสิ่งใดดีพร้อม แต่ทุกอย่างก็สมบูรณ์แบบในตัวเอง ต้นไม้อาจบิดเบี้ยวโค้งงออย่างประหลาด แต่ก็ยังคงความงดงาม<br />
มักพูดกันว่ากาลเวลาเปลี่ยนทุกสิ่ง แต่จริงๆแล้ว คุณต้องเปลี่ยนทุกสิ่งด้วยตนเอง</p>
<div>อ้างอิงจาก</div>
<div><a title="http://www.sarut-homesite.net/ขงจื้อ" href="http://www.sarut-homesite.net/%E0%B8%82%E0%B8%87%E0%B8%88%E0%B8%B7%E0%B9%8A%E0%B8%AD-%E0%B8%A5%E0%B8%B1%E0%B8%97%E0%B8%98%E0%B8%B4%E0%B8%82%E0%B8%87%E0%B8%88%E0%B8%B7%E0%B9%8A%E0%B8%AD-%E0%B8%9B%E0%B8%A3%E0%B8%B1%E0%B8%8A%E0%B8%8D/" target="_blank">http://www.sarut-homesite.net/</a></div>
<div>*****************************</div>
<div>คนปัญญาน้อยชอบตัดสินคนอื่น</div>
<div>คนปัญญาดีชอบให้โอกาสคนอื่น…</div>
<div>อยู่ให้คนรักคืออยู่อย่างผู้ให้ จากไปให้คนอาลัยคือก่อนจากสร้างสรรค์แต่สิ่งมีคุณค่า</div>
<div>อย่าอิจฉา คนเลวที่มีความสุข เพราะบั้นปลายของเขาคือ ความทุกข์ระทมแน่นอน</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phinhathai.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phinhathai.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phinhathai.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phinhathai.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phinhathai.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phinhathai.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phinhathai.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phinhathai.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phinhathai.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phinhathai.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phinhathai.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phinhathai.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phinhathai.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phinhathai.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=102&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phinhathai.wordpress.com/2011/09/14/%e0%b8%84%e0%b8%b3%e0%b8%84%e0%b8%a1-%e0%b8%8a%e0%b8%a7%e0%b8%99%e0%b8%84%e0%b8%b4%e0%b8%94/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dd2fee0360567233331c0a75f02ff69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">phinhathai</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix command ที่มักจะใช้บ่อยๆ</title>
		<link>http://phinhathai.wordpress.com/2011/08/01/unix-ls-command-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%a1%e0%b8%b1%e0%b8%81%e0%b8%88%e0%b8%b0%e0%b9%83%e0%b8%8a%e0%b9%89/</link>
		<comments>http://phinhathai.wordpress.com/2011/08/01/unix-ls-command-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%a1%e0%b8%b1%e0%b8%81%e0%b8%88%e0%b8%b0%e0%b9%83%e0%b8%8a%e0%b9%89/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 06:03:20 +0000</pubDate>
		<dc:creator>phinhathai</dc:creator>
				<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://phinhathai.wordpress.com/?p=87</guid>
		<description><![CDATA[Unix ls command ที่มักจะใช้ แสดงแบบสั้นๆ (-a = all คือเอา file ที่ขึ้นด้วยจุดออกมา . ) $ ls $ ls -a แบบแสดงรายละเอียด $ &#8230;<p><a href="http://phinhathai.wordpress.com/2011/08/01/unix-ls-command-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%a1%e0%b8%b1%e0%b8%81%e0%b8%88%e0%b8%b0%e0%b9%83%e0%b8%8a%e0%b9%89/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=87&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2><strong>Unix ls command ที่มักจะใช้</strong></h2>
<ul>
<li>แสดงแบบสั้นๆ (-a = all คือเอา file ที่ขึ้นด้วยจุดออกมา . )</li>
</ul>
<p style="padding-left:90px;">$ ls</p>
<p style="padding-left:90px;">$ ls -a</p>
<ul>
<li>แบบแสดงรายละเอียด</li>
</ul>
<p style="padding-left:90px;">$ ls -l</p>
<p style="padding-left:90px;">$ ls -la</p>
<ul>
<li>แบบแสดงรายละเอียด และให้คนอ่านง่าย (-h=human-readable)</li>
</ul>
<p style="padding-left:90px;">$ ls -lh</p>
<ul>
<li>แบบแสดงรายละเอียด และเรียงตามวันที่ (-t=time, -tr=time reverse จากน้อยไปหามาก)</li>
</ul>
<p style="padding-left:90px;">$ ls -lt</p>
<p style="padding-left:90px;">$ ls -ltr</p>
<ul>
<li>แสดง sub directory ออกมาทั้งหมด (-R-recursive)</li>
</ul>
<p style="padding-left:90px;">$ ls -R</p>
<h2><strong>การหาคำใน file (Find text in file) แบบง่ายๆ</strong></h2>
<p>บ่อยครั้งที่เรา มักจะมีการหาคำบางคำในแฟ้มข้อมูลต่างๆ</p>
<p style="padding-left:30px;">$ grep &#8216;<em>text<em> search</em></em>&#8216; <em>fileLocation/fileType</em></p>
<p><strong><span style="text-decoration:underline;">ตัวอย่าง 1</span></strong>  หาคำว่า &#8220;user&#8221; ใน file ที่มีนามสกุล rb ทุก file ที่อยู่ตำแหน่งปัจจุบัน (. = current directory)</p>
<p style="padding-left:30px;">$ grep &#8216;user&#8217; ./*.rb</p>
<p><strong><span style="text-decoration:underline;">ตัวอย่างที่ 2</span></strong>  หาคำว่า &#8216;train&#8217; ใน file ทุกประเภทใน path /home/user1/bookstore/prj/migrate (~ = home directory)</p>
<p style="padding-left:30px;">$ grep &#8216;train&#8217; ~/bookstore/prj/migrate/*.*</p>
<p><strong>output</strong></p>
<p style="padding-left:30px;"><em>FileName</em>  <em>textSearch</em></p>
<p>textSearch: จะแสดงทุกบรรทัดที่มี textSearch ออกมา โดยแสดงทั้งบรรทัด</p>
<p>ถ้าต้องการให้แสดงเ​ฉพาะชื่อ file อย่างเดียวใช้ เพิ่ม  &#8220;| cut -d: -f1&#8243; ด้านท้ายประโยค</p>
<p style="padding-left:30px;">$ grep &#8216;user&#8217; ~/bookstore/prj/db/migrate/*.* | cut -d: -f1</p>
<p><strong>output</strong></p>
<p style="padding-left:30px;"><em>FileName</em></p>
<h2></h2>
<h2>การค้นหาชื่อ file แบบง่ายๆ</h2>
<p style="padding-left:30px;">$ find <em>directory</em> -name &#8216;<em>fileType</em>&#8216; | grep <em>text</em></p>
<p><strong><span style="text-decoration:underline;">ตัวอย่างที่ 1</span></strong>  ค้นหา file ที่มีชื่อ &#8216;production.log&#8217; ใน current directory และ sub directory ด้วย</p>
<p style="padding-left:30px;">$ find -name &#8216;production.log&#8217;</p>
<p><span style="text-decoration:underline;"><strong>ตัวอย่างที่ 2</strong></span>  ค้นหา file ที่มีชื่อ &#8216;production.log&#8217; ใน root และ directory ของ root ด้วย</p>
<p style="padding-left:30px;">$ find / -name &#8216;production.log&#8217;</p>
<p><span style="text-decoration:underline;"><strong>ตัวอย่างที่ 3</strong></span>  ค้นหา file ที่มีชื่อขึ้นต้น &#8216;product&#8217; ใน current directory และ sub directory ด้วย</p>
<p style="padding-left:30px;">$ find -name &#8216;product*&#8217;</p>
<p><span style="text-decoration:underline;"><strong>ตัวอย่างที่ 4</strong></span>  ค้นหา file ที่มี file size มากกว่า 50000k  ใน current directory และ sub directory ด้วย</p>
<p style="padding-left:30px;">$ find -name &#8216;*&#8217; -size +50000k</p>
<p style="padding-left:30px;">$ find . -size +50000k -print</p>
<p><strong></strong><span style="text-decoration:underline;"><strong>ตัวอย่างที่ 5</strong> </span> ค้นหาทุก file  ใน directory และ sub directory &#8220;/home&#8221; ที่มี owner เป็น user ที่ชื่อ byte</p>
<p style="padding-left:30px;">$ find /home -user byte</p>
<p><span style="text-decoration:underline;"><strong>ตัวอย่างที่ 6</strong></span>  ค้นหาทุก file  ใน directory และ sub directory &#8220;/home&#8221; ที่มีการแก้ไขเกิน 60 วัน</p>
<p style="padding-left:30px;">$ find /home -mtime +60</p>
<p style="padding-left:30px;">$ find /home -mtime 0</p>
<p style="padding-left:30px;">0=file ที่มีการแก้ไขไม่เกิน 24 ชั่วโมง</p>
<p><span style="text-decoration:underline;"><strong>ตัวอย่างที่ 7</strong></span>  ค้นหาทุก file  core ใน directory และ sub directory &#8220;/tmp&#8221; และให้ลบ file ออกไป</p>
<p style="padding-left:30px;">$ find /tmp -name core -type f -print | xargs /bin/rm -f</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phinhathai.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phinhathai.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phinhathai.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phinhathai.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phinhathai.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phinhathai.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phinhathai.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phinhathai.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phinhathai.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phinhathai.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phinhathai.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phinhathai.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phinhathai.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phinhathai.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=87&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phinhathai.wordpress.com/2011/08/01/unix-ls-command-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%a1%e0%b8%b1%e0%b8%81%e0%b8%88%e0%b8%b0%e0%b9%83%e0%b8%8a%e0%b9%89/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dd2fee0360567233331c0a75f02ff69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">phinhathai</media:title>
		</media:content>
	</item>
		<item>
		<title>Alias Setting for Unix/Linux (color, ls, grep), vi color, default editor</title>
		<link>http://phinhathai.wordpress.com/2011/07/27/alias-setting-for-unixlinux-color-ls-grep/</link>
		<comments>http://phinhathai.wordpress.com/2011/07/27/alias-setting-for-unixlinux-color-ls-grep/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 08:41:55 +0000</pubDate>
		<dc:creator>phinhathai</dc:creator>
				<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://phinhathai.wordpress.com/?p=76</guid>
		<description><![CDATA[เคยสงสัยว่าทำไม Linux บางเครื่อง ls ออกมามีสี บางเครื่องไม่มีสี จึงเขียนไว้เพื่อว่าใครต้องการใช้ ต้องการให้ ls หรือ command ต่างๆ มีสีทำดังนี้ เข้าไปที่ file &#8220;.bashrc&#8221; ซึ่งปกติจะอยู่ที่ Home directory ของ &#8230;<p><a href="http://phinhathai.wordpress.com/2011/07/27/alias-setting-for-unixlinux-color-ls-grep/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=76&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>เคยสงสัยว่าทำไม Linux บางเครื่อง ls ออกมามีสี บางเครื่องไม่มีสี จึงเขียนไว้เพื่อว่าใครต้องการใช้</p>
<p><strong>ต้องการให้ ls หรือ command ต่างๆ มีสีทำดังนี้</strong></p>
<ol>
<li>เข้าไปที่ file &#8220;.bashrc&#8221; ซึ่งปกติจะอยู่ที่ Home directory ของ user</li>
<ul>
<li>cd</li>
<li>sudo vi .bashrc</li>
</ul>
<li>เพิ่ม command alias</li>
<ul>
<li>eval `dircolors -b`</li>
<li>alias ls=&#8217;ls &#8211; -color=auto&#8217;</li>
<li>alias grep=&#8217;grep &#8211; -color=auto&#8217;</li>
</ul>
<li>Save file</li>
</ol>
<div><strong><span style="font-size:16px;"><span class="Apple-style-span" style="line-height:24px;">vi color นั้นให้ทำใน file &#8220;.profile&#8221; หรือ &#8220;.vimrc&#8221; โดยเพิ่ม (สามารถใช้กับ OSX ด้วย ถ้าไม่มี file ให้สร้างขึ้นมา)</span></span></strong></div>
<div>
<ol>
<li><span class="Apple-style-span" style="font-size:16px;line-height:24px;">แสดงสี ให้ใส่</span></li>
<ul>
<li><span class="Apple-style-span" style="font-size:16px;line-height:24px;">syntax on </span></li>
</ul>
<li><span class="Apple-style-span" style="font-size:16px;line-height:24px;">แสดงบรรทัด</span></li>
<ul>
<li><span class="Apple-style-span" style="font-size:16px;line-height:24px;">set num</span></li>
</ul>
</ol>
<div><strong><span class="Apple-style-span" style="font-size:16px;line-height:21px;">การเปลี่ยน default editor สำหรับ Linux </span></strong></div>
<div><span class="Apple-style-span" style="font-size:16px;line-height:21px;">ซึ่งจะมีผลกับ command ที่ไม่ได้ระบุ editor เช่น crontab -e</span></div>
<div>
<pre>$ select-editor

Select an editor.  To change later, run 'select-editor'.
  1. /bin/ed
  2. /bin/nano        &lt;---- easiest
  3. /usr/bin/emacs22
  4. /usr/bin/vim.basic
  5. /usr/bin/vim.tiny

Choose 1-5 [2]: 4</pre>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phinhathai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phinhathai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phinhathai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phinhathai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phinhathai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phinhathai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phinhathai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phinhathai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phinhathai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phinhathai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phinhathai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phinhathai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phinhathai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phinhathai.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=76&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phinhathai.wordpress.com/2011/07/27/alias-setting-for-unixlinux-color-ls-grep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dd2fee0360567233331c0a75f02ff69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">phinhathai</media:title>
		</media:content>
	</item>
		<item>
		<title>การ config ให้ MySql server สามารถ remote จากเครื่องอื่นได้</title>
		<link>http://phinhathai.wordpress.com/2011/06/30/%e0%b8%81%e0%b8%b2%e0%b8%a3-config-%e0%b9%83%e0%b8%ab%e0%b9%89-mysql-server-%e0%b8%aa%e0%b8%b2%e0%b8%a1%e0%b8%b2%e0%b8%a3%e0%b8%96-remote-%e0%b8%88%e0%b8%b2%e0%b8%81%e0%b9%80%e0%b8%84%e0%b8%a3/</link>
		<comments>http://phinhathai.wordpress.com/2011/06/30/%e0%b8%81%e0%b8%b2%e0%b8%a3-config-%e0%b9%83%e0%b8%ab%e0%b9%89-mysql-server-%e0%b8%aa%e0%b8%b2%e0%b8%a1%e0%b8%b2%e0%b8%a3%e0%b8%96-remote-%e0%b8%88%e0%b8%b2%e0%b8%81%e0%b9%80%e0%b8%84%e0%b8%a3/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 09:59:55 +0000</pubDate>
		<dc:creator>phinhathai</dc:creator>
				<category><![CDATA[MySql]]></category>

		<guid isPermaLink="false">http://phinhathai.wordpress.com/?p=60</guid>
		<description><![CDATA[เมื่อมีการลง MySql Database ครั้งแรก จะได้ default config ให้ไม่สามารถ remote จากเครื่องอื่นได้ สามารถใช้งานที่เครื่อง Server เท่านั้น ถ้าต้องการให้ remote ได้ต้องทำดังนี้ 1. แก้ไขใน file &#8220;my.cnf &#8230;<p><a href="http://phinhathai.wordpress.com/2011/06/30/%e0%b8%81%e0%b8%b2%e0%b8%a3-config-%e0%b9%83%e0%b8%ab%e0%b9%89-mysql-server-%e0%b8%aa%e0%b8%b2%e0%b8%a1%e0%b8%b2%e0%b8%a3%e0%b8%96-remote-%e0%b8%88%e0%b8%b2%e0%b8%81%e0%b9%80%e0%b8%84%e0%b8%a3/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=60&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>เมื่อมีการลง MySql Database ครั้งแรก จะได้ default config ให้ไม่สามารถ remote จากเครื่องอื่นได้ สามารถใช้งานที่เครื่อง Server เท่านั้น<br />
ถ้าต้องการให้ remote ได้ต้องทำดังนี้</p>
<ul>
<li><strong>1. แก้ไขใน file &#8220;my.cnf &#8220;หรือ &#8220;my.ini&#8221;</strong></li>
</ul>
<ol>
<ol>
<li>ถ้าเป็น linux จะอยู่ใน file /etc/mysql/my.cnf โดยใช้ command</li>
</ol>
</ol>
<p style="text-align:center;">sudo vi /etc/mysql/my.cnf</p>
<ol>
<ol>
<li>ถ้าเป็น windows ให้ไปดูที่ C:\Program Files\MySQL\MySQL Server 5.0\my.ini</li>
</ol>
</ol>
<p style="text-align:center;">edit my.ini</p>
<p style="padding-left:60px;"><em>สิ่งที่ต้องแก้ไขคือ ให้ comment bind-addrss 127.0.0.1 โดยการใส่ &#8220;#&#8221; ด้านหน้า</em></p>
<p style="text-align:center;">#bind-address = 127.0.0.1</p>
<ul>
<li><strong>2. ทำการ Restart mysql</strong></li>
</ul>
<p style="padding-left:60px;">[For Linux]<br />
sudo /etc/init.d/mysql restart</p>
<p style="padding-left:60px;">[For window]<br />
ให้ทำการ restart service</p>
<ul>
<li><strong>3. ไป Add user ที่ต้องการให้ remote ได้</strong></li>
</ul>
<p style="padding-left:60px;"><span class="Apple-style-span" style="font-size:16px;color:#444444;font-family:Georgia, 'Bitstream Charter', serif;line-height:24px;">โดยปรกติ root จะถูก set ให้ remote ไม่ได้ ดังนั้นแนะนำให้ Add new user โดย</span></p>
<ol>
<ul>
<li>3.1 Add new user</li>
<li>3.3 click เลือก Host ที่ Add ในข้อ 2 แล้ว เลือก database แล้ว grant สิทธิ์ให้</li>
</ul>
</ol>
<ul>
<ul>
<li>3.2 Add host ที่ต้องการจะเป็นแบบระบุ ip หรือ anywhere ก็ได้</li>
</ul>
</ul>
<p>เป็นการจบขั้นตอนในการ set MySql remote ได้</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phinhathai.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phinhathai.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phinhathai.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phinhathai.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phinhathai.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phinhathai.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phinhathai.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phinhathai.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phinhathai.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phinhathai.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phinhathai.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phinhathai.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phinhathai.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phinhathai.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=60&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phinhathai.wordpress.com/2011/06/30/%e0%b8%81%e0%b8%b2%e0%b8%a3-config-%e0%b9%83%e0%b8%ab%e0%b9%89-mysql-server-%e0%b8%aa%e0%b8%b2%e0%b8%a1%e0%b8%b2%e0%b8%a3%e0%b8%96-remote-%e0%b8%88%e0%b8%b2%e0%b8%81%e0%b9%80%e0%b8%84%e0%b8%a3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dd2fee0360567233331c0a75f02ff69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">phinhathai</media:title>
		</media:content>
	</item>
		<item>
		<title>Keyboard</title>
		<link>http://phinhathai.wordpress.com/2011/06/03/keyboard/</link>
		<comments>http://phinhathai.wordpress.com/2011/06/03/keyboard/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 07:08:28 +0000</pubDate>
		<dc:creator>phinhathai</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://phinhathai.wordpress.com/?p=42</guid>
		<description><![CDATA[Keyboard สามารถแบ่งออกได้เป็น 6 ส่วน ดังนี้ 1. Normal keys คือ กลุ่มของปุ่มพิมพ์อักขระและตัวอักษรต่างๆทั้งหมด 2.&#160;Numeric keys&#160;คือ กลุ่มของปุ่มตัวเลข และเครื่องหมายในการคำนวณ 3.&#160;Function keys&#160;คือ กลุ่มของปุ่มฟังก์ชัน ตั้งแต่ F1 – &#8230;<p><a href="http://phinhathai.wordpress.com/2011/06/03/keyboard/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=42&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Keyboard สามารถแบ่งออกได้เป็น 6 ส่วน ดังนี้</strong><br />
<img src="http://a5.sphotos.ak.fbcdn.net/hphotos-ak-snc6/251584_1931905769663_1002834169_31850557_5020076_n.jpg" alt="Keyboard" /><br />
<strong>1. Normal keys</strong> คือ กลุ่มของปุ่มพิมพ์อักขระและตัวอักษรต่างๆทั้งหมด<br />
<strong>2.&nbsp;Numeric keys</strong>&nbsp;คือ กลุ่มของปุ่มตัวเลข และเครื่องหมายในการคำนวณ<br />
<strong>3.&nbsp;Function keys</strong>&nbsp;คือ กลุ่มของปุ่มฟังก์ชัน ตั้งแต่ F1 – F12<br />
<strong>4. Direction keys</strong>&nbsp; คือกลุ่มของปุ่มควบคุมลูกศรเลื่อนขึ้นลงซ้ายขวา<br />
<strong>5. Special keys</strong>&nbsp; คือกลุ่มของปุ่มควบคุมต่างๆ เช่น Insert, Delete, Home etc<br />
<strong>6. Lock keys</strong> คือกลุ่มที่แสดงสถานะ Num Lock, Caps Lock, Scroll Lock</p>
</blockquote>
<p><strong>สัญลักษณ์ ต่างๆ บน Keyboard</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="48"><strong>เครื่องหมาย</strong></td>
<td valign="top" width="139"><strong>ชื่อที่ใช้เรียก</strong></td>
<td valign="top" width="129"><strong>ชื่อไทย</strong></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">( )</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Parenthesis</span></strong></td>
<td valign="top" width="129">นขลิขิต หรือวงเล็บ</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">[ ]</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Square bracket</span></strong></td>
<td valign="top" width="129">วงเล็บเหลี่ยมหรือวงเล็บใหญ่</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">{ }</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Braces</span></strong></td>
<td valign="top" width="129">วงเล็บปีกกา</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">&lt; &gt;</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Angle bracket</span></strong></td>
<td valign="top" width="129">วงเล็บมุม</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">’ &#8216;</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Apostrophe</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">:</span></strong></td>
<td valign="top" width="139"><span style="font-size:small;"><strong>Colon</strong><strong></strong></span></td>
<td valign="top" width="129">ทวิภาค หรือ ต่อ</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">,</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Comma</span></strong></td>
<td valign="top" width="129">จุลภาค หรือลูกน้ำ</td>
</tr>
<tr>
<td valign="top" width="48"><span style="font-size:small;"><strong> </strong><strong>‒</strong><strong>, –, —, ―</strong></span></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Dashes</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">… OR *** </span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Ellipsis</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">!</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Exclamation mark</span></strong></td>
<td valign="top" width="129"><span style="font-size:small;color:#888888;">อัศเจรีย์หรือ เครื่องหมายตกใจ</span></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">.</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Full stop/Period/Dot</span></strong></td>
<td valign="top" width="129">มหัพภาค หรือ จุด</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">?</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Question mark</span></strong></td>
<td valign="top" width="129">ปรัศนีหรือคำถาม</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">« »</span></strong></td>
<td valign="top" width="139"><span style="font-size:small;"><strong>Guillemets/Double angle brackets</strong></span><strong></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><span style="font-size:small;"><strong>- , </strong><strong>‐</strong><strong> </strong></span></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Hyphen</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">‘ , ’</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Quotation mark/Single quotation<br />
</span></strong></td>
<td valign="top" width="129">อัญประกาศ</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">;</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Semicolon</span></strong></td>
<td valign="top" width="129">อัฒภาค</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">/</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Slash/Stroke/Forward Slash/Solidus</span></strong></td>
<td valign="top" width="129">ทับ</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">~</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Tilde/Swung dash</span></strong></td>
<td valign="top" width="129"><span style="font-size:small;">ตัวหนอน</span></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">%</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Percent sign</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">\</span></strong> <strong></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Backward slash/Reverse solidus</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">@</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Commercial at/At sign</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">#</span></strong> <strong></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Pound sign/Number sign</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">^</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Carat or Circumflex</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">&amp;</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Ampersand</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">“ ”</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Double quotation mark</span></strong></td>
<td valign="top" width="129">ฟันหนู, มูสิกทันต์</td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">&#8211;</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Em dash</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">–</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">En Dash</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">=</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Equal sign</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">_</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Underscore/Low line</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">+</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Plus sign</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">-</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Hyphen-minus</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">*</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Asterisk</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">$</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Dollar sign</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48">฿</td>
<td valign="top" width="139"><strong><span style="font-size:small;">Thai baht</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><span style="font-size:small;"><strong>(</strong></span></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Left parenthesis</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">)</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Right parenthesis</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">|</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Vertical line/Vertical bar</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">{</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Left curly bracket</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">}</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Right curly bracket</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">[</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Left square bracket</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">]</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Right square bracket</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">&gt;</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Greater-than sign</span></strong></td>
<td valign="top" width="129"></td>
</tr>
<tr>
<td valign="top" width="48"><strong><span style="font-size:small;">&lt;</span></strong></td>
<td valign="top" width="139"><strong><span style="font-size:small;">Less-than sign</span></strong></td>
<td valign="top" width="129"></td>
</tr>
</tbody>
</table>
<p>อ้างอิงจาก website<br />
http://www.computer-hardware-explained.com/computer-keyboard-layout.html<br />
http://www.learners.in.th/blog/babykidz01/132311</p>
<p>http://th.wikipedia.org/wiki/%E0%B8%AD%E0%B8%B1%E0%B8%81%E0%B8%A9%E0%B8%A3%E0%B9%84%E0%B8%97%E0%B8%A2</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phinhathai.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phinhathai.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phinhathai.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phinhathai.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phinhathai.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phinhathai.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phinhathai.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phinhathai.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phinhathai.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phinhathai.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phinhathai.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phinhathai.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phinhathai.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phinhathai.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=42&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phinhathai.wordpress.com/2011/06/03/keyboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dd2fee0360567233331c0a75f02ff69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">phinhathai</media:title>
		</media:content>

		<media:content url="http://a5.sphotos.ak.fbcdn.net/hphotos-ak-snc6/251584_1931905769663_1002834169_31850557_5020076_n.jpg" medium="image">
			<media:title type="html">Keyboard</media:title>
		</media:content>
	</item>
		<item>
		<title>ความหมายของคำแนะนำจาก Broker</title>
		<link>http://phinhathai.wordpress.com/2010/08/18/%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%ab%e0%b8%a1%e0%b8%b2%e0%b8%a2%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b8%84%e0%b8%b3%e0%b9%81%e0%b8%99%e0%b8%b0%e0%b8%99%e0%b8%b3%e0%b8%88%e0%b8%b2%e0%b8%81-broker/</link>
		<comments>http://phinhathai.wordpress.com/2010/08/18/%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%ab%e0%b8%a1%e0%b8%b2%e0%b8%a2%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b8%84%e0%b8%b3%e0%b9%81%e0%b8%99%e0%b8%b0%e0%b8%99%e0%b8%b3%e0%b8%88%e0%b8%b2%e0%b8%81-broker/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 08:22:47 +0000</pubDate>
		<dc:creator>phinhathai</dc:creator>
				<category><![CDATA[Stocks]]></category>

		<guid isPermaLink="false">http://phinhathai.wordpress.com/?p=25</guid>
		<description><![CDATA[คำแนะนำ ความหมาย Buy (ซื้อ) คาดว่าราคาหลักทรัพย์จะปรับตัวดีกว่าตลาดรวมและผลการดำเนินงานในช่วง 12 เดือนข้างหน้าสูงกว่ากลุ่มธุรกิจและตลาดรวม Buy On Weakness (ซื้อเมื่ออ่อนตัว) คาดว่าราคาหลักทรัพย์จะปรับตัวเท่ากับหรือต่ำกว่าตลาดรวมและผลการดำเนินงานในช่วง 12 เดือนข้างหน้าสูงกว่ากลุ่มธุรกิจและตลาดรวม Sell (ขาย) คาดว่าราคาหลักทรัพย์จะปรับตัวต่ำกว่าตลาดรวมและผลการดำเนินงานในช่วง 12 เดือนข้างหน้าจะอยู่ในระดับที่ต่ำกว่ากลุ่มธุรกิจและตลาดรวม Hold &#8230;<p><a href="http://phinhathai.wordpress.com/2010/08/18/%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%ab%e0%b8%a1%e0%b8%b2%e0%b8%a2%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b8%84%e0%b8%b3%e0%b9%81%e0%b8%99%e0%b8%b0%e0%b8%99%e0%b8%b3%e0%b8%88%e0%b8%b2%e0%b8%81-broker/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=25&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table style="height:524px;" border="1" width="712">
<tbody>
<tr>
<td><strong> คำแนะนำ </strong></td>
<td><strong>ความหมาย</strong></td>
</tr>
<tr>
<td>Buy <span style="color:#800000;">(ซื้อ)</span></td>
<td>คาดว่าราคาหลักทรัพย์จะปรับตัว<span style="color:#ff00ff;">ดีกว่า</span>ตลาดรวมและผลการดำเนินงานในช่วง 12 เดือนข้างหน้าสูงกว่ากลุ่มธุรกิจและตลาดรวม</td>
</tr>
<tr>
<td>Buy On Weakness <span style="color:#800000;">(ซื้อเมื่ออ่อนตัว)</span></td>
<td>คาดว่าราคาหลักทรัพย์จะปรับ<span style="color:#ff00ff;"><span style="color:#000000;">ตัว</span>เท่ากับหรือต่ำกว่า</span>ตลาดรวมและผลการดำเนินงานในช่วง 12 เดือนข้างหน้าสูงกว่ากลุ่มธุรกิจและตลาดรวม</td>
</tr>
<tr>
<td>Sell <span style="color:#800000;">(ขาย)</span></td>
<td>คาดว่าราคาหลักทรัพย์จะปรับตัว<span style="color:#ff00ff;">ต่ำกว่า</span>ตลาดรวมและผลการดำเนินงานในช่วง 12 เดือนข้างหน้าจะอยู่ในระดับที่ต่ำกว่ากลุ่มธุรกิจและตลาดรวม</td>
</tr>
<tr>
<td>Hold <span style="color:#800000;">(ถือ)</span></td>
<td>คาดว่าราคาหลักทรัพย์จะปรับตัว<span style="color:#ff00ff;">เท่ากับ</span>ตลาดรวมและผลการดำเนินงานในช่วง 12 เดือนข้างหน้าจะอยู่ในระดับเดียวกับกลุ่มธุรกิจและตลาดรวม</td>
</tr>
<tr>
<td>Fully Valued      <span style="color:#800000;">(เต็มมูลค่า)</span></td>
<td>คาดว่าราคาหลักทรัพย์จะปรับตัว<span style="color:#ff00ff;">เท่ากับหรือต่ำกว่า</span>ตลาดรวมและผลการดำเนินงานในช่วง 12 เดือนข้างหน้าจะอยู่ในระดับเดียวกันหรือต่ำกว่ากลุ่มธุรกิจและตลาดรวม</td>
</tr>
<tr>
<td>Speculative Buy <span style="color:#800000;">(ซื้อเก็งกำไร)</span></td>
<td>คาดว่าราคาหลักทรัพย์จะเคลื่อนไหว<span style="color:#ff00ff;">ผันผวน</span>จากประเด็นต่างๆ ที่จะส่งผลกระทบต่อปัจจัยพื้นฐานของบริษัทในอนาคต ซึ่งนักลงทุนจะต้องลงทุนอย่างระมัดระวัง</td>
</tr>
</tbody>
</table>
<p><em>** รวบรวมจากบทวิเคราะ์ห์ของ Kimeng</em></p>
<table border="1" cellspacing="0" cellpadding="0" width="775">
<col width="106"></col>
<col width="118"></col>
<col width="551"></col>
<tbody>
<tr>
<td width="106" height="17" align="left"><strong>English</strong></td>
<td width="118" align="left"><strong>ไทย</strong></td>
<td width="551" align="left"><strong>ความหมาย</strong></td>
</tr>
<tr>
<td height="17" align="left">Buy</td>
<td align="left">ซื้อ</td>
<td align="left">แนะนำให้ซื้อ</td>
</tr>
<tr>
<td height="17" align="left">Strong Buy</td>
<td align="left">ซื้อทันที</td>
<td align="left">ซื้อทันทีไม่ต้องรอช้า   เพราะหากรอราคาอาจจะขึ้นไปเกินเป้า แล้วอาจจะหมดโอกาสซื้อ</td>
</tr>
<tr>
<td height="17" align="left">Accumulate</td>
<td align="left">ทยอยสะสม</td>
<td align="left">ทยอยซื้อ หรือ ซื้อสะสม &#8211;   หากราคาลดลงมาก็น่าจะซื้อมากขึ้น ไม่ต้องรีบร้อนมาก</td>
</tr>
<tr>
<td height="17" align="left">Long-term buy</td>
<td align="left">ซื้อลงทุน</td>
<td align="left">แนะนำให้ซื้อไว้ในพอร์ตที่ลงทุนระยะยาว   เพราะปัจจัยพื้นฐานดี และหวังว่าราคาในอนาคตจะค่อยๆ สะท้อนมูลค่า</td>
</tr>
<tr>
<td height="17" align="left">Buy on weakness</td>
<td align="left">ซื้อเมื่ออ่อนตัว</td>
<td align="left">ราคา ณ ปัจจุบันสูงไปสักหน่อย หากจะลงทุนควรจะซื้อ   เมื่อราคาปรับตัวลงมาจากระดับราคาปัจจุบัน</td>
</tr>
<tr>
<td height="68" align="left">Trading buy</td>
<td align="left">ซื้อเพื่อรอขาย</td>
<td width="551" align="left">ซื้อเพื่อเก็งกำไร   ความหมายของผู้จัดการกองทุนใช้ก็คือ หุ้นนี้มีปัจจัยพื้นฐานดี   แต่คาดว่าราคาอาจจะปรับตัวขึ้นค่อนข้างรวดเร็วจนอาจถึงราคาเป้าหมายในไม่ช้า   จึงต้องจับตามอง และอาจกลับเข้ามาซื้อใหม่ เมื่อราคาปรับลดลงมาอีกครั้งหนึ่ง   ซึ่งต่างกับคำว่า “เก็งกำไร” ซึ่งหุ้นอาจมีราคาเพิ่มขึ้นเพราะข่าวลือ   หรือตามกระแสโดยไม่มีปัจจัยพื้นฐานมารองรับ</td>
</tr>
<tr>
<td height="51" align="left">Avoid</td>
<td align="left">หลีกเลี่ยง</td>
<td width="551" align="left">ส่วนใหญ่จะเป็นหุ้นที่มีราคาสูงเกินกว่าปัจจัยพื้นฐานมากแล้ว   หรือมีความเสี่ยงเฉพาะเกิดขึ้น เช่น   กำลังอยู่ระหว่างการถูกสั่งให้แก้ไขงบการเงิน หรือมีการซื้อเก็งกำไรมาก   จนราคาไม่ปกติ ซึ่งหุ้นในกลุ่ม “ซื้อเพื่อเก็งกำไร”   พอมาอยู่ในพจนานุกรมของผู้จัดการกองทุนเรามักจะ “หลีกเลี่ยง” ค่ะ</td>
</tr>
<tr>
<td height="51" align="left">Hold</td>
<td align="left">ถือ</td>
<td width="551" align="left">จะใช้กับกรณีที่ผู้ลงทุนมีหุ้นนั้นอยู่ในพอร์ตอยู่แล้ว   แต่ราคาอาจจะยังไม่สะท้อนปัจจัยพื้นฐานมากนัก   ขายไปก็จะเสียโอกาสเพราะยังมีโอกาสขึ้นอีก แต่ก็ไม่แนะนำให้ซื้อเพิ่ม   เพราะราคาใกล้จะถึงจุดที่เหมาะสมแล้ว อย่างนี้ถือรอขายทำกำไรค่ะ</td>
</tr>
<tr>
<td height="17" align="left">Sell</td>
<td align="left">ขาย</td>
<td align="left">อาจเกิดจากปัจจัยพื้นฐานเปลี่ยน   หรือกรณีราคาขึ้นมาถึงเป้าหมายแล้วก็อาจแนะนำให้ “ขายทำกำไร” หรือ “take   profit”</td>
</tr>
<tr>
<td height="17" align="left">OverWeight</td>
<td align="left">มากกว่าน้ำหนักตลาด</td>
<td align="left">ปัจจัยพื้นฐานดี   น่าจะมีโอกาสมีราคาขึ้นมากกว่าหุ้นโดยเฉลี่ย</td>
</tr>
<tr>
<td height="17" align="left">Neutral</td>
<td align="left">เป็นกลาง</td>
<td align="left">มีโอกาสขึ้นเท่ากับตลาดโดยรวม   หรือหากอยากให้ถือก็จะแนะนำว่า “เป็นกลาง”</td>
</tr>
<tr>
<td height="17" align="left">Fully Valued</td>
<td align="left">เต็มมูลค่า</td>
<td align="left">หากหุ้นนั้นมีราคาสูงเกินไปแล้ว อยากให้ขาย   ก็จะแนะนำว่า “เต็มมูลค่า”</td>
</tr>
<tr>
<td height="17" align="left">Under Calued</td>
<td align="left">ราคาต่ำกว่ามูลค่า</td>
<td align="left">อยากแนะนำให้ซื้อ ก็จะบอกว่า   “ราคาต่ำกว่ามูลค่า”</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phinhathai.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phinhathai.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phinhathai.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phinhathai.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phinhathai.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phinhathai.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phinhathai.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phinhathai.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phinhathai.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phinhathai.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phinhathai.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phinhathai.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phinhathai.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phinhathai.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=25&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phinhathai.wordpress.com/2010/08/18/%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%ab%e0%b8%a1%e0%b8%b2%e0%b8%a2%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b8%84%e0%b8%b3%e0%b9%81%e0%b8%99%e0%b8%b0%e0%b8%99%e0%b8%b3%e0%b8%88%e0%b8%b2%e0%b8%81-broker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dd2fee0360567233331c0a75f02ff69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">phinhathai</media:title>
		</media:content>
	</item>
		<item>
		<title>ช่วงราคา ที่ซื้อขายในตลาดหลักทรัพย์</title>
		<link>http://phinhathai.wordpress.com/2010/08/06/%e0%b8%8a%e0%b9%88%e0%b8%a7%e0%b8%87%e0%b8%a3%e0%b8%b2%e0%b8%84%e0%b8%b2-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%8b%e0%b8%b7%e0%b9%89%e0%b8%ad%e0%b8%82%e0%b8%b2%e0%b8%a2%e0%b9%83%e0%b8%99%e0%b8%95%e0%b8%a5/</link>
		<comments>http://phinhathai.wordpress.com/2010/08/06/%e0%b8%8a%e0%b9%88%e0%b8%a7%e0%b8%87%e0%b8%a3%e0%b8%b2%e0%b8%84%e0%b8%b2-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%8b%e0%b8%b7%e0%b9%89%e0%b8%ad%e0%b8%82%e0%b8%b2%e0%b8%a2%e0%b9%83%e0%b8%99%e0%b8%95%e0%b8%a5/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 12:34:56 +0000</pubDate>
		<dc:creator>phinhathai</dc:creator>
				<category><![CDATA[Stocks]]></category>

		<guid isPermaLink="false">http://phinhathai.wordpress.com/?p=7</guid>
		<description><![CDATA[PRICE SPREAD &#8211; ช่วงราคา การเคลื่อนไหวของราคาหลักทรัพย์ สำหรับการเสนอซื้อและเสนอขายบนกระดานหลักและกระดานหน่วยย่อย โดยตลาดหลักทรัพย์ฯ กำหนดช่วงราคาตามระดับราคาของแต่ละหลักทรัพย์ไว้ ดังนี้ ระดับราคา (บาท) ช่วงราคา (บาท) &#60; 2 0.01 2 &#8211; 5 0.02 &#8230;<p><a href="http://phinhathai.wordpress.com/2010/08/06/%e0%b8%8a%e0%b9%88%e0%b8%a7%e0%b8%87%e0%b8%a3%e0%b8%b2%e0%b8%84%e0%b8%b2-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%8b%e0%b8%b7%e0%b9%89%e0%b8%ad%e0%b8%82%e0%b8%b2%e0%b8%a2%e0%b9%83%e0%b8%99%e0%b8%95%e0%b8%a5/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=7&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>PRICE SPREAD &#8211; ช่วงราคา</strong><br />
การเคลื่อนไหวของราคาหลักทรัพย์ สำหรับการเสนอซื้อและเสนอขายบนกระดานหลักและกระดานหน่วยย่อย โดยตลาดหลักทรัพย์ฯ กำหนดช่วงราคาตามระดับราคาของแต่ละหลักทรัพย์ไว้ ดังนี้</p>
<table style="height:200px;" border="1" cellspacing="0" cellpadding="0" width="400">
<tbody>
<tr>
<td width="50%" valign="top"><strong>ระดับราคา (บาท) </strong></td>
<td width="50%" valign="top"><strong>ช่วงราคา</strong><strong> (บาท)<br />
</strong></td>
</tr>
<tr>
<td width="50%" valign="top">&lt; 2</td>
<td width="50%" valign="top">0.01</td>
</tr>
<tr>
<td width="50%" valign="top">2 &#8211; 5</td>
<td width="50%" valign="top">0.02</td>
</tr>
<tr>
<td width="50%" valign="top">5 &#8211; 10</td>
<td width="50%" valign="top">0.05</td>
</tr>
<tr>
<td width="50%" valign="top">10 &#8211; 25</td>
<td width="50%" valign="top">0.10</td>
</tr>
<tr>
<td width="50%" valign="top">25 &#8211; 100</td>
<td width="50%" valign="top">0.25</td>
</tr>
<tr>
<td width="50%" valign="top">100 &#8211; 200</td>
<td width="50%" valign="top">0.50</td>
</tr>
<tr>
<td width="50%" valign="top">200 &#8211; 400</td>
<td width="50%" valign="top">1.00</td>
</tr>
<tr>
<td width="50%" valign="top">&gt;  400</td>
<td width="50%" valign="top">2.00</td>
</tr>
</tbody>
</table>
<p>ดังนั้น หากผู้ลงทุนต้องการเสนอซื้อหรือเสนอขายหลักทรัพย์ใด ต้องดูราคาซื้อขายครั้งสุดท้ายของหลักทรัพย์นั้นด้วย เพื่อจะได้เสนอราคาซื้อขายได้ตรงตามช่วงราคา เช่น</p>
<p>หลักทรัพย์ มีราคาซื้อขายครั้งสุดท้ายที่ 110 บาท ผู้ลงทุนจะต้องเสนอซื้อหรือเสนอขายเพิ่มขึ้นหรือลดลงจาก 110 บาท ครั้งละ 1 บาท เช่น 111 บาท หรือ 109 บาท เป็นต้น</p>
<p>อ้างอิงจาก: TSI</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phinhathai.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phinhathai.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phinhathai.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phinhathai.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phinhathai.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phinhathai.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phinhathai.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phinhathai.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phinhathai.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phinhathai.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phinhathai.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phinhathai.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phinhathai.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phinhathai.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phinhathai.wordpress.com&amp;blog=14951072&amp;post=7&amp;subd=phinhathai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phinhathai.wordpress.com/2010/08/06/%e0%b8%8a%e0%b9%88%e0%b8%a7%e0%b8%87%e0%b8%a3%e0%b8%b2%e0%b8%84%e0%b8%b2-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%8b%e0%b8%b7%e0%b9%89%e0%b8%ad%e0%b8%82%e0%b8%b2%e0%b8%a2%e0%b9%83%e0%b8%99%e0%b8%95%e0%b8%a5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dd2fee0360567233331c0a75f02ff69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">phinhathai</media:title>
		</media:content>
	</item>
	</channel>
</rss>
