<?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/"
	>

<channel>
	<title>Small Program Blog &#187; tips</title>
	<atom:link href="http://blog.sunnycyk.hk/?feed=rss2&#038;tag=tips" rel="self" type="application/rss+xml" />
	<link>http://blog.sunnycyk.hk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 05 Nov 2011 06:32:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wacom Bamboo Touch</title>
		<link>http://blog.sunnycyk.hk/?p=380</link>
		<comments>http://blog.sunnycyk.hk/?p=380#comments</comments>
		<pubDate>Sat, 10 Oct 2009 10:45:15 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[leopard 10.5]]></category>
		<category><![CDATA[leopard 64 bit]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[multitouch]]></category>
		<category><![CDATA[os x leopard]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[touchpad]]></category>
		<category><![CDATA[Wacom]]></category>

		<guid isPermaLink="false">http://blog.sunnycyk.hk/?p=380</guid>
		<description><![CDATA[Today I found a cool product on apple store: Wacom Bamboo Touch Why it is cool?  Because I was looking forward on the handwriting feature on snow leopard, but you only able to do it if you have a multi touch pad.  This Wacom Bamboo Touch is a multi touch pad which I [...]]]></description>
			<content:encoded><![CDATA[<p>Today I found a cool product on apple store: <a href="http://store.apple.com/us/product/TX434LL/A?fnode=MTY1NDA1Mg&#038;mco=MTMwODI2MTY">Wacom Bamboo Touch</a> Why it is cool?  Because I was looking forward on the handwriting feature on snow leopard, but you only able to do it if you have a multi touch pad.  This Wacom Bamboo Touch is a multi touch pad which I am missing on my desktop!!!  </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sunnycyk.hk/?feed=rss2&amp;p=380</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RealPlayer for Mac</title>
		<link>http://blog.sunnycyk.hk/?p=377</link>
		<comments>http://blog.sunnycyk.hk/?p=377#comments</comments>
		<pubDate>Tue, 29 Sep 2009 10:03:50 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[RealPlayer]]></category>
		<category><![CDATA[rmvb]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.sunnycyk.hk/?p=377</guid>
		<description><![CDATA[I have a .rmvb file, and I want to watch it on my Mac.  I did a little bit research and found that I need a RealPlayer.  However, it was not easy to find it directly on real.com somehow&#8230;    so if you are looking for a RealPlayer for Mac, here [...]]]></description>
			<content:encoded><![CDATA[<p>I have a .rmvb file, and I want to watch it on my Mac.  I did a little bit research and found that I need a RealPlayer.  However, it was not easy to find it directly on real.com somehow&#8230;    so if you are looking for a RealPlayer for Mac, here is the link</p>
<p><a href="http://www.real.com/mac/realplayer">http://www.real.com/mac/realplayer</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sunnycyk.hk/?feed=rss2&amp;p=377</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change file&#8217;s owner and group in Linux</title>
		<link>http://blog.sunnycyk.hk/?p=370</link>
		<comments>http://blog.sunnycyk.hk/?p=370#comments</comments>
		<pubDate>Wed, 23 Sep 2009 08:53:56 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://blog.sunnycyk.hk/?p=370</guid>
		<description><![CDATA[%chown username filename

This will set the filename&#8217;s owner to username
%chown username:groupname filename

This will set the filename&#8217;s owner to username, group to groupname
with option -R, you can change owner and group of the directory recursively to its sub-directories and content.
%chown -R username:groupname directoryname

]]></description>
			<content:encoded><![CDATA[<pre><code>%chown username filename
</code></pre>
<p>This will set the filename&#8217;s owner to username</p>
<pre><code>%chown username:groupname filename
</code></pre>
<p>This will set the filename&#8217;s owner to username, group to groupname</p>
<p>with option -R, you can change owner and group of the directory recursively to its sub-directories and content.</p>
<pre><code>%chown -R username:groupname directoryname
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.sunnycyk.hk/?feed=rss2&amp;p=370</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset Magento Directory Permission</title>
		<link>http://blog.sunnycyk.hk/?p=364</link>
		<comments>http://blog.sunnycyk.hk/?p=364#comments</comments>
		<pubDate>Wed, 16 Sep 2009 02:13:08 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://blog.sunnycyk.hk/?p=364</guid>
		<description><![CDATA[When install new extension to Magento using Magento Connect, it will ask you to set the directory permission to writable to server user.  In order to do it, at command line, type in:
find . -type d -exec chmod 777 {} \; 
Once finish the installation, you should reset the permission:
find . -type d -exec [...]]]></description>
			<content:encoded><![CDATA[<p>When install new extension to Magento using Magento Connect, it will ask you to set the directory permission to writable to server user.  In order to do it, at command line, type in:</p>
<pre><code>find . -type d -exec chmod 777 {} \; </code></pre>
<p>Once finish the installation, you should reset the permission:</p>
<pre><code>find . -type d -exec chmod 755 {} \; </code></pre>
<p>I assume you know Unix &#8220;chmod&#8221; to change permission.  The number 777, each digit is the permission for Owner, Group, and World.  7 means Writable, Readable, and Executable.  You should think it in binary: 7 is &#8220;111&#8243; in binary mode, and it means all permission is on.  1 is on, 0 is off.  so, 755 means that All permission for owner, but only readable and executable to group and world because 5 is &#8220;101&#8243;.   </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sunnycyk.hk/?feed=rss2&amp;p=364</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OSX: Add Hosts to Local hosts file</title>
		<link>http://blog.sunnycyk.hk/?p=358</link>
		<comments>http://blog.sunnycyk.hk/?p=358#comments</comments>
		<pubDate>Mon, 14 Sep 2009 08:01:38 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[hosts]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blog.sunnycyk.hk/?p=358</guid>
		<description><![CDATA[I was in the hospital for awhile, so I have not had a chance to update my blog.  
Yesterday I installed OpenSuse to my VM on my Mac Pro because I wanted to play with Magento, so I installed Apache, PHP, and mySQL with all necessary modules.  Everything is going well, and Magento(1.1.3) [...]]]></description>
			<content:encoded><![CDATA[<p>I was in the hospital for awhile, so I have not had a chance to update my blog.  </p>
<p>Yesterday I installed OpenSuse to my VM on my Mac Pro because I wanted to play with Magento, so I installed Apache, PHP, and mySQL with all necessary modules.  Everything is going well, and Magento(1.1.3) finally installed successfully with it&#8217;s sample data today(it was a bitch until I changed the hostname to localhost.com!) .  However, I set my VM hostname as localhost.com, and I would like to access it from my OSX Safari.  And of course, my DNS records localhost.com as something else on the internet, but not pointing to my VM&#8217;s IP address.  </p>
<p>So what should I do?  I have to change the &#8220;<strong>hosts</strong>&#8221; file on my Mac.  It is located at &#8220;<strong>/private/etc/hosts</strong>&#8220;.  In order to edit it, you have to grant yourself as root privilege, but by default &#8220;root&#8221; account is disabled in OSX.  Therefore, you will use command &#8220;<strong>sudo</strong>&#8220;.  For example, I use vi for editing, I will type &#8220;<strong>sudo vi /private/etc/hosts</strong>&#8221; in my terminal windows, and it will prompt me to enter a password(which it should be your admin password on OSX).  Once you get authorized, you should be able to edit the <strong>hosts</strong> file. </p>
<p> To enter a new hostname in hosts file, in a new line at the end, type in IP address, then Tab, and the hostname.  Once saved, Mac OSX should resolve the hostname to that IP address.  </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sunnycyk.hk/?feed=rss2&amp;p=358</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List Open ports on Mac OS X</title>
		<link>http://blog.sunnycyk.hk/?p=355</link>
		<comments>http://blog.sunnycyk.hk/?p=355#comments</comments>
		<pubDate>Thu, 16 Jul 2009 06:14:03 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[listening port]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[open port]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.sunnycyk.hk/?p=355</guid>
		<description><![CDATA[Found this on the web.  I used to use fport to see which port is open on my machine, but it only works for Windows.  So, this will be helpful for any of you if you are looking for the same information.
open terminal windows, and type: sudo -lsof -i -P &#124; grep -i [...]]]></description>
			<content:encoded><![CDATA[<p>Found this on the web.  I used to use fport to see which port is open on my machine, but it only works for Windows.  So, this will be helpful for any of you if you are looking for the same information.</p>
<p>open terminal windows, and type: <b>sudo -lsof -i -P | grep -i &#8220;listen&#8221;</b></p>
<p>P.S.<br />
<b>| grep -i &#8220;listen&#8221; </b>  <&#8212; this is optional&#8230; but help you to grep which port is listening</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sunnycyk.hk/?feed=rss2&amp;p=355</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Save Youtube Video from Safari</title>
		<link>http://blog.sunnycyk.hk/?p=353</link>
		<comments>http://blog.sunnycyk.hk/?p=353#comments</comments>
		<pubDate>Mon, 13 Jul 2009 04:58:11 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.sunnycyk.hk/?p=353</guid>
		<description><![CDATA[My sister was being interviewed on TV something about plastic bag tax.  Her husband wants to save this interview, but they have already missed the broadcasting time.  And thank to the Internet, it has been showing on Youtube. haha.  So, he wants me to help him to save it and crop my [...]]]></description>
			<content:encoded><![CDATA[<p>My sister was being interviewed on TV something about plastic bag tax.  Her husband wants to save this interview, but they have already missed the broadcasting time.  And thank to the Internet, it has been showing on Youtube. haha.  So, he wants me to help him to save it and crop my sister&#8217;s part out.  I looked around, but did not find any good converter.  There was a site that actually you can copy Youtube&#8217;s URL, and convert the video.  However, the quality was not good at all, and no sound!!!  (still couldnt figure out why)  </p>
<p>And I found this: <a href="http://www.usingmac.com/2009/1/20/free-download-hd-youtube-video">http://www.usingmac.com/2009/1/20/free-download-hd-youtube-video</a></p>
<p>You can save youtube video from Safari!  Following this steps on Safari:</p>
<p>1. Open YouTube URL to video. Append URL with &#038;fmt=18 to view HD video (you may not need it if you don&#8217;t need HD video)<br />
2. Show up Activity Monitor (Command-Option-A)<br />
3. Seek for file with largest size and Option-Click it<br />
4. The download should be started with default name video.mp4  </p>
<p>Isn&#8217;t it nice?  and I used iMovie to crop my sister&#8217;s part out.  </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sunnycyk.hk/?feed=rss2&amp;p=353</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress and flash?</title>
		<link>http://blog.sunnycyk.hk/?p=351</link>
		<comments>http://blog.sunnycyk.hk/?p=351#comments</comments>
		<pubDate>Fri, 03 Jul 2009 05:33:48 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Theme Design]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.sunnycyk.hk/?p=351</guid>
		<description><![CDATA[ok.  First I want to say: This may not work, just my idea how Wordpress and flash work together.  
Since WordPress uses Database, you can actually retrieve your Blog from the database.  What you need to do is write a script to retrieve those data and display it as XML or whatever [...]]]></description>
			<content:encoded><![CDATA[<p>ok.  First I want to say: This may not work, just my idea how Wordpress and flash work together.  </p>
<p>Since WordPress uses Database, you can actually retrieve your Blog from the database.  What you need to do is write a script to retrieve those data and display it as XML or whatever data format you like.  Then your flash movie should read XML (or other data format) and display it.  </p>
<p>This purpose only good for read only.. since we are not modifying the database.. so I guess this should work well.  If you want to do more advance stuff, then the best way is first to see how the database tables related to each other, then do an appropriate updates for each modification.  </p>
<p>If you have a better idea, please let me know&#8230; </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sunnycyk.hk/?feed=rss2&amp;p=351</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Simple Flash Movie</title>
		<link>http://blog.sunnycyk.hk/?p=342</link>
		<comments>http://blog.sunnycyk.hk/?p=342#comments</comments>
		<pubDate>Fri, 26 Jun 2009 01:56:44 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Drawing]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.sunnycyk.hk/?p=342</guid>
		<description><![CDATA[Sometime I saw like a growing tree on some flash movie, and it is very attractive if you have very nice complete branches growing up.  So I tried to do my way.  It is basically a complete picture of a tree(my ugly drawing for test), and a circle mask that grow during the [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime I saw like a growing tree on some flash movie, and it is very attractive if you have very nice complete branches growing up.  So I tried to do my way.  It is basically a complete picture of a tree(my ugly drawing for test), and a circle mask that grow during the timeline.  As the result it looks like the tree growing.  These may be the easy and alternate way for doing this effect instead of programming it.<br />
 <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="550" HEIGHT="400" id="myMovieName"><PARAM NAME=movie VALUE="http://blog.sunnycyk.hk/wp-content/uploads/2009/06/branch.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED href="http://blog.sunnycyk.hk/wp-content/uploads/2009/06/branch.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sunnycyk.hk/?feed=rss2&amp;p=342</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photoshop &#8211; Liquify Tool</title>
		<link>http://blog.sunnycyk.hk/?p=306</link>
		<comments>http://blog.sunnycyk.hk/?p=306#comments</comments>
		<pubDate>Wed, 13 May 2009 05:36:41 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.sunnycyk.hk/?p=306</guid>
		<description><![CDATA[You can use Photoshop liquify tool to make yourself slimmer or fatter&#8230; Bigger eyes.. it is pretty fun when you get to know how to play with it.  
Original:

Photoshop liquified:

Liquify Tool is under &#8220;Filter > Liquify&#8221; on menu.
]]></description>
			<content:encoded><![CDATA[<p>You can use Photoshop liquify tool to make yourself slimmer or fatter&#8230; Bigger eyes.. it is pretty fun when you get to know how to play with it.  </p>
<p>Original:<br />
<a href="http://blog.sunnycyk.hk/wp-content/uploads/2009/05/dsc_2289.jpg"><img src="http://blog.sunnycyk.hk/wp-content/uploads/2009/05/dsc_2289-300x199.jpg" alt="dsc_2289" title="dsc_2289" width="300" height="199" class="alignnone size-medium wp-image-307" /></a><br />
Photoshop liquified:<br />
<a href="http://blog.sunnycyk.hk/wp-content/uploads/2009/05/dsc_2289a.jpg"><img src="http://blog.sunnycyk.hk/wp-content/uploads/2009/05/dsc_2289a-300x199.jpg" alt="dsc_2289a" title="dsc_2289a" width="300" height="199" class="alignnone size-medium wp-image-308" /></a></p>
<p>Liquify Tool is under &#8220;Filter > Liquify&#8221; on menu.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sunnycyk.hk/?feed=rss2&amp;p=306</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
