<?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>umop apisdn</title>
	<atom:link href="http://pournaras.zilsen.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://pournaras.zilsen.com</link>
	<description>Thoughts, comments, guides and discoveries</description>
	<lastBuildDate>Thu, 17 May 2012 08:26:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Magento multi-server with single database</title>
		<link>http://pournaras.zilsen.com/2011/09/27/magento-multi-server-with-single-database/</link>
		<comments>http://pournaras.zilsen.com/2011/09/27/magento-multi-server-with-single-database/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 11:26:23 +0000</pubDate>
		<dc:creator>Takis</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://pournaras.zilsen.com/?p=297</guid>
		<description><![CDATA[For Magento 1.6.0.0 the following procedure should be followed: Complete the master installationnote down the password key. Login as admin and create the second website and store Complete the secondary installationDuring the DB step, enter remote database server and credentialsUse the password key from the master installation Edit the secondary installation index.php file, remark the [...]]]></description>
			<content:encoded><![CDATA[<p>For Magento 1.6.0.0 the following procedure should be followed:</p>
<ol>
<li>Complete the master installation<br /><strong>note down the password key.</strong></li>
<li>Login as admin and create the second website and store</li>
<li>Complete the secondary installation<br />During the DB step, enter remote database server and credentials<br />Use the password key from the master installation</li>
<li>Edit the secondary installation index.php file, remark the last line and enter the following:
<p><code></p>
<p>
Mage::run('my_additional_store_view_code');</p>
<p>
</code></p>
</li>
<li>Login to the secondary admin interface and go to System -&gt; Configuration -&gt; Web:<br />For <em>default config</em> enter the desired (main) URLs for insecure and secure<br />For secondary website, alter the secure URL (use non-global)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://pournaras.zilsen.com/2011/09/27/magento-multi-server-with-single-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just finished</title>
		<link>http://pournaras.zilsen.com/2011/06/12/just-finished/</link>
		<comments>http://pournaras.zilsen.com/2011/06/12/just-finished/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 11:09:35 +0000</pubDate>
		<dc:creator>Takis</dc:creator>
				<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://pournaras.zilsen.com/?p=292</guid>
		<description><![CDATA[http://freshstartproject.eu/]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><a  href="http://pournaras.zilsen.com/wp-content/uploads/freshstart-300x187.png"><img src="http://pournaras.zilsen.com/wp-content/uploads/freshstart-300x187.png" alt="" title="Fresh Start Project" width="300" height="187" class="aligncenter size-full wp-image-293" /></a></p>
<p><a  href="http://freshstartproject.eu/" target="_blank">http://freshstartproject.eu/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pournaras.zilsen.com/2011/06/12/just-finished/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixed column width in TableLayout</title>
		<link>http://pournaras.zilsen.com/2010/11/01/fixed-column-width-in-tablelayout/</link>
		<comments>http://pournaras.zilsen.com/2010/11/01/fixed-column-width-in-tablelayout/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 18:02:50 +0000</pubDate>
		<dc:creator>Takis</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[fixed column]]></category>
		<category><![CDATA[TableLayout]]></category>

		<guid isPermaLink="false">http://pournaras.zilsen.com/?p=287</guid>
		<description><![CDATA[Here&#8217;s how to have a fixed column width when using TableLayout in Android: Set each View&#8217;s layout_width equal to 0. Add in each View layout_weight, according to your needs Here&#8217;s an example of a TableView with two equal-sized fixed columns: &#60;TableLayout android:layout_width=&#34;fill_parent&#34; android:layout_height=&#34;wrap_content&#34;&#62; &#60;TableRow&#62; &#60;TextView android:layout_width=&#34;0dip&#34; android:layout_weight=&#34;1&#34; android:text=&#34;1&#34; /&#62; &#60;TextView android:layout_width=&#34;0dip&#34; android:layout_weight=&#34;1&#34; android:text=&#34;100000&#34; /&#62; &#60;/TableRow&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how to have a fixed column width when using TableLayout in Android:</p>
<ol>
<li>Set each View&#8217;s <em>layout_width</em> equal to 0.</li>
<li>Add in each View <em>layout_weight</em>, according to your needs</li>
</ol>
<p>Here&#8217;s an example of a TableView with two equal-sized fixed columns:</p>
<pre class="brush: xml">
&lt;TableLayout android:layout_width=&quot;fill_parent&quot;
  android:layout_height=&quot;wrap_content&quot;&gt;
    &lt;TableRow&gt;
        &lt;TextView android:layout_width=&quot;0dip&quot;
          android:layout_weight=&quot;1&quot;
          android:text=&quot;1&quot; /&gt;
        &lt;TextView android:layout_width=&quot;0dip&quot;
          android:layout_weight=&quot;1&quot;
          android:text=&quot;100000&quot; /&gt;
    &lt;/TableRow&gt;
    &lt;TableRow&gt;
        &lt;TextView android:layout_width=&quot;0dip&quot;
          android:layout_weight=&quot;1&quot;
          android:text=&quot;100000000&quot; /&gt;
        &lt;TextView android:layout_width=&quot;0dip&quot;
          android:layout_weight=&quot;1&quot;
          android:text=&quot;1&quot; /&gt;
    &lt;/TableRow&gt;
&lt;/TableLayout&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://pournaras.zilsen.com/2010/11/01/fixed-column-width-in-tablelayout/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Capitalize greek strings in MySQL</title>
		<link>http://pournaras.zilsen.com/2010/10/26/capitalize-greek-strings-in-mysql/</link>
		<comments>http://pournaras.zilsen.com/2010/10/26/capitalize-greek-strings-in-mysql/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 10:26:31 +0000</pubDate>
		<dc:creator>Takis</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://pournaras.zilsen.com/?p=280</guid>
		<description><![CDATA[Here&#8217;s a handy function: DELIMITER $$ DROP FUNCTION IF EXISTS Capitalize $$ CREATE FUNCTION Capitalize(x char(255)) RETURNS char(255) CHARSET utf8 BEGIN RETURN LTRIM(CONCAT( UPPER(SUBSTRING(x, 1, 1)), LOWER(SUBSTRING(x, 2, CHAR_LENGTH(x)-2)), IF( UPPER(SUBSTRING(x, -1)) = &#34;Σ&#34;, &#34;ς&#34;, LOWER(SUBSTRING(x, -1)) ) )); END $$ DELIMITER ; The key function here is CHAR_LENGTH which returns the count of characters [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a handy function:</p>
<pre class="brush: sql">
DELIMITER $$
DROP FUNCTION IF EXISTS Capitalize $$
CREATE FUNCTION Capitalize(x char(255))
  RETURNS char(255) CHARSET utf8
BEGIN
RETURN
  LTRIM(CONCAT(
    UPPER(SUBSTRING(x, 1, 1)),
    LOWER(SUBSTRING(x, 2, CHAR_LENGTH(x)-2)),
    IF(
      UPPER(SUBSTRING(x, -1)) = &quot;Σ&quot;,
      &quot;ς&quot;,
      LOWER(SUBSTRING(x, -1))
    )
  ));
END $$
DELIMITER ;
</pre>
<p>The key function here is CHAR_LENGTH which returns the count of characters (instead of bytes).</p>
]]></content:encoded>
			<wfw:commentRss>http://pournaras.zilsen.com/2010/10/26/capitalize-greek-strings-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get a brand new iPad</title>
		<link>http://pournaras.zilsen.com/2010/10/07/how-to-get-a-brand-new-ipad/</link>
		<comments>http://pournaras.zilsen.com/2010/10/07/how-to-get-a-brand-new-ipad/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 14:44:04 +0000</pubDate>
		<dc:creator>Takis</dc:creator>
				<category><![CDATA[Mumble]]></category>

		<guid isPermaLink="false">http://pournaras.zilsen.com/?p=277</guid>
		<description><![CDATA[TDM, an established online magazine dedicated to the art of design, is giving away a brand new 32GB iPad. The lucky one will have it shipped to his door, provided the shipping costs are up to $150. They require in return some publicity on the web, which I&#8217;m sure everybody will agree they are well [...]]]></description>
			<content:encoded><![CDATA[<p><a  href="http://www.topdesignmag.com">TDM</a>, an established online magazine dedicated to the art of design, is giving away <a  href="http://www.topdesignmag.com/tdm-contest-win-a-brand-new-32gb-ipad/trackback/">a brand new 32GB iPad</a>. The lucky one will have it shipped to his door, provided the shipping costs are up to $150. They require in return some publicity on the web, which I&#8217;m sure everybody will agree they are well worth it.</p>
]]></content:encoded>
			<wfw:commentRss>http://pournaras.zilsen.com/2010/10/07/how-to-get-a-brand-new-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPaudio + WPminify: How to make them work</title>
		<link>http://pournaras.zilsen.com/2010/10/07/wpaudio-wpminify-how-to-make-them-work/</link>
		<comments>http://pournaras.zilsen.com/2010/10/07/wpaudio-wpminify-how-to-make-them-work/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 08:24:40 +0000</pubDate>
		<dc:creator>Takis</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://pournaras.zilsen.com/?p=273</guid>
		<description><![CDATA[If you are using both WPaudio and WPminify plugins in wordpress you will notice that WPaudio has stopped working. The solution is easy: go to WPminify options, scroll down to the text area titled &#8220;Javascript files to exclude from minify (line delimited)&#8221; and add the following two lines: soundmanager2-nodebug-jsmin.js wpaudio.js]]></description>
			<content:encoded><![CDATA[<p>If you are using both <a  href="http://wordpress.org/extend/plugins/wpaudio-mp3-player/">WPaudio</a> and <a  href="http://wordpress.org/extend/plugins/wp-minify/">WPminify</a> plugins in wordpress you will notice that WPaudio has stopped working.</p>
<p>The solution is easy: go to WPminify options, scroll down to the text area titled &#8220;<em>Javascript files to exclude from minify (line delimited)</em>&#8221; and add the following two lines:</p>
<blockquote><p>soundmanager2-nodebug-jsmin.js<br />
wpaudio.js</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://pournaras.zilsen.com/2010/10/07/wpaudio-wpminify-how-to-make-them-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent form submission via ENTER key in CakePHP</title>
		<link>http://pournaras.zilsen.com/2010/09/20/prevent-form-submission-via-enter-key-in-cakephp/</link>
		<comments>http://pournaras.zilsen.com/2010/09/20/prevent-form-submission-via-enter-key-in-cakephp/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 09:03:49 +0000</pubDate>
		<dc:creator>Takis</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://pournaras.zilsen.com/?p=260</guid>
		<description><![CDATA[Don&#8217;t you hate it when users press ENTER to move to the next field and the form is submitted instead? Here&#8217;s a quick solution: 1. Before the form->create method, add the following: &#60;script type=&#34;text/javascript&#34;&#62; var itsclicked = false; &#60;/script&#62; 2. At the form->create method, add the following: &#60;?php echo $this-&#62;Form-&#62;create(&#039;model&#039;, array(&#039;onsubmit&#039; =&#62; &#039;return itsclicked;&#039;)); ?&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t you hate it when users press ENTER to move to the next field and the form is submitted instead? Here&#8217;s a quick solution:</p>
<p>1. Before the form->create method, add the following:</p>
<pre class="brush: php">
&lt;script type=&quot;text/javascript&quot;&gt;
var itsclicked = false;
&lt;/script&gt;
</pre>
<p>2. At the form->create method, add the following:</p>
<pre class="brush: php">
&lt;?php
echo $this-&gt;Form-&gt;create(&#039;model&#039;,
    array(&#039;onsubmit&#039; =&gt; &#039;return itsclicked;&#039;));
?&gt;
</pre>
<p>3. At the end of the form, replace form->end with the following:</p>
<pre class="brush: php">
&lt;?php
echo $this-&gt;Form-&gt;submit(&#039;Submit&#039;,
    array(
        &#039;onmousedown&#039; =&gt;
            &#039;itsclicked = true; return true;&#039;,
        &#039;onkeydown&#039; =&gt;
            &#039;itsclicked = true; return true;&#039;
    ));
?&gt;
</pre>
<p>The ENTER is now trapped and the only way to submit the form is to either click on the submit button with the mouse or to press any key while the submit button has the focus.</p>
]]></content:encoded>
			<wfw:commentRss>http://pournaras.zilsen.com/2010/09/20/prevent-form-submission-via-enter-key-in-cakephp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome: &#8220;Your profile could not be opened correctly&#8221;</title>
		<link>http://pournaras.zilsen.com/2010/08/13/chrome-your-profile-could-not-be-opened-correctly/</link>
		<comments>http://pournaras.zilsen.com/2010/08/13/chrome-your-profile-could-not-be-opened-correctly/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 16:54:50 +0000</pubDate>
		<dc:creator>Takis</dc:creator>
				<category><![CDATA[Web browsers]]></category>
		<category><![CDATA[google chrome]]></category>

		<guid isPermaLink="false">http://pournaras.zilsen.com/?p=256</guid>
		<description><![CDATA[I&#8217;m using Google Chrome on my dear netbook, running Ubuntu 10.04. Since yesterday after an abnormal shutdown, I was getting the message &#8220;Your profile could not be opened correctly&#8221; yada yada. I tried some rm &#8211; cp stuff, suggested elsewhere, but it didn&#8217;t work. In the end, I opened ~/.config/google-chrome/Default/ and I deleted every file [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using Google Chrome on my dear netbook, running Ubuntu 10.04. Since yesterday after an abnormal shutdown, I was getting the message &#8220;Your profile could not be opened correctly&#8221; yada yada.</p>
<p>I tried some rm &#8211; cp stuff, <a  href="http://www.google.com/support/forum/p/Chrome/thread?tid=08e9aa36ad5159cb&#038;hl=en">suggested elsewhere</a>, but it didn&#8217;t work. In the end, I opened ~/.config/google-chrome/Default/ and I deleted every file related to &#8220;History&#8221; while having Google Chrome closed, i.e. every file starting with &#8220;history&#8221;. I re-opened the browser and I got rid of that dreadful message.</p>
]]></content:encoded>
			<wfw:commentRss>http://pournaras.zilsen.com/2010/08/13/chrome-your-profile-could-not-be-opened-correctly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notepad++ Function List Plugin</title>
		<link>http://pournaras.zilsen.com/2010/02/03/notepad-function-list-plugin/</link>
		<comments>http://pournaras.zilsen.com/2010/02/03/notepad-function-list-plugin/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 15:48:48 +0000</pubDate>
		<dc:creator>Takis</dc:creator>
				<category><![CDATA[Mumble]]></category>

		<guid isPermaLink="false">http://pournaras.zilsen.com/2010/02/03/notepad-function-list-plugin/</guid>
		<description><![CDATA[After upgrading to the latest (5.6.6 Unicode) version of Notepad++, I had several problems (read: crashes). After playing around with the plugins, I noticed that the problem was with one of my (favorite) plugins: Function List. Fortunately, thanks to Ruslan&#8217;s blog I found the solution: download a copy from here.]]></description>
			<content:encoded><![CDATA[<p>After upgrading to the latest (5.6.6 Unicode) version of Notepad++, I had several problems (read: crashes).</p>
<p>After playing around with the plugins, I noticed that the problem was with one of my (favorite) plugins: Function List.</p>
<p>Fortunately, thanks to <a  href="http://randronov.blogspot.com/2008/11/function-list-for-notepad-5x-unicode.html">Ruslan&#8217;s blog</a> I found the solution: download a copy from <a  href="http://sourceforge.net/projects/npp-plugins/files/Function%20List/FunctionList%20Plugin%20v2.0%20BETA%20VC2005/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://pournaras.zilsen.com/2010/02/03/notepad-function-list-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mystery Express</title>
		<link>http://pournaras.zilsen.com/2010/01/25/mystery-express/</link>
		<comments>http://pournaras.zilsen.com/2010/01/25/mystery-express/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 14:05:31 +0000</pubDate>
		<dc:creator>Takis</dc:creator>
				<category><![CDATA[Mumble]]></category>

		<guid isPermaLink="false">http://pournaras.zilsen.com/?p=237</guid>
		<description><![CDATA[Days of Wonder, my favorite board games publisher, is up to a new suprise. The game &#8220;Mystery Express&#8221; was announced a few minutes ago, sadly without too many details. According to the website, the game is out in March and it will be available in English, French and German. From the publisher&#8217;s blog we read [...]]]></description>
			<content:encoded><![CDATA[<p><a  href="http://www.daysofwonder.com/">Days of Wonder</a>, my favorite board games publisher, is up to a new suprise. The game &#8220;<a  href="http://blog.daysofwonder.com/2010/01/25/a-little-trip-anyone/en/">Mystery Express</a>&#8221; was announced a few minutes ago, sadly without too many details.</p>
<p>According to the website, the game is out in March and it will be available in English, French and German. From the publisher&#8217;s blog we read the following:</p>
<blockquote><p>Experience the very pinnacle of stylish and luxurious travel aboard the famed Orient Express until you find the body!</p>
<p>Suddenly everyone on board is a suspect, as you desperately attempt to solve the murder before the train reaches Istanbul.</p>
<p>Welcome to the Mystery Express!</p></blockquote>
<p>A <a  href="http://www.daysofwonder.com/mystery-express/en/">new website is up</a>, where people can read what this new game will be about.</p>
<p><strong>Update:</strong></p>
<p><a  href="http://www.boardgamenews.com/index.php/boardgamenews/comments/gone_cardboard_mystery_express_coming_from_days_of_wonder/">Boardgame News</a>, posted an interview with Antoine Bauza, one of the game designers (the other one is Serge Laget).</p>
]]></content:encoded>
			<wfw:commentRss>http://pournaras.zilsen.com/2010/01/25/mystery-express/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

