<?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>Well, at least we got the duck. &#187; Categorized</title>
	<atom:link href="http://ingol.nl/blog/category/categorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://ingol.nl/blog</link>
	<description></description>
	<lastBuildDate>Fri, 27 Jan 2012 09:48:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Redirect sub-sub-domains to dynamically configured virtual hosts on the localhost.</title>
		<link>http://ingol.nl/blog/2011/11/21/redirect-sub-sub-domains/</link>
		<comments>http://ingol.nl/blog/2011/11/21/redirect-sub-sub-domains/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 21:43:38 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=813</guid>
		<description><![CDATA[A colleague (thanks Danny) pointed me to this solution to host multiple development environments under a single sub-domain name.
Step 1. Configure a type A domain record by using a wildcard and a fixed sub-domain name like:
 ( why didn&#8217;t I think of that x_X )
Step 2. Enable mod_vhost_alias in  [...]]]></description>
			<content:encoded><![CDATA[<p>A colleague (thanks <a href="http://www.cream.nl/" target="_blank">Danny</a>) pointed me to this solution to host multiple development environments under a single sub-domain name.</p>
<p>Step 1. Configure a type A domain record by using a wildcard and a fixed sub-domain name like: </p>
<pre class="brush: plain; title: ; notranslate">*.lab    A    127.0.0.1</pre>
<p> ( why didn&#8217;t I think of that x_X )</p>
<p>Step 2. Enable mod_vhost_alias in Apache if not already active.</p>
<p>Step 3. Configure a virtual host and use the wildcards from mod_vhost_alias to your liking, for example</p>
<pre class="brush: plain; title: ; notranslate">
&lt;VirtualHost 127.0.0.1:80&gt;
    ServerName lab.yourdomain.com
    VirtualDocumentRoot /var/my_flexible_friends/%1
&lt;/VirtualHost&gt;
</pre>
<p>would redirect myproject.lab.yourdomain.com to <em>127.0.0.1</em> and serve pages from <em>/var/my_flexible_friends/myproject</em> but would also redirect jquery.lab.yourdomain.com to <em>127.0.0.1</em> and serve pages from <em>/var/my_flexible_friends/jquery</em>.</p>
<p>Just look at the <a href="http://httpd.apache.org/docs/2.0/mod/mod_vhost_alias.html" target="_blank">mod_vhost_alias documentation</a> for more possibilities.<br />
Also a nice consistent setup to share in development teams.</p>
<p>If you happen to stumble upon apache error messages like &#8216;Request exceeded the limit of 10 internal redirects due to probable configuration error.&#8217;, just change your .htaccess file by added the rule <strong>RewriteBase /</strong>. This will most likely happen when you are using the windows hosts file instead of a real domain.</p>
<p>See also <a href="http://stackoverflow.com/questions/1027801/500-server-error-infinite-rewrite-loop-in-apache-2-2-x-with-mod-vhost-alias-vi">Stackoverflow Infinite Rewrite Loop</a></p>
<pre class="brush: plain; title: ; notranslate">
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteBase /
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/11/21/redirect-sub-sub-domains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I guess PhpStorm does not love OpenJDK</title>
		<link>http://ingol.nl/blog/2011/11/20/i-guess-phpstorm-does-not-love-openjdk/</link>
		<comments>http://ingol.nl/blog/2011/11/20/i-guess-phpstorm-does-not-love-openjdk/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 19:49:14 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=802</guid>
		<description><![CDATA[
OpenJDK Runtime Environment (IcedTea6 1.9.10) (6b20-1.9.10-0ubuntu1~10.04.2)
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
WARNING: You are launching IDE using OpenJDK Java runtime
THIS IS STRICTLY UNSUPPORTED DUE TO KNOWN PERFORMANCE AND GRAPHICS PROBLEMS
NOTE: If you have both Sun JDK  [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
OpenJDK Runtime Environment (IcedTea6 1.9.10) (6b20-1.9.10-0ubuntu1~10.04.2)<br />
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)<br />
WARNING: You are launching IDE using OpenJDK Java runtime</p>
<p>THIS IS STRICTLY UNSUPPORTED DUE TO KNOWN PERFORMANCE AND GRAPHICS PROBLEMS</p>
<p>NOTE: If you have both Sun JDK and OpenJDK installed<br />
please validate either WEBIDE_JDK or JDK_HOME environment variable points to valid Sun JDK installation
</p></blockquote>
<p><a href="https://help.ubuntu.com/community/Java" title="Ubuntu Sun (Oracle) Java Installation Guide">Ubuntu Sun (Oracle) Java Installation Guide</a></p>
<pre class="brush: plain; title: ; notranslate">
sudo add-apt-repository &quot;deb http://archive.canonical.com/ lucid partner&quot;
sudo apt-get update
aptitude install sun-java6-jdk
sudo update-alternatives --config java
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/11/20/i-guess-phpstorm-does-not-love-openjdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Donating my upper lip to fight cancer (Movember Time!), please donate too!</title>
		<link>http://ingol.nl/blog/2011/10/31/donating-my-upper-lip-to-fight-cancer-movember-time-please-donate-too/</link>
		<comments>http://ingol.nl/blog/2011/10/31/donating-my-upper-lip-to-fight-cancer-movember-time-please-donate-too/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 08:57:55 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=797</guid>
		<description><![CDATA[
Movember!
]]></description>
			<content:encoded><![CDATA[<p><a title="Movember" href="http://mobro.co/orlissenberg"><img class="alignnone size-full wp-image-799" title="moustacheseason_download" src="http://ingol.nl/blog/wp-content/uploads/2011/10/moustacheseason_download.jpg" alt="" width="485" height="339" /></a><br />
<a title="Movember" href="http://mobro.co/orlissenberg">Movember!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/10/31/donating-my-upper-lip-to-fight-cancer-movember-time-please-donate-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPDoc an Array Param (in Zend Framework)</title>
		<link>http://ingol.nl/blog/2011/09/30/phpdoc-an-array-param-in-zend-framework/</link>
		<comments>http://ingol.nl/blog/2011/09/30/phpdoc-an-array-param-in-zend-framework/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 10:22:37 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=782</guid>
		<description><![CDATA[I found this code snippet which shows how array based parameters should be documented with PHPDoc (in ZF projects). The topic came up because I&#8217;m always nagging about those magic functions and magic properties in ZF and how poorly they are documented. It seems we&#8217;ve been neglecting adding PHPDoc  [...]]]></description>
			<content:encoded><![CDATA[<p>I found this code snippet which shows how array based parameters should be documented with PHPDoc (in ZF projects). The topic came up because I&#8217;m always nagging about those magic functions and magic properties in ZF and how poorly they are documented. It seems we&#8217;ve been neglecting adding PHPDoc tags a bit because PHPDoc does have support to document magic methods and magic class properties:</p>
<p><a href="http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.property.pkg.html">@method Magic Properties</a></p>
<p><a href="http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.method.pkg.html">@property Magic Methods</a></p>
<pre class="brush: plain; title: ; notranslate">
/**
* $args may contain the following keys:
* - var1:
* - var2:
*
* @param array @args
* @return void
*/
</pre>
<blockquote><p>Items prefixed with a &#8216;- &#8216; will be treated as bullets by phpDocumentor.</p>
<p>source: <a href="http://zend-framework-community.634137.n4.nabble.com/phpDocumentor-array-param-td659512.html">zend framework community</a></p></blockquote>
<p>I&#8217;m currently piloting PhpStorm because I had some issues with Zend Studio, it&#8217;s interesting to notice that a phpdoc line like:</p>
<pre class="brush: php; title: ; notranslate">
/*
 * @return Foo[]
 */
function getList() {
   $f = array();
   $f[] = new Foo();
   ...
   return $f;
}
</pre>
<p>triggers auto-completion in PhpStorm when looping over the return value like:</p>
<pre class="brush: php; title: ; notranslate">
$list = $this-&gt;getList();
foreach($list as $l) {
    $l-&gt;(starts auto-completion ...)
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/09/30/phpdoc-an-array-param-in-zend-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Tool Cheat Sheet (v1.11.10)</title>
		<link>http://ingol.nl/blog/2011/08/09/zend-tool-cheat-sheet/</link>
		<comments>http://ingol.nl/blog/2011/08/09/zend-tool-cheat-sheet/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 17:29:00 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=761</guid>
		<description><![CDATA[Zend Framework Command Line Console Tool v1.11.10
Usage:
zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...]
Note: You may use &#8220;?&#8221; in any place of the above usage string to ask for more specific help information.
Example: &#8220;zf ? version&#8221; will list  [...]]]></description>
			<content:encoded><![CDATA[<div style="font-size: 12px;"><strong>Zend Framework Command Line Console Tool v1.11.10</strong><br />
Usage:<br />
zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...]<br />
Note: You may use &#8220;?&#8221; in any place of the above usage string to ask for more specific help information.<br />
Example: &#8220;zf ? version&#8221; will list all available actions for the version provider.<strong>Providers and their actions:</strong></p>
<table>
<tbody>
<tr>
<td><strong>Version</strong><br />
zf show version mode[=mini] name-included[=1]<br />
Note: There are specialties, use zf show version.? to get specific help on them.<strong>Config</strong><br />
zf create config<br />
zf show config<br />
zf enable config<br />
Note: There are specialties, use zf enable config.? to get specific help on them.<br />
zf disable config<br />
Note: There are specialties, use zf disable config.? to get specific help on them.</p>
<p><strong>Phpinfo</strong><br />
zf show phpinfo</p>
<p><strong>Manifest</strong><br />
zf show manifest</p>
<p><strong>Profile</strong><br />
zf show profile</p>
<p><strong>Project</strong><br />
zf create project path name-of-profile file-of-profile<br />
zf show project<br />
Note: There are specialties, use zf show project.? to get specific help on them.</p>
<p><strong>Application</strong><br />
zf change application.class-name-prefix class-name-prefix</p>
<p><strong>Model</strong><br />
zf create model name module</p>
</td>
<td>
<p><strong>View</strong><br />
zf create view controller-name action-name-or-simple-name module</p>
<p><strong>Controller</strong><br />
zf create controller name index-action-included[=1] module</p>
<p><strong>Action</strong><br />
zf create action name controller-name[=Index] view-included[=1] module</p>
<p><strong>Module</strong><br />
zf create module name</p>
<p><strong>Form</strong><br />
zf enable form module<br />
zf create form name module</p>
<p><strong>Layout</strong><br />
zf enable layout<br />
zf disable layout</p>
<p><strong>DbAdapter</strong><br />
zf configure db-adapter dsn section-name[=production]</p>
<p><strong>DbTable</strong><br />
zf create db-table name actual-table-name module force-overwrite<br />
Note: There are specialties, use zf create db-table.? to get specific help on them.</p>
<p><strong>ProjectProvider</strong><br />
zf create project-provider name actions</td>
</tr>
</tbody>
</table>
</div>
<pre class="brush: plain; title: ; notranslate">
Examples (Windows):

zf create project ./
zf create module test
zf create controller Test index-action-included=1 test
</pre>
<p>Remarks:<br />
- The Zend Tool will maintain a xml based configuration file called &#8216;.zfproject.xml&#8217;, do not remove!<br />
- Zend Tool is case sensitive, thus &#8220;zf create module blog&#8221; and &#8220;zf create module Blog&#8221; are different commands, running them both will create 2 modules (in Windows it will only result in 1 module directory though!)<br />
- The create module command did not create a module Bootstrap file<br />
- The bootstrap file in the tests directory has a lowercase &#8216;b&#8217; which probably needs to be an uppercase like &#8216;Bootstrap.php&#8217;<br />
- <em>Note: PHPUnit is required in order to generate controller test stubs.</em><br />
- For a module Bootstrap to work, the application.ini needs <code>resources.modules = ""</code></p>
<p>A simple module Bootstrap looks like:</p>
<pre class="brush: plain; title: ; notranslate">
&lt;?php
class Yourmodulename_Bootstrap extends Zend_Application_Module_Bootstrap {
	protected function _initSomething () {
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/08/09/zend-tool-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick Optimization League of Legends Plug-ins</title>
		<link>http://ingol.nl/blog/2011/05/15/quick-optimization-league-of-legends-plug-ins/</link>
		<comments>http://ingol.nl/blog/2011/05/15/quick-optimization-league-of-legends-plug-ins/#comments</comments>
		<pubDate>Sun, 15 May 2011 15:30:05 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=734</guid>
		<description><![CDATA[The images were eating away the low amount of bandwidth I own (see also the scary red bar on the usage summary) so I put low resolutions images on the LoL Plug-ins Demo page and centralized the image storage. If it becomes too popular I might need to re-locate though *EEK*
Thanks for visiting, come  [...]]]></description>
			<content:encoded><![CDATA[<p>The images were eating away the low amount of bandwidth I own (see also the scary red bar on the usage summary) so I put low resolutions images on the LoL Plug-ins Demo page and centralized the image storage. If it becomes too popular I might need to re-locate though *EEK*</p>
<p>Thanks for visiting, come again!</p>
<p>p.s. High resolution images are still available in the code repository.<br />
p.p.s. Clicking on advertisement banners will give me more bandwidth or just donate :)</p>
<p><a href="http://ingol.nl/blog/wp-content/uploads/2011/05/OhShhhhhh.png"><img class="size-full wp-image-735 alignnone" title="OhShhhhhh" src="http://ingol.nl/blog/wp-content/uploads/2011/05/OhShhhhhh.png" alt="" width="521" height="265" /></a></p>
<p>*update* I put the images on the <a href="http://aws.amazon.com/s3/">Amazon Simple Storage Service (Amazon S3)</a> which should provide some stress relief, well at least it scales better!</p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/05/15/quick-optimization-league-of-legends-plug-ins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Help me get friends!</title>
		<link>http://ingol.nl/blog/2011/05/11/help-me-get-friends/</link>
		<comments>http://ingol.nl/blog/2011/05/11/help-me-get-friends/#comments</comments>
		<pubDate>Wed, 11 May 2011 07:30:04 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=726</guid>
		<description><![CDATA[Always nice to have friends which notice something like this:

And send it with this message:
Sooo lonely, i am so lonely :-)
Thanks Christoph ^_^ and FU Facebook
]]></description>
			<content:encoded><![CDATA[<p>Always nice to have friends which notice something like this:</p>
<p><a href="http://ingol.nl/blog/wp-content/uploads/2011/05/PastedGraphic-1.png"><img class="size-full wp-image-728 alignnone" title="PastedGraphic-1" src="http://ingol.nl/blog/wp-content/uploads/2011/05/PastedGraphic-1.png" alt="" width="235" height="64" /></a></p>
<p>And send it with this message:</p>
<blockquote><p>Sooo lonely, i am so lonely :-)</p></blockquote>
<p>Thanks Christoph ^_^ and FU Facebook</p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/05/11/help-me-get-friends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>League of Legends jQuery-UI Plug-ins Released</title>
		<link>http://ingol.nl/blog/2011/05/01/league-of-legends-jquery-ui-plug-ins-released/</link>
		<comments>http://ingol.nl/blog/2011/05/01/league-of-legends-jquery-ui-plug-ins-released/#comments</comments>
		<pubDate>Sun, 01 May 2011 13:07:18 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=701</guid>
		<description><![CDATA[I (finally) found time to spend a couple of nightly coding sessions to create some League of Legends jQuery Plug-ins, it&#8217;s a project that was becoming a never ending story. It is an open source project and uses a lot of cool technology like jQuery and CSS Sprites. With it you can create all the  [...]]]></description>
			<content:encoded><![CDATA[
<a href='http://ingol.nl/blog/2011/05/01/league-of-legends-jquery-ui-plug-ins-released/lol-plugins-builder-2/' title='lol-plugins-builder'><img width="150" height="150" src="http://ingol.nl/blog/wp-content/uploads/2011/05/lol-plugins-builder-150x150.png" class="attachment-thumbnail" alt="lol-plugins-builder" title="lol-plugins-builder" /></a>
<a href='http://ingol.nl/blog/2011/05/01/league-of-legends-jquery-ui-plug-ins-released/lol-plugins-items-2/' title='lol-plugins-items'><img width="150" height="150" src="http://ingol.nl/blog/wp-content/uploads/2011/05/lol-plugins-items-150x150.png" class="attachment-thumbnail" alt="lol-plugins-items" title="lol-plugins-items" /></a>
<a href='http://ingol.nl/blog/2011/05/01/league-of-legends-jquery-ui-plug-ins-released/lol-plugins-masteries-2/' title='lol-plugins-masteries'><img width="150" height="150" src="http://ingol.nl/blog/wp-content/uploads/2011/05/lol-plugins-masteries-150x150.png" class="attachment-thumbnail" alt="lol-plugins-masteries" title="lol-plugins-masteries" /></a>
<a href='http://ingol.nl/blog/2011/05/01/league-of-legends-jquery-ui-plug-ins-released/lol-plugins-runes-2/' title='lol-plugins-runes'><img width="150" height="150" src="http://ingol.nl/blog/wp-content/uploads/2011/05/lol-plugins-runes-150x150.png" class="attachment-thumbnail" alt="lol-plugins-runes" title="lol-plugins-runes" /></a>

<p>I (finally) found time to spend a couple of nightly coding sessions to create some League of Legends jQuery Plug-ins, it&#8217;s a project that was becoming a <a href="http://open.spotify.com/track/79yPlcjbwRebGO32kz8Bkv">never ending story</a>. It is an open source project and uses a lot of cool technology like <a href="http://jquery.com/">jQuery</a> and <a href="http://www.alistapart.com/articles/sprites">CSS Sprites</a>. With it you can create all the champion builds/pages you desire. I already had an awesome code contribution and I&#8217;m hoping for more  community feedback.</p>
<p>Enjoy!</p>
<h2><a href="http://www.ingol.nl/projects/lolplugins/" target="_blank">FULL DEMO</a></h2>
<p>More info and demo&#8217;s at <a href="http://ingol.nl/blog/jquery-league-of-legends-plugins/">http://ingol.nl/blog/jquery-league-of-legends-plugins/</a></p>
<p><strong>League of Legends Forum Posts</strong></p>
<p><a href="http://eu.leagueoflegends.com/board/showthread.php?p=2045061#post2045061">http://eu.leagueoflegends.com/board/showthread.php?p=2045061#post2045061</a><br />
<a href="http://www.leagueoflegends.com/board/showthread.php?t=705751">http://www.leagueoflegends.com/board/showthread.php?t=705751</a></p>
<p><strong>More to come &#8230;</strong></p>
<p>- League of Legends Champions Plug-in</p>
<p>- Additional features on the current plug-ins to make them more awesome</p>
<p>- Back-end code to create / host your own champion build tool and exchange builds</p>
<p><strong>Final Words</strong></p>
<p>These features will probably not come early because we&#8217;re expecting another child soon, maybe with community support we could speed things up greatly, join me at my <a href="http://bitbucket.org/orlissenberg/league-of-legends-jquery-plugins/overview">BitBucket</a> project. If you happen to be Dutch/Belgian and would like to join a LoL Community, take a look at <a href="http://cowclan.nl">CowClan</a></p>
<p>Donations will be accepted to buy gifts for the baby / kids ;-)<br />

<!-- Begin PayPal Donations by http://wpstorm.net/ -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><div class="paypal-donations"><input type="hidden" name="cmd" value="_donations" /><input type="hidden" name="business" value="MP2XU29CSW6HA" /><input type="hidden" name="return" value="http://blog.ingol.nl" /><input type="hidden" name="item_name" value="Thanks for all the fish ( / free code )" /><input type="hidden" name="currency_code" value="EUR" /><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online." /><img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" /></div></form>
<!-- End PayPal Donations -->
</p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/05/01/league-of-legends-jquery-ui-plug-ins-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Spotted my son Joris doing his &#8220;Nom Nom Nom Nom&#8221; :)</title>
		<link>http://ingol.nl/blog/2011/04/04/spotted-my-son-joris-doing-his-nom-nom-nom-nom/</link>
		<comments>http://ingol.nl/blog/2011/04/04/spotted-my-son-joris-doing-his-nom-nom-nom-nom/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 12:07:06 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=676</guid>
		<description><![CDATA[
The one with the cool Spider-man t-shirt (blue), so proud! We also bought an enormous amount of Lego last weekend, finally a good excuse to spend lot of cash on toys again. For the non-geeks: &#8220;Nom Nom Nom&#8221;. What we bought:
- http://starwars.lego.com/en-us/Products/7868.aspx#7913 Thanks to my  [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="https://picasaweb.google.com/lh/photo/u21gMRxwZO5GPfwXwhyeD__PZtBPB_NCLQJ-GmKvtPo?feat=directlink"><img class="aligncenter" style="border: 1px solid black; margin-top: 8px; margin-bottom: 8px;" title="JorisNomNomNom" src="https://lh5.googleusercontent.com/_k1lmMufch6s/TZmzSe0WDTI/AAAAAAAAHB0/yZnqEJTdBAw/s800/IMG_0072.JPG" alt="" width="400" height="300" /></a></p>
<p>The one with the cool Spider-man t-shirt (blue), so proud! We also bought an enormous amount of Lego last weekend, finally a good excuse to spend lot of cash on toys again. For the non-geeks: <a href="http://www.urbandictionary.com/define.php?term=nom%20nom%20nom">&#8220;Nom Nom Nom&#8221;</a>. What we bought:<br />
- <a href="http://starwars.lego.com/en-us/Products/7868.aspx#7913">http://starwars.lego.com/en-us/Products/7868.aspx#7913</a> Thanks to my nephew for making him enthusiastic about Star Wars Lego</p>
<p>- <a href="http://herofactory.lego.com/en-us/Products/Default.aspx#2063">http://herofactory.lego.com/en-us/Products/Default.aspx#2063</a> and <a href="http://herofactory.lego.com/en-us/Products/Default.aspx#2142">http://herofactory.lego.com/en-us/Products/Default.aspx#2142</a> which can be combined to create: <a href="http://herofactory.lego.com/en-us/BuildingInstructions/2063-2142/combi1.aspx">http://herofactory.lego.com/en-us/BuildingInstructions/2063-2142/combi1.aspx</a> (okay, I had to buy both of course, otherwise we&#8217;d only have half of the puzzle and I wouldn&#8217;t be able to sleep at night)</p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/04/04/spotted-my-son-joris-doing-his-nom-nom-nom-nom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing the Euro in Oracle with Zend_Db &#8211; PHP, Character Encoding Mayhem.</title>
		<link>http://ingol.nl/blog/2011/03/23/testing-the-euro-in-oracle-with-zend_db-php-character-encoding-mayhem/</link>
		<comments>http://ingol.nl/blog/2011/03/23/testing-the-euro-in-oracle-with-zend_db-php-character-encoding-mayhem/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 14:50:41 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=672</guid>
		<description><![CDATA[Just a little code snippet to test inserting and reading special characters (in this case the €) with Oracle and Zend Framework.
References:
ISO/IEC 8859-15
http://en.wikipedia.org/wiki/ISO/IEC_8859-15
Unicode Character &#8216;EURO SIGN&#8217;  [...]]]></description>
			<content:encoded><![CDATA[<p>Just a little code snippet to test inserting and reading special characters (in this case the €) with Oracle and Zend Framework.</p>
<p>References:<br />
ISO/IEC 8859-15<br />
<a href="http://en.wikipedia.org/wiki/ISO/IEC_8859-15">http://en.wikipedia.org/wiki/ISO/IEC_8859-15</a></p>
<p>Unicode Character &#8216;EURO SIGN&#8217; (U+20AC)<br />
<a href="http://www.fileformat.info/info/unicode/char/20ac/index.htm">http://www.fileformat.info/info/unicode/char/20ac/index.htm</a></p>
<pre class="brush: plain; title: ; notranslate">
CREATE TABLE &quot;EURO_TEST&quot; ( &quot;EURO&quot; VARCHAR2(50 CHAR) )
</pre>
<p>Zend Framework Controller Action &#8230;</p>
<pre class="brush: php; title: ; notranslate">
   /*
    * http://en.wikipedia.org/wiki/ISO/IEC_8859-15
    * EURO = Hex A4 (Dec 164)
    *
    * Unicode Character 'EURO SIGN' (U+20AC)
    * http://www.fileformat.info/info/unicode/char/20ac/index.htm
    * EURO = UTF-8(hex) 0xE2 0x82 0xAC (e282ac)
    *
    * Oracle Adapter Configuration:
      resources.db.adapter = &quot;Oracle&quot;
      resources.db.params.host = &quot;&quot;
      resources.db.params.username = &quot;&quot;
      resources.db.params.password = &quot;&quot;
      resources.db.params.charset = &quot;AL32UTF8&quot; !!IMPORTANT!!
      resources.db.params.dbname = &quot;...&quot;
      resources.db.isDefaultTableAdapter = true

    * Get Oracle NLS Settings:
    * SELECT * FROM NLS_DATABASE_PARAMETERS;
    */
    public function euroAction ()
    {
        $this-&gt;_helper-&gt;viewRenderer-&gt;setNoRender(true);

        $db = Bootstrap::getDatabase();
        // cleanup a previous test
        $db-&gt;delete('EURO_TEST');
        $db-&gt;insert('EURO_TEST',array('EURO'=&gt;'€'));

        echo '&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;&lt;html&gt;&lt;head&gt;&lt;title&gt;Euro Test&lt;/title&gt;&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;&lt;/head&gt;&lt;body&gt;';

        /* @var $db Zend_Db_Adapter_Oracle */
        $result = $db-&gt;fetchAll(&quot;select euro from euro_test&quot;);
        // Shows the €
        foreach ($result as $r) {
            echo htmlentities($r['EURO'], ENT_QUOTES, 'UTF-8'); // !!IMPORTANT!!
            echo '&lt;br/&gt;';
        }

        // http://www.techonthenet.com/oracle/functions/dump.php
        $result = $db-&gt;fetchAll(&quot;select dump(euro, 1016) as eurocode from euro_test&quot;);
        // Should show something like Typ=1 Len=3 CharacterSet=AL32UTF8: e2,82,ac.
        foreach ($result as $r) {
            echo $r['EUROCODE'];
            echo '&lt;br/&gt;';
        }

        echo '€';
        echo '&lt;/body&gt;&lt;/head&gt;&lt;/html&gt;';
    }
</pre>
<p>See also:<br />
<a href="http://www.php.net/manual/en/refs.international.php" title="Human Language and Character Encoding Support" target="_blank"></a><br />
<a href="http://www.php.net/manual/en/mbstring.configuration.php" title="Mbstring Configuration Options" target="_blank"></a></p>
<p>A solution to set various PHP UTF-8 encoding settings for PHP through a .htaccess file can be found in this stack overflow post:<br />
<a href="http://stackoverflow.com/questions/6987929/preparing-php-application-to-use-with-utf-8" title="Preparing PHP application to use with UTF-8" target="_blank"></a></p>
<p>.htaccess settings for UTF-8 encoding support example:</p>
<pre class="brush: plain; title: ; notranslate">
########################################
# Locale settings
########################################

# See: http://php.net/manual/en/timezones.php
php_value date.timezone &quot;Europe/Amsterdam&quot;

SetEnv   LC_ALL  nl_NL.UTF-8

########################################
# Set up UTF-8 encoding
########################################

AddDefaultCharset UTF-8
AddCharset UTF-8 .php

php_value default_charset &quot;UTF-8&quot;

php_value iconv.input_encoding &quot;UTF-8&quot;
php_value iconv.internal_encoding &quot;UTF-8&quot;
php_value iconv.output_encoding &quot;UTF-8&quot;

php_value mbstring.internal_encoding UTF-8
php_value mbstring.http_output UTF-8
php_value mbstring.encoding_translation On
php_value mbstring.func_overload 6

# See also php functions:
# mysql_set_charset
# mysql_client_encoding

# database settings
#CREATE DATABASE db_name
#   CHARACTER SET utf8
#   DEFAULT CHARACTER SET utf8
#   COLLATE utf8_general_ci
#   DEFAULT COLLATE utf8_general_ci
#   ;
#
#ALTER DATABASE db_name
#   CHARACTER SET utf8
#   DEFAULT CHARACTER SET utf8
#   COLLATE utf8_general_ci
#   DEFAULT COLLATE utf8_general_ci
#   ;

#ALTER TABLE tbl_name
#   DEFAULT CHARACTER SET utf8
#   COLLATE utf8_general_ci
#   ;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/03/23/testing-the-euro-in-oracle-with-zend_db-php-character-encoding-mayhem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 4 Gets a Seal of Approval XD</title>
		<link>http://ingol.nl/blog/2011/03/23/firefox-4-gets-a-seal-of-approval-xd/</link>
		<comments>http://ingol.nl/blog/2011/03/23/firefox-4-gets-a-seal-of-approval-xd/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 07:41:29 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=667</guid>
		<description><![CDATA[ Now lets hope the extensions catch up with this version. Still waiting for Selenium, Pencil, Delicious, etc.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://ingol.nl/blog/wp-content/uploads/2011/03/seal-of-approval.jpg"><img class="alignleft size-medium wp-image-668" style="border: solid 1px black; margin: 4px;" title="Seal of Approval" src="http://ingol.nl/blog/wp-content/uploads/2011/03/seal-of-approval-300x199.jpg" alt="" width="300" height="199" /></a> Now lets hope the extensions catch up with this version. Still waiting for Selenium, Pencil, Delicious, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/03/23/firefox-4-gets-a-seal-of-approval-xd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice Fresh Retro Implementation of &lt;blink&gt; to Drive People Insane, Enjoy!</title>
		<link>http://ingol.nl/blog/2011/03/10/nice-fresh-retro-implementation-of-blink-to-drive-people-insane/</link>
		<comments>http://ingol.nl/blog/2011/03/10/nice-fresh-retro-implementation-of-blink-to-drive-people-insane/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 09:20:37 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=660</guid>
		<description><![CDATA[We needed a nice &#8220;test environment&#8221; banner on a page and yes, we had the nostalgic idea to put a &#8220;under construction&#8221; picture with it. Instead I put in a blink, but to adjust the blinking speed we took the jQuery implementation. As a practical joke I &#8220;enhanced&#8221; the blink code a bit, to really spice  [...]]]></description>
			<content:encoded><![CDATA[<p>We needed a nice &#8220;test environment&#8221; banner on a page and yes, we had the nostalgic idea to put a &#8220;under construction&#8221; picture with it. Instead I put in a blink, but to adjust the blinking speed we took the jQuery implementation. As a practical joke I &#8220;enhanced&#8221; the blink code a bit, to really spice it up, code below, enjoy :)</p>
<pre class="brush: jscript; title: ; notranslate">
(function($) {
	$.fn.blink = function(options) {
		var defaults = {
			delay : 500
		};
		var options = $.extend(defaults, options);

		return this.each(function() {
			var obj = $(this);
			setInterval(function() {
				var color = &quot;#&quot;;
				var hex = '0123456789ABCDEF';
				for (var i = 0; i&lt;6; i++) {
					var r =  Math.round(Math.random() * 16);
					color += hex[r];
				}				

				var color2 = &quot;#&quot;;
				for (var i = 0; i&lt;6; i++) {
					var r =  Math.round(Math.random() * 16);
					color2 += hex[r];
				}

				var size =  Math.round(Math.random() * 20) + 10;				

				var aran = Math.round(Math.random() * 3);
				var a = ['left','right','center'];

				$(obj).css({'text-align':a[aran],'background-color':color2,'color':color, 'font-size': size+'px'});
				if ($(obj).css(&quot;visibility&quot;) == &quot;visible&quot;) {
					$(obj).css('visibility', 'hidden');
				} else {
					$(obj).css('visibility', 'visible');
				}
			}, options.delay);
		});
	};
}(jQuery));

$('#blink').blink({delay:400});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/03/10/nice-fresh-retro-implementation-of-blink-to-drive-people-insane/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Posting Form Data via jQuery Ajax, a Code Snippet</title>
		<link>http://ingol.nl/blog/2011/02/15/posting-form-data-via-jquery-ajax-a-code-snippet/</link>
		<comments>http://ingol.nl/blog/2011/02/15/posting-form-data-via-jquery-ajax-a-code-snippet/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 10:47:09 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=655</guid>
		<description><![CDATA[You can test the code below in jsFiddle.
If you happen to use Zend_Rest_Route (like me often) be careful when using &#8220;PUT&#8221; because the parameters will not be found in the request, you would probably need to serialize the &#8220;values&#8221; array with the json2.js library like:
which should be JSON decoded  [...]]]></description>
			<content:encoded><![CDATA[<p>You can test the code below in <a href="http://jsfiddle.net/">jsFiddle</a>.</p>
<pre class="brush: xml; title: ; notranslate">&lt;/pre&gt;
&lt;form id=&quot;myform&quot;&gt;&lt;input type=&quot;text&quot; name=&quot;ok&quot; value=&quot;cute&quot; /&gt;
 &lt;input type=&quot;submit&quot; /&gt;&lt;/form&gt;
&lt;pre&gt;
</pre>
<pre class="brush: jscript; title: ; notranslate">
$(function(){
    $('#myform').submit(function(){
        var values = {};
        $.each($(this).serializeArray(), function(i, field) {
            values[ field.name ] = field.value;
        });

        values['custom-param'] = 'value';

        $.ajax({
            // mimeType: 'application/json',
            // contentType: 'application/json',
            type: &quot;POST&quot;,
            async : false, // 'false' if I want code behind this call to handle response data
            url: 'myurl',
            data: values,
            dataType: 'json',
            success: function(response, textStatus) {
                if (response) {
                    // ^_^
                    console.debug(response);
                } else {
                    // x_x
                }
            },
            error: function (XMLHttpRequest, textStatus, errorThrown) {
                // x_x
            }
        });

        // do more useful stuff

        return false;
    });
});
</pre>
<p>If you happen to use <a href="http://framework.zend.com/manual/en/zend.controller.router.html">Zend_Rest_Route</a> (like me often) be careful when using &#8220;PUT&#8221; because the parameters will not be found in the request, you would probably need to serialize the &#8220;values&#8221; array with the <a href="http://www.json.org/js.html">json2.js</a> library like:</p>
<pre class="brush: plain; title: ; notranslate">
data: JSON.stringify(values),
contentType: 'application/json; charset=utf-8',
</pre>
<p>which should be JSON decoded server side. Or just perform a POST at the REST path with an ID included in the path because that call will actually trigger the PUT action (which in my opinion is kinda weird, would rather have it fail but I can understand the logic). Don&#8217;t know why ZF doesn&#8217;t just parse the parameters on a PUT request if the content type is <a href="http://en.wikipedia.org/wiki/Internet_media_type">&#8216;application/x-www-form-urlencoded&#8217;</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/02/15/posting-form-data-via-jquery-ajax-a-code-snippet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sublime Text Per Type File Preferences</title>
		<link>http://ingol.nl/blog/2011/02/15/sublime-text-per-type-file-preferences/</link>
		<comments>http://ingol.nl/blog/2011/02/15/sublime-text-per-type-file-preferences/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 10:29:18 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=653</guid>
		<description><![CDATA[I&#8217;ve been using Sublime Text for a while now on Windows and I sometimes forget to change the file type preferences to the following to ensure indentation (e.g. important for Python!) and to remove trailing white space.
My basic options for Python (Python.sublime-options) and Javascript.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.sublimetext.com/">Sublime Text</a> for a while now on Windows and I sometimes forget to change the file type preferences to the following to ensure indentation (e.g. important for Python!) and to remove trailing white space.</p>
<p>My basic options for Python (Python.sublime-options) and Javascript.</p>
<pre class="brush: plain; title: ; notranslate">
# Settings in here override the defaults in:
# Packages/Default/Options/Default File Type.sublime-options
# See there for the available options and their description.

tabSize 4
translateTabsToSpaces true
trimTrailingWhiteSpaceOnSave true
wordWrap false
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/02/15/sublime-text-per-type-file-preferences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework JSON based REST/RPC Controller Code Snippet</title>
		<link>http://ingol.nl/blog/2011/02/10/zend-framework-json-based-restrpc-controller-code-snippet/</link>
		<comments>http://ingol.nl/blog/2011/02/10/zend-framework-json-based-restrpc-controller-code-snippet/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 13:42:17 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=646</guid>
		<description><![CDATA[It&#8217;s a start towards a standard controller snippet I can re-use, will evolve over time.
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a start towards a standard controller snippet I can re-use, will evolve over time.</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php

class &lt;ModuleName&gt;_&lt;ControllerName&gt;Controller extends Zend_Controller_Action {
 public function &lt;ActionName&gt;Action() {
 // Making sure the date gets refreshed.
 $this-&gt;_response-&gt;setHeader('Cache-Control', 'no-cache, must-revalidate');
 $this-&gt;_response-&gt;setHeader('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT');

 /*
 Already performed by sendJson()
 $this-&gt;_helper-&gt;layout()-&gt;disableLayout();
 $this-&gt;_helper-&gt;viewRenderer-&gt;setNoRender(true);
 */

 $this-&gt;_helper-&gt;json-&gt;sendJson(&lt;DATA&gt;);
 }

 public function init() { }
 public function indexAction() {}
 public function getAction() {}
 public function postAction() {}
 public function putAction() {}
 public function deleteAction() {}
}

// Optional base class to inherit from, adds authentication and/or context switching.
class Default_Service_BaseRestController extends Zend_Controller_Action {
 public $requireAuthentication = false;

 public function init() {
 /* @var $contextSwitch Zend_Controller_Action_Helper_ContextSwitch */
 $contextSwitch = $this-&gt;_helper-&gt;getHelper ( 'contextSwitch' );

 /*
 $contextSwitch-&gt;addContext('csv', array());
 $contextSwitch-&gt;addActionContext ( 'index', 'csv' )-&gt;initContext ();
 $contextSwitch-&gt;addActionContext ( 'index', 'xml' )-&gt;initContext ();
 */

 $contextSwitch-&gt;addActionContext ( 'index', 'json' )
 -&gt;setAutoJsonSerialization ( false )-&gt;initContext ();

 if ($this-&gt;requireAuthentication) {
 $this-&gt;authorize();
 }
 }

 // Just a helper ...
 public static function isAuthenticated() {
 $auth = Zend_Auth::getInstance();
 return $auth-&gt;hasIdentity();
 }

 public function authorize() {
 $auth = Zend_Auth::getInstance();
 if (!$auth-&gt;hasIdentity()) {
 /*  Not authenticated, could additionally also check for authorization ...
 $this-&gt;_helper-&gt;json-&gt;sendJson('error');
 exit;
 */
 }
 }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/02/10/zend-framework-json-based-restrpc-controller-code-snippet/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Minify and Merge JavaScript Project Files in Aptana (2.0) with Ant</title>
		<link>http://ingol.nl/blog/2011/01/05/minify-and-merge-javascript-project-files-in-aptana-2-0-with-ant/</link>
		<comments>http://ingol.nl/blog/2011/01/05/minify-and-merge-javascript-project-files-in-aptana-2-0-with-ant/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 12:05:18 +0000</pubDate>
		<dc:creator>Onno</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=626</guid>
		<description><![CDATA[Based on:
Minify JavaScript and CSS files in IDE
but added merging the files.

]]></description>
			<content:encoded><![CDATA[<p>Based on:<br />
<a href="http://arkblog.wordpress.com/2008/12/02/minify-javascript-and-css-files-in-ide-netbeans-and-eclipse/">Minify JavaScript and CSS files in IDE</a><br />
but added merging the files.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;project name=&quot;YUICompression&quot; basedir=&quot;.&quot;&gt;
    &lt;target name=&quot;default&quot; description=&quot;Minifiy a set of files&quot;&gt;
        &lt;taskdef name=&quot;yuicompress&quot; classname=&quot;com.yahoo.platform.yui.compressor.YUICompressTask&quot;&gt;
            &lt;classpath&gt;
                &lt;pathelement path=&quot;${basedir}/lib/yuicompressor-2.4.2.jar&quot;/&gt;
                &lt;pathelement path=&quot;${basedir}/lib/yuiant.jar&quot;/&gt;
            &lt;/classpath&gt;
        &lt;/taskdef&gt;
		&lt;delete&gt;
			&lt;fileset dir=&quot;${basedir}/output&quot; includes=&quot;*.js&quot;/&gt;
		&lt;/delete&gt;
        &lt;concat destfile=&quot;${basedir}/output/javascript.js&quot; append=&quot;true&quot;&gt;
            &lt;fileset dir=&quot;${basedir}/src&quot; includes=&quot;*.js&quot;/&gt;
        &lt;/concat&gt;
        &lt;yuicompress linebreak=&quot;16000&quot; warn=&quot;false&quot; munge=&quot;no&quot; preserveallsemicolons=&quot;true&quot; outputfolder=&quot;${basedir}/minified&quot;&gt;
            &lt;fileset dir=&quot;${basedir}/output&quot;&gt;
                &lt;include name=&quot;**/*.js&quot;/&gt;
            &lt;/fileset&gt;
        &lt;/yuicompress&gt;
    &lt;/target&gt;
&lt;/project&gt;
</pre>
<p><img src="http://lh3.ggpht.com/_k1lmMufch6s/TSRc-nS870I/AAAAAAAAGtU/FrX2Q1g72Y4/s800/AptanaProjectJavascriptCompressor.jpg" alt="Aptana Project Structure" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2011/01/05/minify-and-merge-javascript-project-files-in-aptana-2-0-with-ant/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

