<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>messaliberty</title>
	
	<link>http://www.messaliberty.com</link>
	<description>about hulor and us</description>
	<lastBuildDate>Tue, 20 Jul 2010 06:42:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/messaliberty/main" /><feedburner:info uri="messaliberty/main" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>messaliberty/main</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>How to reduce your page loads from 72 seconds to 1.52 seconds</title>
		<link>http://feedproxy.google.com/~r/messaliberty/main/~3/qgar9sDxIG8/</link>
		<comments>http://www.messaliberty.com/2010/07/how-to-reduce-your-page-loads-from-72-seconds-to-1-52-seconds/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 06:38:59 +0000</pubDate>
		<dc:creator>ianc</dc:creator>
				<category><![CDATA[techtips]]></category>
		<category><![CDATA[advice]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[load times]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://www.messaliberty.com/?p=1419</guid>
		<description>If you&amp;#8217;re expecting some kind of long winded tutorial about optmising, caching and super-charging your site, sorry to disappoint.  The advice is:
Don&amp;#8217;t use flickr
Ok, if you&amp;#8217;re not a flickr user you&amp;#8217;ve probably stopped reading already, but if not you might be rewarded by one or two nuggets of useful information.  

The story starts [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2010/01/how-to-create-a-single-wp-config-file-for-local-and-remote-wordpress-development/' rel='bookmark' title='Permanent Link: How to create a single wp-config file for local and remote WordPress development'&gt;How to create a single wp-config file for local and remote WordPress development&lt;/a&gt; &lt;small&gt;If you are developing WordPress sites, themes or plugins, you...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.</description>
			<content:encoded><![CDATA[<p><img src="http://www.messaliberty.com/wp-content/uploads/2010/07/site-load-time.jpg" alt="" title="site-load-time" width="345" height="175" class="alignnone size-full wp-image-1422" /></p>
<p>If you&#8217;re expecting some kind of long winded tutorial about optmising, caching and super-charging your site, sorry to disappoint.  The advice is:</p>
<h3>Don&#8217;t use flickr</h3>
<p>Ok, if you&#8217;re not a flickr user you&#8217;ve probably stopped reading already, but if not you might be rewarded by one or two nuggets of useful information.  </p>
<p><span id="more-1419"></span><br />
The story starts with <a href="http://hiroyukishinohara.com">Hiro&#8217;s personal blog</a> being at the top of hatena&#8217;s bookmarks page (think Japanese delicious).  Unfortunately, it was hosted in-house about 2 metres away from where I am sitting.  I think I can still smell the smoke :p</p>
<p>It was swamped, no-one could get through to it but we kept it up in some vain attempt to let whoever access<a href="http://jp.hiroyukishinohara.com/2010/07/evangelion.html"> the Evangelion related story</a>.  The server wasn&#8217;t tuned or optimised and only had a basic caching.  But that&#8217;s beside the point, and as I said this post isn&#8217;t about optimising, caching and tuning.  </p>
<p>After the above episode, Hiro moved his blog to Amazon&#8217;s EC2 cloud servers, just like our main blogs and also <a href="http://messa.tv">messa.tv</a></p>
<p>I was curious though, how much of an improvement was it? Obviously the EC2 server wasn&#8217;t on its hands and knees begging for mercy (or to be put out of its misery) but still, how fast was it to load?</p>
<p>The answer surprised me.  It was slow, 32 seconds slow.  Half a minute to load the front page!  </p>
<p><img src="http://www.messaliberty.com/wp-content/uploads/2010/07/hiroyukishinohara.gif" alt="" title="hiroyukishinohara" width="450" height="197" class="alignnone size-full wp-image-1429" /></p>
<p>I used <a href="http://browsermob.com/tools">BrowserMob&#8217;s free Instant Test</a> to do the measuring, highly recommended and no the above link isn&#8217;t an affiliate link.  </p>
<p>The reasons I recommend BrowserMob are because it tests from 4 different locations around the world, and the results are easy to read.  Plus there is no set-up.  I found it because I was searching for Load or Stress testing in a user friendly set-up.  </p>
<p>Ok, I thought let&#8217;s try some of my own sites, set up on a Linode VPS.  Tuned, cached <em>and</em> nginx based.  And I was floored&#8230;</p>
<p><strong>1.2mins</strong> to serve up the 347.2KB front page!  I couldn&#8217;t believe it, I almost cried.  </p>
<p>I looked more closely at the report and then discovered why it was taking 72 seconds to serve up 347KB.  It was a flickr widget I was using, pulling down thumbnails of recent photos in my public pool.  Whereas a full sized photo hosted locally on the server was taking 0.234 seconds to load, a thumbnail from flickr was taking 30.1 seconds.  And because of the number of thumbnails I was loading, it did them in batches, so 6 thumbnails took 30 seconds then the next took another 30 seconds.  Note that the files are <strong>tiny</strong>, 337 bytes not 337KB.  </p>
<p><img src="http://www.messaliberty.com/wp-content/uploads/2010/07/mine.gif" alt="" title="mine" width="450" height="168" class="alignnone size-full wp-image-1430" /></p>
<p>The advanced caching I set up didn&#8217;t help because the thumbnails weren&#8217;t local so were not cached.  </p>
<p>So I disabled the widget and re-tested.  New load time: 1.52 secs with no single item loaded taking more that 300 milliseconds.  </p>
<p><img src="http://www.messaliberty.com/wp-content/uploads/2010/07/mine2.gif" alt="" title="mine2" width="450" height="170" class="alignnone size-full wp-image-1433" /></p>
<p>Owwwww!  (That was the sound of me kicking myself repeatedly)  </p>
<p>I then went back to the report of Hiro&#8217;s EC2 hosted blog and found that it was the same, images from flickr were taking 30 seconds to load.  He wasn&#8217;t loading as many as I was hence the total time of 32 seconds.  BTW (EC2 vs Linode comparison tidbit) loading a local image took 2.2 seconds on the EC2 server vs my 0.234 seconds on my Linode server.  </p>
<p>So here are the takeaways:</p>
<ol>
<li>Don&#8217;t use flickr for hosting images you will be displaying on your site</li>
<li>Even if you&#8217;re confident you&#8217;ve got uber-hosting, check your site</li>
<li>Your site may feel fast to you but it could be an illusion because of locality and browser (not server) caching</li>
<li>BrowserMob makes it easy to do No. 2 and its free</li>
</ol>


<p>Related posts:<ol><li><a href='http://www.messaliberty.com/2010/01/how-to-create-a-single-wp-config-file-for-local-and-remote-wordpress-development/' rel='bookmark' title='Permanent Link: How to create a single wp-config file for local and remote WordPress development'>How to create a single wp-config file for local and remote WordPress development</a> <small>If you are developing WordPress sites, themes or plugins, you...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=qgar9sDxIG8:tFs1XV5N4sI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=qgar9sDxIG8:tFs1XV5N4sI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=qgar9sDxIG8:tFs1XV5N4sI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=qgar9sDxIG8:tFs1XV5N4sI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=qgar9sDxIG8:tFs1XV5N4sI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=qgar9sDxIG8:tFs1XV5N4sI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=qgar9sDxIG8:tFs1XV5N4sI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=qgar9sDxIG8:tFs1XV5N4sI:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/messaliberty/main/~4/qgar9sDxIG8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.messaliberty.com/2010/07/how-to-reduce-your-page-loads-from-72-seconds-to-1-52-seconds/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.messaliberty.com/2010/07/how-to-reduce-your-page-loads-from-72-seconds-to-1-52-seconds/</feedburner:origLink></item>
		<item>
		<title>5 examples of Augmented Reality being used by business</title>
		<link>http://feedproxy.google.com/~r/messaliberty/main/~3/uw-isCO8xjc/</link>
		<comments>http://www.messaliberty.com/2010/07/5-augmented-reality-examples/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 04:58:23 +0000</pubDate>
		<dc:creator>ken</dc:creator>
				<category><![CDATA[lifehacks]]></category>
		<category><![CDATA[AR]]></category>
		<category><![CDATA[ikea]]></category>
		<category><![CDATA[lego]]></category>
		<category><![CDATA[ray-ban]]></category>
		<category><![CDATA[sekai kamera]]></category>
		<category><![CDATA[usps]]></category>

		<guid isPermaLink="false">http://www.messaliberty.com/?p=1402</guid>
		<description>AR (Augmented Reality), thanks to the iPhone Application called &amp;#8220;Sekai Kamera&amp;#8221; which allows you to see virtual tags users attach to real world views through iPhone camera, is attracting a lot of attention in Japan. It is starting to be used for sales promotions and marketing purposes all over the world.  
If we imagine [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.</description>
			<content:encoded><![CDATA[<p>AR (Augmented Reality), thanks to the iPhone Application called &#8220;Sekai Kamera&#8221; which allows you to see virtual tags users attach to real world views through iPhone camera, is attracting a lot of attention in Japan. It is starting to be used for sales promotions and marketing purposes all over the world.  </p>
<p>If we imagine the &#8220;Scouter&#8221; in DragonBall or &#8220;AR glasses&#8221; in Dennō Coil, it seems like a technology set in the future, but how is it like in the real world? Here I examine 5 cases of AR as used in business in the present moment.</p>
<h4>1. Zugara &#8211; a service which allows you to have your virtual fitting room</h4>
<p>This is one of the most famous AR examples and has caught the imagination of many bloggers. You print out what they call &#8220;markers&#8221; prepared for each item of clothing and show it to the web camera, fitting it to your body. The marker will then change itself to the clothing you picked up. Once it is set, you don&#8217;t have to keep holding it. The feature of this service is that it allows you to control with motion-capture in addition to AR. You can change the color or design and purchase the clothes using the scroll button that appears in the window, just like &#8220;Minority Report&#8221;. It isn&#8217;t a finished product and not commercialized yet as you only can try on 2D catalog pictures, but it may well be that it becomes the prototype of future online shopping experiences.</p>
<p><object width="500" height="300"><param name="movie" value="http://www.youtube.com/v/NxQZuo6pFUw&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/NxQZuo6pFUw&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="300"></embed></object></p>
<h4>2. Lego DigitalBox &#8211; Lego box on which kids can see the completed model</h4>
<p>Showing how cool the finished model is, will capture the attention and imagination of kids.   Here is Lego Digitalbox which is developed by Metaio, a leading AR company in Germany. So what is Lego Digitalbox? Lego Digitalbox is a special box on which the completed model will show up when you show it to the special monitor which is set up in a Lego shop . Some people joke that it is so cool that kids will be satisfied with seeing the &#8220;Virtual Lego&#8221; and won&#8217;t buy an actual one.</p>
<p><object width="500" height="300"><param name="movie" value="http://www.youtube.com/v/8UxWkZtUKaI&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/8UxWkZtUKaI&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="500" height="300"></embed></object><br />
<span id="more-1402"></span></p>
<h4>3. My.IKEA &#8211; a service that let&#8217;s you try out virtual layouts before buying furniture.</h4>
<p>IKEA is also trying out AR (Augmented Reality) for their promotions. IKEA also uses Markers like Zugara. If you print out Makers prepared for each item and show it to the web camera, the furniture pops up on the monitor. You can try out this cool service from &#8220;My.IKEA&#8221;, but at this moment (July 1st 2010) I can&#8217;t find that page and have no idea how to access it. Please leave a comment if you know how.  In the meantime, you can watch the demo to get a general idea of how it works. </p>
<p><object width="500" height="300"><param name="movie" value="http://www.youtube.com/v/OjavjTvzIMw&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/OjavjTvzIMw&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="300"></embed></object></p>
<h4>4. USPS &#8211; Virtual box simulator</h4>
<p>&#8220;The Virtual Box Simulator&#8221;, a service USPS has started, is another cool AR service. With this service, you can check which box size you need using a virtual 3D box. Feature of this service is you can change the size of the virtual box by clicking the box icon on the site. You also can adjust the transparency so you can see which side is too long. There is no other way to check if it&#8217;s the right size than actually you put your item in the box. From that point of view, this virtual box is a good example of how to use AR.</p>
<p><object width="500" height="300"><param name="movie" value="http://www.youtube.com/v/WpS3LeCiCtc&#038;rel=0&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/WpS3LeCiCtc&#038;rel=0&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="500" height="300"></embed></object></p>
<h4>5. Ray-Ban – a service that you can try on virtual glasses.</h4>
<p>This is a service it enable you to try on virtual Ray-Bans with AR.<br />
Unlike trying on clothes, only your face needs to be shown to the camera. So it might be one of the best services that combine AR with a web camera. You can download what they call &#8220;Virtual mirror&#8221; from <a href="http://www.ray-ban.com/usa/science/virtual-mirror">here</a> and set up. Unfortunately, this service is available only on Windows.</p>
<p><object width="500" height="300"><param name="movie" value="http://www.youtube.com/v/ufuZPPignlY&#038;rel=0&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/ufuZPPignlY&#038;rel=0&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="500" height="300"></embed></object></p>
<p>Today I covered 5 Augmented Reality services which are being used in business. Unfortunately, at the moment there are not many opportunities we can feel and touch AR, but you can extrapolate how our lives might change with the current examples. With other technologies like location-based services and  motion-capture services, AR will be part of the future revolution of the Internet.  </p>
<p>If you know of other ground-breaking examples of AR, please tell us via the comments.  </p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=uw-isCO8xjc:JEynputUs9g:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=uw-isCO8xjc:JEynputUs9g:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=uw-isCO8xjc:JEynputUs9g:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=uw-isCO8xjc:JEynputUs9g:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=uw-isCO8xjc:JEynputUs9g:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=uw-isCO8xjc:JEynputUs9g:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=uw-isCO8xjc:JEynputUs9g:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=uw-isCO8xjc:JEynputUs9g:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/messaliberty/main/~4/uw-isCO8xjc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.messaliberty.com/2010/07/5-augmented-reality-examples/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.messaliberty.com/2010/07/5-augmented-reality-examples/</feedburner:origLink></item>
		<item>
		<title>How to fix WordPress automatic upgrades and plugin installs on XAMPP</title>
		<link>http://feedproxy.google.com/~r/messaliberty/main/~3/eZxopzf0SZ4/</link>
		<comments>http://www.messaliberty.com/2010/04/how-to-fix-wordpress-automatic-upgrades-and-plugin-installs-on-xampp/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 04:15:48 +0000</pubDate>
		<dc:creator>ianc</dc:creator>
				<category><![CDATA[techtips]]></category>
		<category><![CDATA[automatic updates]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://www.messaliberty.com/?p=1377</guid>
		<description>If you&amp;#8217;ve ever had problems with WordPress automatic updates on a local install of XAMPP this should fix it (note that I&amp;#8217;ve tested it on OSX but it should work for Windows/Linux but the details will be different).  For a long time I just did the updates/installs by manually installing because the automatic upgrades never [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2010/01/how-to-create-a-single-wp-config-file-for-local-and-remote-wordpress-development/' rel='bookmark' title='Permanent Link: How to create a single wp-config file for local and remote WordPress development'&gt;How to create a single wp-config file for local and remote WordPress development&lt;/a&gt; &lt;small&gt;If you are developing WordPress sites, themes or plugins, you...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2009/10/thoughts-on-the-gpl-and-wordpress-themes/' rel='bookmark' title='Permanent Link: Thoughts on the GPL and WordPress themes'&gt;Thoughts on the GPL and WordPress themes&lt;/a&gt; &lt;small&gt; Why the GPL doesn&amp;#8217;t matter WordCamp Kyoto 2009 was...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2009/12/localizing-dates-in-wordpress-themes/' rel='bookmark' title='Permanent Link: Localizing dates in WordPress themes'&gt;Localizing dates in WordPress themes&lt;/a&gt; &lt;small&gt;Our theme on the English side and the Japanese side...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.</description>
			<content:encoded><![CDATA[<p><a href="http://www.messaliberty.com/wp-content/uploads/2010/04/blogpost-ftpdetails2.jpg"><img class="alignnone size-full wp-image-1387" title="blogpost-ftpdetails2" src="http://www.messaliberty.com/wp-content/uploads/2010/04/blogpost-ftpdetails2.jpg" alt="" width="500" height="245" /></a></p>
<p>If you&#8217;ve ever had problems with WordPress automatic updates on a local install of XAMPP this should fix it (note that I&#8217;ve tested it on OSX but it should work for Windows/Linux but the details will be different).  For a long time I just did the updates/installs by manually installing because the automatic upgrades never worked or it would ask for my ftp details.  And no matter what ftp details I entered it would never connect.  Same for plugin installs or updates.</p>
<p>Turns out that it has nothing to do with ftp settings, it was a simple file permissions conflict.  XAMPP was running its local Apache as user &#8216;nobody&#8217; while the files on my hard disk were owned by my local user &#8216;ian&#8217;.  When WordPress came across this conflict it fell back to ftp mode but since it is a local install, that didn&#8217;t work.</p>
<p>So what to do? The easiest thing to do is to edit the XAMPP apache config file to run it as your local user.  To find out your local user name, just launch terminal and in your home directory run:</p>
<pre class="brush: plain;">
ls -al
</pre>
<p>then edit the config file.</p>
<pre class="brush: plain;">
sudo vi /Applications/XAMPP/etc/httpd.conf
</pre>
<p>look for these lines:</p>
<pre class="brush: plain;">
User nobody
Group admin
</pre>
<p>and change them to:</p>
<pre class="brush: plain;">
User yourusername
Group staff
</pre>
<p>You&#8217;ll have to restart XAMPP&#8217;s Apache and if you attempted automatic updates before and failed, you&#8217;ll have to delete the upgrades folder inside wp-content.</p>
<p>Hope this helps other WordPress designers and developers using XAMPP.  Please leave a comment or have a look at <a href="http://messa.tv">messa.tv</a> if it did :)</p>


<p>Related posts:<ol><li><a href='http://www.messaliberty.com/2010/01/how-to-create-a-single-wp-config-file-for-local-and-remote-wordpress-development/' rel='bookmark' title='Permanent Link: How to create a single wp-config file for local and remote WordPress development'>How to create a single wp-config file for local and remote WordPress development</a> <small>If you are developing WordPress sites, themes or plugins, you...</small></li><li><a href='http://www.messaliberty.com/2009/10/thoughts-on-the-gpl-and-wordpress-themes/' rel='bookmark' title='Permanent Link: Thoughts on the GPL and WordPress themes'>Thoughts on the GPL and WordPress themes</a> <small> Why the GPL doesn&#8217;t matter WordCamp Kyoto 2009 was...</small></li><li><a href='http://www.messaliberty.com/2009/12/localizing-dates-in-wordpress-themes/' rel='bookmark' title='Permanent Link: Localizing dates in WordPress themes'>Localizing dates in WordPress themes</a> <small>Our theme on the English side and the Japanese side...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=eZxopzf0SZ4:6t3cMWRpMK8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=eZxopzf0SZ4:6t3cMWRpMK8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=eZxopzf0SZ4:6t3cMWRpMK8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=eZxopzf0SZ4:6t3cMWRpMK8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=eZxopzf0SZ4:6t3cMWRpMK8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=eZxopzf0SZ4:6t3cMWRpMK8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=eZxopzf0SZ4:6t3cMWRpMK8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=eZxopzf0SZ4:6t3cMWRpMK8:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/messaliberty/main/~4/eZxopzf0SZ4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.messaliberty.com/2010/04/how-to-fix-wordpress-automatic-upgrades-and-plugin-installs-on-xampp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.messaliberty.com/2010/04/how-to-fix-wordpress-automatic-upgrades-and-plugin-installs-on-xampp/</feedburner:origLink></item>
		<item>
		<title>New Dual Screen iMac spotted – intergrated keyboard too!</title>
		<link>http://feedproxy.google.com/~r/messaliberty/main/~3/ppNPGmODkIw/</link>
		<comments>http://www.messaliberty.com/2010/04/new-dual-screen-imac-spotted-intergrated-keyboard-too/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 05:08:07 +0000</pubDate>
		<dc:creator>ianc</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[afd]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[imac]]></category>

		<guid isPermaLink="false">http://www.messaliberty.com/?p=1372</guid>
		<description>Spotted in the offices of messaliberty. Hope we don&amp;#8217;t get sued by Apple for showing this. :p


Related posts:2 Keyboard Shortcuts You Must Know For Google Wave We&amp;#8217;re using Google Wave for our internal text meetings. And...The 5 iPad apps I am looking forward to So the iPad will be delivered to lucky Americans in...
Related posts [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2009/11/2-keyboard-shortcuts-you-must-know-for-google-wave/' rel='bookmark' title='Permanent Link: 2 Keyboard Shortcuts You Must Know For Google Wave'&gt;2 Keyboard Shortcuts You Must Know For Google Wave&lt;/a&gt; &lt;small&gt;We&amp;#8217;re using Google Wave for our internal text meetings. And...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2010/03/the-5-ipad-apps-i-am-looking-forward-to/' rel='bookmark' title='Permanent Link: The 5 iPad apps I am looking forward to'&gt;The 5 iPad apps I am looking forward to&lt;/a&gt; &lt;small&gt;So the iPad will be delivered to lucky Americans in...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.</description>
			<content:encoded><![CDATA[<div id="attachment_1373" class="wp-caption alignnone" style="width: 310px"><a href="http://www.messaliberty.com/wp-content/uploads/2010/04/DSC_1804.jpg"><img class="size-medium wp-image-1373" title="DSC_1804" src="http://www.messaliberty.com/wp-content/uploads/2010/04/DSC_1804-300x199.jpg" alt="" width="300" height="199" /></a><p class="wp-caption-text">Dual screen iMac</p></div>
<p>Spotted in the offices of messaliberty. Hope we don&#8217;t get sued by Apple for showing this. :p</p>


<p>Related posts:<ol><li><a href='http://www.messaliberty.com/2009/11/2-keyboard-shortcuts-you-must-know-for-google-wave/' rel='bookmark' title='Permanent Link: 2 Keyboard Shortcuts You Must Know For Google Wave'>2 Keyboard Shortcuts You Must Know For Google Wave</a> <small>We&#8217;re using Google Wave for our internal text meetings. And...</small></li><li><a href='http://www.messaliberty.com/2010/03/the-5-ipad-apps-i-am-looking-forward-to/' rel='bookmark' title='Permanent Link: The 5 iPad apps I am looking forward to'>The 5 iPad apps I am looking forward to</a> <small>So the iPad will be delivered to lucky Americans in...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=ppNPGmODkIw:AWqDeimIq2A:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=ppNPGmODkIw:AWqDeimIq2A:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=ppNPGmODkIw:AWqDeimIq2A:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=ppNPGmODkIw:AWqDeimIq2A:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=ppNPGmODkIw:AWqDeimIq2A:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=ppNPGmODkIw:AWqDeimIq2A:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=ppNPGmODkIw:AWqDeimIq2A:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=ppNPGmODkIw:AWqDeimIq2A:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/messaliberty/main/~4/ppNPGmODkIw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.messaliberty.com/2010/04/new-dual-screen-imac-spotted-intergrated-keyboard-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.messaliberty.com/2010/04/new-dual-screen-imac-spotted-intergrated-keyboard-too/</feedburner:origLink></item>
		<item>
		<title>The 5 iPad apps I am looking forward to</title>
		<link>http://feedproxy.google.com/~r/messaliberty/main/~3/-cyif7VktyY/</link>
		<comments>http://www.messaliberty.com/2010/03/the-5-ipad-apps-i-am-looking-forward-to/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 06:11:22 +0000</pubDate>
		<dc:creator>ianc</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[evernote]]></category>
		<category><![CDATA[goodreader]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[jotnot]]></category>
		<category><![CDATA[logmein ignition]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[vnc]]></category>
		<category><![CDATA[writeroom]]></category>

		<guid isPermaLink="false">http://www.messaliberty.com/?p=1347</guid>
		<description>So the iPad will be delivered to lucky Americans in a few days. Cue the mass of unboxing videos and delirious first reviews.
We in Japan are not so lucky, we&amp;#8217;ll be lucky to get them in late April but early May is also likely. This is opposite to what you know who claimed in his [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2009/09/must-have-mac-apps-for-web-developers/' rel='bookmark' title='Permanent Link: Must have Mac apps for web developers'&gt;Must have Mac apps for web developers&lt;/a&gt; &lt;small&gt;Got a new mac? You should check this list to...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2010/04/new-dual-screen-imac-spotted-intergrated-keyboard-too/' rel='bookmark' title='Permanent Link: New Dual Screen iMac spotted &amp;#8211; intergrated keyboard too!'&gt;New Dual Screen iMac spotted &amp;#8211; intergrated keyboard too!&lt;/a&gt; &lt;small&gt;Spotted in the offices of messaliberty. Hope we don&amp;#8217;t get...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.</description>
			<content:encoded><![CDATA[<p>So the iPad will be delivered to lucky Americans in a few days. Cue the mass of unboxing videos and delirious first reviews.</p>
<p>We in Japan are not so lucky, we&#8217;ll be lucky to get them in late April but early May is also likely. This is opposite to what you know who claimed in his announcement in January. Oh well&#8230;</p>
<p>Anyway when it does arrive, these are the 5 apps I am most looking forward to using with the iPad and why. *Click on the images to go to the iTunes Preview page</p>
<div id="attachment_1351" class="wp-caption alignnone" style="width: 310px"><a href="http://itunes.apple.com/us/app/dropbox/id327630330?mt=8"><img class="size-medium wp-image-1351" title="dropbox" src="http://www.messaliberty.com/wp-content/uploads/2010/03/dropbox-300x250.jpg" alt="" width="300" height="250" /></a><p class="wp-caption-text">Dropbox</p></div>
<p><a href="http://itunes.apple.com/us/app/dropbox/id327630330?mt=8"><strong>Dropbox</strong></a><br />
If you&#8217;ve ever used Dropbox, I probably don&#8217;t need to explain but for some of you who haven&#8217;t <a href="https://www.dropbox.com/referrals/NTU5NDc0NTk">it provides effortless and free syncing</a> between computers and computers or computers and iPhones/iPod touches/iPads (paid plans are also available).  As someone who doesn&#8217;t do the full USB sync often it is a lifesaver.  Just drop a PDF or some pictures in the dropbox on your computer and seconds later you can access it on your iPad.  If you mark files as favourites, it will store them locally.  But talking of pdfs&#8230;<span id="more-1347"></span></p>
<div id="attachment_1355" class="wp-caption alignnone" style="width: 310px"><a href="http://itunes.apple.com/us/app/goodreader-large-pdf-viewer/id306277111?mt=8"><img class="size-medium wp-image-1355" title="goodreader" src="http://www.messaliberty.com/wp-content/uploads/2010/03/goodreader-300x267.jpg" alt="" width="300" height="267" /></a><p class="wp-caption-text">GoodReader</p></div>
<p><a href="http://itunes.apple.com/us/app/goodreader-large-pdf-viewer/id306277111?mt=8"><strong>GoodReader</strong></a><br />
The iPhone has built-in PDF reader functionality but it&#8217;s not very good. Zooming, controls, how to access it or files are all poorly implemented.  It seems like an afterthought. GoodReader on the other hand is a supremely well made PDF reader.  Zooming is great. It does PDF reflowing, where it tries to read the text of the PDF, fits it to the screen and then allow you to change font size.  Access to files is easy too, download direct from the web, or from Dropbox or ftp servers.  The files are then stored on the iPad/iPhone.  With the likelyhood of the iBooks store not being available in Japan at launch and even then with limited or overpriced content, GoodReader will let me read PDF versions of books I already have or are available on the web.  The biggest problem with GoodReader on the iPhone is the iPhone&#8217;s screen size.  It isn&#8217;t really comfortable to read long books, even with all the tricks GoodReader has, but the iPad&#8217;s screen should be much better in this regard.  It would be even better if it read ePub files, so that I wouldn&#8217;t need to use Stanza. <a href="http://itunes.apple.com/us/app/stanza/id284956128?mt=8">Stanza</a> is great for ePub files, stylish, usable, easy to read but trying to access books not in the libraries is a maze.</p>
<div id="attachment_1356" class="wp-caption alignnone" style="width: 310px"><a href="http://itunes.apple.com/us/app/writeroom/id288751446?mt=8"><img class="size-medium wp-image-1356" title="writeroom" src="http://www.messaliberty.com/wp-content/uploads/2010/03/writeroom-300x259.jpg" alt="" width="300" height="259" /></a><p class="wp-caption-text">WriteRoom</p></div>
<p><a href="http://itunes.apple.com/us/app/writeroom/id288751446?mt=8"><strong>WriteRoom</strong></a><br />
I&#8217;m actually typing this in WriteRoom and it is great for just bashing out text without distractions. You could say that the notes app is sufficient but I love the syncing abilities of WriteRoom. (see a pattern here?) Half of this post was typed on the iPhone and half on my desktop.  I don&#8217;t actually see myself doing a lot of work on the iPad, but one type of task I probably could do without frustration would be writing.  I can definitely see myself at Starbucks bashing out posts with the iPad 3G and <a href="http://daringfireball.net/linked/2010/03/12/dalrymple">a bluetooth keyboard ala Gruber</a>.</p>
<div id="attachment_1357" class="wp-caption alignnone" style="width: 310px"><a href="http://itunes.apple.com/us/app/mocha-vnc/id284981670?mt=8"><img class="size-medium wp-image-1357" title="vnc" src="http://www.messaliberty.com/wp-content/uploads/2010/03/vnc-300x283.jpg" alt="" width="300" height="283" /></a><p class="wp-caption-text">VNC</p></div>
<p><a href="http://itunes.apple.com/us/app/mocha-vnc/id284981670?mt=8"><strong>VNC</strong></a><br />
I use vnc quite a lot with my iPhone.  Of course with the screen resolution, it is bearable but not totally productive.  With 1024&#215;768 of iPad screen space I could control the mac mini being used as a media center in full screen mode and for my desktops I could control them with a lot less scrolling. Add in a VPN connection and I could access the Mac I use at work.  In the same way, I&#8217;m sure some people are also looking forward to using the pricier <a href="http://itunes.apple.com/us/app/logmein-ignition/id299616801?mt=8">LogMeIn Ignition</a>.</p>
<div id="attachment_1358" class="wp-caption alignnone" style="width: 302px"><a href="http://itunes.apple.com/gb/app/evernote/id281796108?mt=8"><img class="size-medium wp-image-1358" title="evernote" src="http://www.messaliberty.com/wp-content/uploads/2010/03/evernote-292x300.jpg" alt="" width="292" height="300" /></a><p class="wp-caption-text">Evernote</p></div>
<p><a href="http://itunes.apple.com/gb/app/evernote/id281796108?mt=8"><strong>Evernote</strong></a><br />
This is a strange one as although it is available for the iPhone I haven&#8217;t made much use of it.  I&#8217;m not alone, there are quite a number of 1 star reviews on the app store.  So why am I looking forward to the iPad version? Because I can see how it can pair up with the one I have on the iPhone.  The iPhone is a great capture device but it feels cramped as an organising or filing device.  So I see myself using my iPhone to capture notes and photos, they would be automatically synced in the Evernote cloud and then I can review and organise on the iPad.  And it isn&#8217;t just Evernote but all the other apps like <a href="http://itunes.apple.com/us/app/jotnot-scanner/id307868751?mt=8">JotNot</a> that upload to the Evernote cloud that will make Evernote (iPad version) attractive to try out.</p>
<p>So those were my top 5 apps I am looking forward to using on the iPad.  If you are thinking of getting an iPad what are yours?</p>


<p>Related posts:<ol><li><a href='http://www.messaliberty.com/2009/09/must-have-mac-apps-for-web-developers/' rel='bookmark' title='Permanent Link: Must have Mac apps for web developers'>Must have Mac apps for web developers</a> <small>Got a new mac? You should check this list to...</small></li><li><a href='http://www.messaliberty.com/2010/04/new-dual-screen-imac-spotted-intergrated-keyboard-too/' rel='bookmark' title='Permanent Link: New Dual Screen iMac spotted &#8211; intergrated keyboard too!'>New Dual Screen iMac spotted &#8211; intergrated keyboard too!</a> <small>Spotted in the offices of messaliberty. Hope we don&#8217;t get...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=-cyif7VktyY:ANh7OO5KFJE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=-cyif7VktyY:ANh7OO5KFJE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=-cyif7VktyY:ANh7OO5KFJE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=-cyif7VktyY:ANh7OO5KFJE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=-cyif7VktyY:ANh7OO5KFJE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=-cyif7VktyY:ANh7OO5KFJE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=-cyif7VktyY:ANh7OO5KFJE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=-cyif7VktyY:ANh7OO5KFJE:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/messaliberty/main/~4/-cyif7VktyY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.messaliberty.com/2010/03/the-5-ipad-apps-i-am-looking-forward-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.messaliberty.com/2010/03/the-5-ipad-apps-i-am-looking-forward-to/</feedburner:origLink></item>
		<item>
		<title>How to create a single wp-config file for local and remote WordPress development</title>
		<link>http://feedproxy.google.com/~r/messaliberty/main/~3/2QF0NGfOX04/</link>
		<comments>http://www.messaliberty.com/2010/01/how-to-create-a-single-wp-config-file-for-local-and-remote-wordpress-development/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 05:41:52 +0000</pubDate>
		<dc:creator>ianc</dc:creator>
				<category><![CDATA[techtips]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[virtual servers]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-config]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://www.messaliberty.com/?p=1331</guid>
		<description>If you are developing WordPress sites, themes or plugins, you probably know that setting up a local development environment can speed things up immensely.  The easiest way is to use XAMPP or MAMP.  I prefer XAMPP by the way as it is available on Windows, Mac OSX and Linux.  Installing XAMPP gets you [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2010/04/how-to-fix-wordpress-automatic-upgrades-and-plugin-installs-on-xampp/' rel='bookmark' title='Permanent Link: How to fix WordPress automatic upgrades and plugin installs on XAMPP'&gt;How to fix WordPress automatic upgrades and plugin installs on XAMPP&lt;/a&gt; &lt;small&gt; If you&amp;#8217;ve ever had problems with WordPress automatic updates...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2009/12/jruby-on-rails-on-gaej-howto-put-rubygems-into-a-jar-file-to-reduce-number-of-files/' rel='bookmark' title='Permanent Link: [JRuby on Rails on GAE/J] how-to put rubygems into a jar file to get around file limitations'&gt;[JRuby on Rails on GAE/J] how-to put rubygems into a jar file to get around file limitations&lt;/a&gt; &lt;small&gt;GAE (Google App Engine) has a limit number to the...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2009/11/how-to-use-email-to-create-and-reply-to-forums-on-redmine/' rel='bookmark' title='Permanent Link: How To Use Email To Create And Reply To Forums on Redmine'&gt;How To Use Email To Create And Reply To Forums on Redmine&lt;/a&gt; &lt;small&gt;We&amp;#8217;re using Redmine not only as a BTS (Bug Tracking...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.</description>
			<content:encoded><![CDATA[<p>If you are developing WordPress sites, themes or plugins, you probably know that setting up a local development environment can speed things up immensely.  The easiest way is to use <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> or MAMP.  I prefer XAMPP by the way as it is available on Windows, Mac OSX and Linux.  Installing XAMPP gets you most of the way to headache free WordPress development, the rest is setting up your local server/virtual servers so that it as closely mirrors your remote set-up as possible.</p>
<p>However, some settings like blog address are held in the database which makes mirroring local development and remote production servers a little tricky.  If you just backed up the database on the remote set-up and imported it to your local XAMPP server through phpMyAdmin then WordPress will still think that it is at http://www.wordpressblog.com and not http://localhost</p>
<p>Permalinks might not work, plugins might break and so on.</p>
<p>What you need to do is either edit the database, searching and replacing the relevant fields or edit the wp-config.php file to override the database settings.  I don&#8217;t recommend the first option as it is error-prone and you have to do it again if you throw the database in the opposite direction.</p>
<p>Editing the wp-config.php file is relatively easy, just add the lines</p>
<pre class="brush: php;">
	define('WP_SITEURL', &quot;http://localhost&quot;);
	define('WP_HOME', &quot;http://localhost&quot;);
</pre>
<p>but if you edit the wp-config.php file you will have two different versions of the file.  This will cause your site to break if you absent-mindedly uploaded your local wp-config.php to the remote server.  If you are using source control, like git or svn, and forget to exclude the file the same thing happens.  Plus you have to maintain two versions.</p>
<p>Here&#8217;s what I do.  I set-up the wp-config.php to check to see if it is a local server, if it is then set the configuration one way, otherwise set it using the production values.</p>
<p>The first 3 settings are the same whether local or remote.  In some cases the MySQL hostname will be different, so just set it later with the others.</p>
<pre class="brush: php;">
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpressdb');

/** MySQL database username */
define('DB_USER', 'wpdbuser');

/** MySQL hostname */
define('DB_HOST', 'localhost');
</pre>
<p>We&#8217;ve moved the 4th setting, the password, because it is different.  And we will add the &#8216;WP_SITEURL&#8217; and &#8216;WP_HOME&#8217; settings later to override the database values.  But first two more settings that are the same whether local or remote.</p>
<pre class="brush: php;">
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
</pre>
<p>Ok, now the fun starts.  These five lines checks to see if the server&#8217;s address is 127.0.0.1  If it is, we assume it is a local machine and set a WP_ENV to development, otherwise we set it to production.</p>
<pre class="brush: php;">
if ($_SERVER['REMOTE_ADDR']=='127.0.0.1') {
	define('WP_ENV', 'development');
} else {
	define('WP_ENV', 'production');
}
</pre>
<p>Having determined whether the environment is local or remote, we then grab the site address for use with &#8216;WP_SITEURL&#8217; and &#8216;WP_HOME&#8217;.  I don&#8217;t hardcode it in as it gives me the flexibility to re-use it for any virtual server.</p>
<pre class="brush: php;">
$debian_server  = preg_replace ('/:.*/',&quot;&quot;, $_SERVER['HTTP_HOST']); $_SERVER['HTTP_HOST']);
</pre>
<p>Finally in these lines, if it is the local development, we set a simple dummy password and disable post revisions. We also set WP_DEBUG to false, this allows us to set it to true if we come across any tricky problems.</p>
<p>If it is the real production server then we set the password to its original value which should be a long and random set of characters.</p>
<pre class="brush: php;">
if ( WP_ENV == 'development' ) {
	define('DB_PASSWORD', 'short_dummy_password');

	define ('WP_POST_REVISIONS', false);
	define ('WP_DEBUG', false);

	define('WP_SITEURL', &quot;http://$debian_server&quot;);
	define('WP_HOME', &quot;http://$debian_server&quot;);
} elseif ( WP_ENV == 'production' ) {
	define('DB_PASSWORD', 'the_real_password_which_is_a_very_long_and_random_string');
}
</pre>
<p>This wp-config.php file is now safe to be used on the remote production server or on your local development server.</p>
<p>One note, we didn&#8217;t set the WP_SITEURL and WP_HOME on the production server instead using the values in the database.  But if we moved a site from one domain to another we could do so.</p>
<p>If you have any questions, feel free to ask me in the comments.</p>


<p>Related posts:<ol><li><a href='http://www.messaliberty.com/2010/04/how-to-fix-wordpress-automatic-upgrades-and-plugin-installs-on-xampp/' rel='bookmark' title='Permanent Link: How to fix WordPress automatic upgrades and plugin installs on XAMPP'>How to fix WordPress automatic upgrades and plugin installs on XAMPP</a> <small> If you&#8217;ve ever had problems with WordPress automatic updates...</small></li><li><a href='http://www.messaliberty.com/2009/12/jruby-on-rails-on-gaej-howto-put-rubygems-into-a-jar-file-to-reduce-number-of-files/' rel='bookmark' title='Permanent Link: [JRuby on Rails on GAE/J] how-to put rubygems into a jar file to get around file limitations'>[JRuby on Rails on GAE/J] how-to put rubygems into a jar file to get around file limitations</a> <small>GAE (Google App Engine) has a limit number to the...</small></li><li><a href='http://www.messaliberty.com/2009/11/how-to-use-email-to-create-and-reply-to-forums-on-redmine/' rel='bookmark' title='Permanent Link: How To Use Email To Create And Reply To Forums on Redmine'>How To Use Email To Create And Reply To Forums on Redmine</a> <small>We&#8217;re using Redmine not only as a BTS (Bug Tracking...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=2QF0NGfOX04:u4YXG0eff6Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=2QF0NGfOX04:u4YXG0eff6Y:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=2QF0NGfOX04:u4YXG0eff6Y:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=2QF0NGfOX04:u4YXG0eff6Y:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=2QF0NGfOX04:u4YXG0eff6Y:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=2QF0NGfOX04:u4YXG0eff6Y:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=2QF0NGfOX04:u4YXG0eff6Y:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=2QF0NGfOX04:u4YXG0eff6Y:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/messaliberty/main/~4/2QF0NGfOX04" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.messaliberty.com/2010/01/how-to-create-a-single-wp-config-file-for-local-and-remote-wordpress-development/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.messaliberty.com/2010/01/how-to-create-a-single-wp-config-file-for-local-and-remote-wordpress-development/</feedburner:origLink></item>
		<item>
		<title>Google Japan’s marketing campaign at Tully’s Coffee But Wait!</title>
		<link>http://feedproxy.google.com/~r/messaliberty/main/~3/k-W-D8Sy83Q/</link>
		<comments>http://www.messaliberty.com/2010/01/google-japans-marketing-campaign-at-tullys-coffee-but-wait/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 00:15:31 +0000</pubDate>
		<dc:creator>hiro</dc:creator>
				<category><![CDATA[marketing]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[cafe]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[japan]]></category>
		<category><![CDATA[wi-fi]]></category>

		<guid isPermaLink="false">http://www.messaliberty.com/?p=1324</guid>
		<description>Like we discussed at recent episodes of messa.tv, Google is trying to become #1 player of Japanese search engine market. To achieve the aim, Google is spending huge amount of money for marketing campaigns on TV and anywhere around us.
Even here at Tully&amp;#8217;s Coffee which is one of Starbucks clones in Japan, I found a [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://www.messaliberty.com/2009/11/2-keyboard-shortcuts-you-must-know-for-google-wave/' rel='bookmark' title='Permanent Link: 2 Keyboard Shortcuts You Must Know For Google Wave'&gt;2 Keyboard Shortcuts You Must Know For Google Wave&lt;/a&gt; &lt;small&gt;We&amp;#8217;re using Google Wave for our internal text meetings. And...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.</description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 250px"><a href="http://www.flickr.com/photos/psycho-spider/4281245569/"><img alt="Google at Tullys" src="http://farm5.static.flickr.com/4020/4281245569_5b4a7b5cbf_m.jpg" title="Google at Tullys" width="240" height="180" /></a><p class="wp-caption-text">Google at Tully&#39;s</p></div>
<p>Like we discussed at recent episodes of <a href="http://messa.tv/">messa.tv</a>, Google is trying to become #1 player of Japanese search engine market. To achieve the aim, Google is spending huge amount of money for marketing campaigns on TV and anywhere around us.</p>
<p>Even here at Tully&#8217;s Coffee which is one of Starbucks clones in Japan, I found a small card by Google. It says &#8220;Connect to Free Wi-Fi here to see Google&#8217;s Search Story&#8221;. Sounds nice because it&#8217;s quite hard to find free Wi-Fi spots in Japan but don&#8217;t have excessive expectations for this campaign. ONLY 30min a day you can use it!</p>
<p>Partner companies of this campaign are Wi-Fi provider NTT and cafes like Tully&#8217;s. I know they don&#8217;t want to open the Wi-Fi for a long time but the only 30min limit gives me a negative impression. I&#8217;m always thinking that Google can give us deep impressions all the time.</p>


<p>Related posts:<ol><li><a href='http://www.messaliberty.com/2009/11/2-keyboard-shortcuts-you-must-know-for-google-wave/' rel='bookmark' title='Permanent Link: 2 Keyboard Shortcuts You Must Know For Google Wave'>2 Keyboard Shortcuts You Must Know For Google Wave</a> <small>We&#8217;re using Google Wave for our internal text meetings. And...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=k-W-D8Sy83Q:fEwcOgpw0a0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=k-W-D8Sy83Q:fEwcOgpw0a0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=k-W-D8Sy83Q:fEwcOgpw0a0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=k-W-D8Sy83Q:fEwcOgpw0a0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=k-W-D8Sy83Q:fEwcOgpw0a0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=k-W-D8Sy83Q:fEwcOgpw0a0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=k-W-D8Sy83Q:fEwcOgpw0a0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=k-W-D8Sy83Q:fEwcOgpw0a0:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/messaliberty/main/~4/k-W-D8Sy83Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.messaliberty.com/2010/01/google-japans-marketing-campaign-at-tullys-coffee-but-wait/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.messaliberty.com/2010/01/google-japans-marketing-campaign-at-tullys-coffee-but-wait/</feedburner:origLink></item>
		<item>
		<title>5 ways to do without a mouse</title>
		<link>http://feedproxy.google.com/~r/messaliberty/main/~3/pOCV6XIDqMw/</link>
		<comments>http://www.messaliberty.com/2009/12/5-ways-to-do-without-a-mouse/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 15:20:07 +0000</pubDate>
		<dc:creator>ken</dc:creator>
				<category><![CDATA[techtips]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[shortcuts]]></category>

		<guid isPermaLink="false">http://www.messaliberty.com/?p=1273</guid>
		<description>I like to use keyboard shortcuts as I am usually using a laptop.
So it&amp;#8217;s convenient to set  up a mouse-less environment.
I know many people use [Ctrl+P][Ctrl+C][Ctrl+V] and so on.
Some people uses 「Alt＋Tab」「Ctrl＋Tab」「Windows button＋D」as well.
Today I want to show you 5 ways to set-up a mouse-less environment that aren&amp;#8217;t as well known.

Go to top-right search box(when [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.</description>
			<content:encoded><![CDATA[<p>I like to use keyboard shortcuts as I am usually using a laptop.</p>
<p>So it&#8217;s convenient to set  up a mouse-less environment.<br />
I know many people use [Ctrl+P][Ctrl+C][Ctrl+V] and so on.<br />
Some people uses 「Alt＋Tab」「Ctrl＋Tab」「Windows button＋D」as well.</p>
<p>Today I want to show you 5 ways to set-up a mouse-less environment that aren&#8217;t as well known.</p>
<ol>
<li>Go to top-right search box(when browsing like Firefox, IE)</li>
<li>Go to address area (when browsing like Firefox, IE)</li>
<li>Call up the right mouse menu without mouse</li>
<li>Make scrolling smoother</li>
<li>Enable clicking links with keyboard</li>
</ol>
<p><span id="more-1273"></span>1. Have a look at the screenshot below</p>
<p><img class="alignnone size-full wp-image-1293" title="1en" src="http://www.messaliberty.com/wp-content/uploads/2009/12/1en.png" alt="1en" width="366" height="236" /></p>
<p>You can move to search box with the shortcut [Ctrl+E].</p>
<p>And in addition, you can choose the object for search with [Ctrl+↓]<br />
You can use this with Firefox and IE as well.</p>
<p>2. Have a look at the screenshot.</p>
<p><img class="alignnone size-full wp-image-1294" title="2en" src="http://www.messaliberty.com/wp-content/uploads/2009/12/2en.png" alt="2en" width="597" height="197" /></p>
<p>You can move to address bar and attach the copied URL by clicking [Ctrl＋L]<br />
You can use with with Firefox and IE, and Chrome as well.</p>
<p>3, Show the context menu, so-called right click which we use a lot.</p>
<p><img class="alignnone size-full wp-image-1295" title="3en" src="http://www.messaliberty.com/wp-content/uploads/2009/12/3en.png" alt="3en" width="554" height="406" /></p>
<p>The shortcut key for this one is [Shift+F10]<br />
With this shortcut, you will be able to change the way to show the pics,<br />
the way to make folders and so on without mouse.</p>
<p>4. Enable smooth scroll with space key (like Livedoor Reader)<br />
You can do this using a Greasemonkey script.<br />
<a href="http://d.hatena.ne.jp/nagaton/20060831/1156993415">http://d.hatena.ne.jp/nagaton/20060831/1156993415</a><br />
(Sorry for it&#8217;s in Japanese)</p>
<p>5.  Click links without using the mouse.<br />
Maybe the most useful tip when browsing, to enable this functionality you need to install an extension called &#8220;mouseless browsing&#8221;<br />
<a href="http://journal.mycom.co.jp/articles/2009/04/13/mouselessbrowsing/index.html">http://journal.mycom.co.jp/articles/2009/04/13/mouselessbrowsing/index.html</a></p>
<p>Try out any of the above if they interest you!  By the way, one of the main reasons why I have been using Firefox is because of the number of extensions/add-ons it has.<br />
But last week, Google Chrome also started to open up development of extension. <a href="http://journal.mycom.co.jp/news/2009/12/09/014/?rt=na">http://journal.mycom.co.jp/news/2009/12/09/014/?rt=na</a><br />
They have already covered a wide range of must-have extensions and it is expected that the number of extensions are going to increase so quickly.<br />
I&#8217;m looking forward to the browser battle between Firefox and Chrome heating up ;)</p>
<p>Oh and if you have any other tips for a mouse-less working environment, tell us about it in the comments.  Thanks!</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=pOCV6XIDqMw:j7jFys3nbH4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=pOCV6XIDqMw:j7jFys3nbH4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=pOCV6XIDqMw:j7jFys3nbH4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=pOCV6XIDqMw:j7jFys3nbH4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=pOCV6XIDqMw:j7jFys3nbH4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=pOCV6XIDqMw:j7jFys3nbH4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=pOCV6XIDqMw:j7jFys3nbH4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=pOCV6XIDqMw:j7jFys3nbH4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/messaliberty/main/~4/pOCV6XIDqMw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.messaliberty.com/2009/12/5-ways-to-do-without-a-mouse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.messaliberty.com/2009/12/5-ways-to-do-without-a-mouse/</feedburner:origLink></item>
		<item>
		<title>messa.tv JP Starts Soon!</title>
		<link>http://feedproxy.google.com/~r/messaliberty/main/~3/AQ_0TN77poU/</link>
		<comments>http://www.messaliberty.com/2009/12/messa-tv-jp-start-soon/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 05:08:40 +0000</pubDate>
		<dc:creator>hiro</dc:creator>
				<category><![CDATA[messatv]]></category>
		<category><![CDATA[japanese]]></category>

		<guid isPermaLink="false">http://www.messaliberty.com/?p=1256</guid>
		<description>We&amp;#8217;ll launch a Japanese version of the tech podcast messa.tv soon.
messa.tv has been published since April 2006, and then became an English program since beginning of 2009. But finally we&amp;#8217;ll re-start the Japanese show!
The Japanese version of messa.tv might help you if you&amp;#8217;re interested in Japanese tech trends, culture and business. Or if you&amp;#8217;re studying [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.</description>
			<content:encoded><![CDATA[<p>We&#8217;ll launch a <a href="http://jp.messa.tv/">Japanese version of the tech podcast messa.tv</a> soon.</p>
<p>messa.tv has been published since April 2006, and then became an English program since beginning of 2009. But finally we&#8217;ll re-start the Japanese show!</p>
<p>The Japanese version of messa.tv might help you if you&#8217;re interested in Japanese tech trends, culture and business. Or if you&#8217;re studying Japanese, you can watch and learn real live Japanese!</p>
<p>Now our English show have lots of visitors from all around the world and a few days ago we got a guest from Greece. He said he is a fan of our show!</p>
<p><div class="wp-caption alignnone" style="width: 190px"><a href="http://www.flickr.com/photos/psycho-spider/4191936291/"><img alt="Chris from Greece visit us" src="http://farm3.static.flickr.com/2541/4191936291_77af3cb6de_m.jpg" title="Chris from Greece visits us" width="180" height="240" /></a><p class="wp-caption-text">Chris from Greece visit us</p></div><br />
Chris came from Greece to Osaka Japan to see us. Thank you so much Chris!</p>
<p>Anyway, we&#8217;re always welcome to your feedbacks or comments on our blogs, <a href="http://twitter.com/messatv">Twitter</a>.</p>
<p>See you at the show soon!</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=AQ_0TN77poU:-JDVKEfzABw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=AQ_0TN77poU:-JDVKEfzABw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=AQ_0TN77poU:-JDVKEfzABw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=AQ_0TN77poU:-JDVKEfzABw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=AQ_0TN77poU:-JDVKEfzABw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=AQ_0TN77poU:-JDVKEfzABw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=AQ_0TN77poU:-JDVKEfzABw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=AQ_0TN77poU:-JDVKEfzABw:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/messaliberty/main/~4/AQ_0TN77poU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.messaliberty.com/2009/12/messa-tv-jp-start-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.messaliberty.com/2009/12/messa-tv-jp-start-soon/</feedburner:origLink></item>
		<item>
		<title>Use curvyCorners to make rounded corners</title>
		<link>http://feedproxy.google.com/~r/messaliberty/main/~3/cCm1YCh5pYs/</link>
		<comments>http://www.messaliberty.com/2009/12/use-curvycorners-to-make-rounded-corners/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 00:46:27 +0000</pubDate>
		<dc:creator>take</dc:creator>
				<category><![CDATA[techtips]]></category>
		<category><![CDATA[curvycorners]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.messaliberty.com/?p=1261</guid>
		<description>We use a JavaScript library called &amp;#8220;curvyCorners&amp;#8221; for our own sites.
This one can show beautiful rounded corners but can be a bit heavy to load each time. I&amp;#8217;m planning to replace it with a lighter and faster one but let me describe how to use &amp;#8220;curvyCorners&amp;#8221;.
1. Download it form here and load it at a [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.</description>
			<content:encoded><![CDATA[<p>We use a JavaScript library called &#8220;curvyCorners&#8221; for our own sites.</p>
<div id="attachment_729" class="wp-caption alignnone" style="width: 179px"><img src="http://jp.messaliberty.com/wp-content/uploads/2009/12/curvycorners_image.gif" alt="curvycorners" title="javascriptライブラリ『curvyCorners』" width="169" height="140" class="size-full wp-image-729" /><p class="wp-caption-text">curvycorners</p></div>
<p>This one can show beautiful rounded corners but can be a bit heavy to load each time. I&#8217;m planning to replace it with a lighter and faster one but let me describe how to use &#8220;curvyCorners&#8221;.</p>
<p>1. Download it form <a href="http://www.curvycorners.net/downloads.php" target="_blank">here</a> and load it at a header area of HTML files like this:<br />
<span id="more-1261"></span></p>
<pre><code>&lt;script type="text/javascript" src="curvycorners.js"&gt;&lt;/script&gt;</code></pre>
<p>2. Next, create blocks with these class attributes:</p>
<p>Round top corners</p>
<pre><code>&lt;div class="myboxtop"&gt;
Round top corners. &lt;br /&gt;
Round top corners. &lt;br /&gt;
Round top corners. &lt;br /&gt;
&lt;/div&gt;</code></pre>
<p>Round bottom corners</p>
<pre><code>&lt;div class="myboxbottom"&gt;
Round bottom corners. &lt;br /&gt;
Round bottom corners. &lt;br /&gt;
Round bottom corners. &lt;br /&gt;
&lt;/div&gt;</code></pre>
<p>Round all corners</p>
<pre><code>&lt;div class="myboxall"&gt;
Round all corners. &lt;br /&gt;
Round all corners. &lt;br /&gt;
Round all corners. &lt;br /&gt;
&lt;/div&gt;</code></pre>
<p>Then move to the js file.</p>
<p>3. Configure like below:</p>
<p>Round 10px of top corners</p>
<pre><code>settingsTop = {
 tl: { radius: <span>10</span> },
 tr: { radius: <span>10</span> },
 bl: { radius: <span>0</span> },
 br: { radius: <span>0</span> },
 antiAlias: <span>true</span>,
 autoPad: <span>true</span>,
 validTags: ["<span>div</span>"]
}</code></pre>
<p>Round 10px of bottom corners</p>
<pre><code>settingsBottom = {
 tl: { radius: <span>0</span> },
 tr: { radius: <span>0</span> },
 bl: { radius: <span>10</span> },
 br: { radius: <span>10</span> },
 antiAlias: <span>true</span>,
 autoPad: <span>true</span>,
 validTags: ["<span>div</span>"]
}</code></pre>
<p>Round 10px of all corners</p>
<pre><code>settingsAll = {
 tl: { radius: <span>10</span> },
 tr: { radius: <span>10</span> },
 bl: { radius: <span>10</span> },
 br: { radius: <span>10</span> },
 antiAlias: <span>true</span>,
 autoPad: <span>true</span>,
 validTags: ["<span>div</span>"]
}</code></pre>
<p>[Note]<br />
tl: top left<br />
tr: top right<br />
bl: bottom left<br />
br: bottom right<br />
antiAlias: Antialias (true or false)<br />
autoPad: Margin (true or false)<br />
validTags: curvyCorners applied tags (separated by commas)</p>
<p>4. Apply for classes</p>
<pre><code>
      myBoxObject = new curvyCorners(settingsTop, "myboxtop");
      myBoxObject.applyCornersToAll();

      myBoxObject = new curvyCorners(settingsBottom, "myboxbottom");
      myBoxObject.applyCornersToAll();

          myBoxObject = new curvyCorners(settingsAll, "myboxall");
      myBoxObject.applyCornersToAll();
</code></pre>
<p>That&#8217;s all!</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=cCm1YCh5pYs:isl-kdfu7ps:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=cCm1YCh5pYs:isl-kdfu7ps:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=cCm1YCh5pYs:isl-kdfu7ps:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=cCm1YCh5pYs:isl-kdfu7ps:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=cCm1YCh5pYs:isl-kdfu7ps:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=cCm1YCh5pYs:isl-kdfu7ps:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/messaliberty/main?a=cCm1YCh5pYs:isl-kdfu7ps:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/messaliberty/main?i=cCm1YCh5pYs:isl-kdfu7ps:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/messaliberty/main/~4/cCm1YCh5pYs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.messaliberty.com/2009/12/use-curvycorners-to-make-rounded-corners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.messaliberty.com/2009/12/use-curvycorners-to-make-rounded-corners/</feedburner:origLink></item>
	</channel>
</rss>
