<?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>smottt</title>
	<atom:link href="http://www.metod.si/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.metod.si</link>
	<description>my piece of the internet</description>
	<lastBuildDate>Thu, 19 Apr 2012 11:44:12 +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>Quick tip: Joomla white page and rsync</title>
		<link>http://www.metod.si/quick-tip-joomla-white-page-and-rsync/</link>
		<comments>http://www.metod.si/quick-tip-joomla-white-page-and-rsync/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 10:58:58 +0000</pubDate>
		<dc:creator>Metod</dc:creator>
				<category><![CDATA[Razno]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://www.metod.si/?p=937</guid>
		<description><![CDATA[I recently worked on a joomla page. And since I love rsync, I made myself a build/sync script to update the page on the test server. The command was similar to the following: $ rsync &#8211;exclude-from=build/rsync.exclude &#8230; The contents of rsyn.exclude contained: cache/* logs/* tmp/* &#8230; But when I first ran the script, all I [...]]]></description>
		<wfw:commentRss>http://www.metod.si/quick-tip-joomla-white-page-and-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5: contenteditable full example</title>
		<link>http://www.metod.si/html5-contenteditable-full-example/</link>
		<comments>http://www.metod.si/html5-contenteditable-full-example/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 15:37:27 +0000</pubDate>
		<dc:creator>Metod</dc:creator>
				<category><![CDATA[Zanimivosti]]></category>
		<category><![CDATA[contenteditable]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.metod.si/?p=930</guid>
		<description><![CDATA[This post was inspired by a nice article on html5doctor: http://html5doctor.com/the-contenteditable-attribute/ The contenteditable attribute allows us to edit content of the element on the fly. However there are a few catches in the actual implementation that are not mentioned above. Let us just check my implementation. I&#8217;m using jQuery and jQuery UI for the javascript [...]]]></description>
		<wfw:commentRss>http://www.metod.si/html5-contenteditable-full-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony2: How to set the correct host for routing in console command</title>
		<link>http://www.metod.si/symfony2-how-to-set-the-correct-host-for-routing-in-console-command/</link>
		<comments>http://www.metod.si/symfony2-how-to-set-the-correct-host-for-routing-in-console-command/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 12:16:43 +0000</pubDate>
		<dc:creator>Metod</dc:creator>
				<category><![CDATA[Symfony2]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[symfony2]]></category>

		<guid isPermaLink="false">http://www.metod.si/?p=926</guid>
		<description><![CDATA[Quick tip for setting the correct host in your custom symfony2 command. $this-&#62;getContainer&#40;&#41;-&#62;get&#40;&#8216;router&#8217;&#41;-&#62;getContext&#40;&#41;-&#62;setHost&#40;&#8216;www.example.com&#8217;&#41;; This will set your host correctly for routing and it will no longer default to &#8216;localhost&#8217;. A bit longer version:]]></description>
		<wfw:commentRss>http://www.metod.si/symfony2-how-to-set-the-correct-host-for-routing-in-console-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Job found still running after platform shutdown eclipse</title>
		<link>http://www.metod.si/job-found-still-running-after-platform-shutdown-eclipse/</link>
		<comments>http://www.metod.si/job-found-still-running-after-platform-shutdown-eclipse/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 20:11:44 +0000</pubDate>
		<dc:creator>Metod</dc:creator>
				<category><![CDATA[Razno]]></category>

		<guid isPermaLink="false">http://www.metod.si/?p=921</guid>
		<description><![CDATA[If your eclipse crashed and refuses to start, saying something along the lines of: Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown, then try the following. $ rm -rf YOUR_PROJECT_DIR/.metadata/.plugins/org.eclipse.core.resources Start eclipse. However, all your projects will be gone. You can import them via [...]]]></description>
		<wfw:commentRss>http://www.metod.si/job-found-still-running-after-platform-shutdown-eclipse/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Random vulnerability disected</title>
		<link>http://www.metod.si/random-vulnerability-disected/</link>
		<comments>http://www.metod.si/random-vulnerability-disected/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 10:51:05 +0000</pubDate>
		<dc:creator>Metod</dc:creator>
				<category><![CDATA[Razno]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rfi]]></category>

		<guid isPermaLink="false">http://www.metod.si/?p=903</guid>
		<description><![CDATA[Recently, I received a 404 notification for the following url: http://www.metod.si/wp-content/themes/myweblog/thumb.php?src=http://picasa.com.jcibuenosaires.com.ar/2.php Apparently the myweblog wordpress theme had (maybe still has) a RFI vulnerability. Fortunately I do not use that theme. But I had to wonder what was inside the &#8220;2.php&#8221; file. So I downloaded it. What was inside? The file first tries to disguise itself [...]]]></description>
		<wfw:commentRss>http://www.metod.si/random-vulnerability-disected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Serialization of UploadedFile is not allowed fix</title>
		<link>http://www.metod.si/serialization-of-uploadedfile-is-not-allowed-fix/</link>
		<comments>http://www.metod.si/serialization-of-uploadedfile-is-not-allowed-fix/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 20:10:51 +0000</pubDate>
		<dc:creator>Metod</dc:creator>
				<category><![CDATA[Razno]]></category>
		<category><![CDATA[doctrine2]]></category>
		<category><![CDATA[exception]]></category>
		<category><![CDATA[serialize]]></category>
		<category><![CDATA[symfony2]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://www.metod.si/?p=897</guid>
		<description><![CDATA[If you are doing file uploads in Symfony2 with help from the cookbook tutorial you might have ran into the following error: Serialization of &#8216;Symfony\Component\HttpFoundation\File\UploadedFile&#8217; is not allowed. The solution I came up with involves excluding the public $file field from serialization. That way we bypass the exception. One catch, though: this will exclude all [...]]]></description>
		<wfw:commentRss>http://www.metod.si/serialization-of-uploadedfile-is-not-allowed-fix/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Check if symfony2 form has errors in a twig template</title>
		<link>http://www.metod.si/check-if-symfony2-form-has-errors-in-a-twig-template/</link>
		<comments>http://www.metod.si/check-if-symfony2-form-has-errors-in-a-twig-template/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 15:13:10 +0000</pubDate>
		<dc:creator>Metod</dc:creator>
				<category><![CDATA[Razno]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[symfony2]]></category>
		<category><![CDATA[twig]]></category>

		<guid isPermaLink="false">http://www.metod.si/?p=891</guid>
		<description><![CDATA[]]></description>
		<wfw:commentRss>http://www.metod.si/check-if-symfony2-form-has-errors-in-a-twig-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql CHAR_LENGTH function for Doctrine2</title>
		<link>http://www.metod.si/mysql-char_length-function-for-doctrine2/</link>
		<comments>http://www.metod.si/mysql-char_length-function-for-doctrine2/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 14:15:28 +0000</pubDate>
		<dc:creator>Metod</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[char_length]]></category>
		<category><![CDATA[doctrine2]]></category>
		<category><![CDATA[dql]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[symfony2]]></category>

		<guid isPermaLink="false">http://www.metod.si/?p=884</guid>
		<description><![CDATA[Today I needed the CHAR_LENGTH function for use in DQL in Doctrine2 project. So I wrote one myself and sent a pull request to DoctrineExtensions so as to contribute to OS community. You can get the file on github: CharLength.php And a quick tip on how to activate it in Symfony2:]]></description>
		<wfw:commentRss>http://www.metod.si/mysql-char_length-function-for-doctrine2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install igbinary serializer for PHP</title>
		<link>http://www.metod.si/how-to-install-igbinary-serializer-for-php/</link>
		<comments>http://www.metod.si/how-to-install-igbinary-serializer-for-php/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 14:27:36 +0000</pubDate>
		<dc:creator>Metod</dc:creator>
				<category><![CDATA[Razno]]></category>

		<guid isPermaLink="false">http://www.metod.si/?p=879</guid>
		<description><![CDATA[This is few simple step tutorial on how to install igbinary for PHP when you have multiple versions of PHP installed. First off, you have to use proper binary versions of the PHP version you wish to install the extension to. 1. Go to github and download/unzip the files. 2. Go into the folder you [...]]]></description>
		<wfw:commentRss>http://www.metod.si/how-to-install-igbinary-serializer-for-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony2 Error: UsernamePasswordToken::serialize() must return a string or NULL</title>
		<link>http://www.metod.si/symfony2-error-usernamepasswordtokenserialize-must-return-a-string-or-null/</link>
		<comments>http://www.metod.si/symfony2-error-usernamepasswordtokenserialize-must-return-a-string-or-null/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 18:11:45 +0000</pubDate>
		<dc:creator>Metod</dc:creator>
				<category><![CDATA[Razno]]></category>

		<guid isPermaLink="false">http://www.metod.si/?p=873</guid>
		<description><![CDATA[Getting the following error? Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken::serialize() must return a string or NULL I was getting it while trying to login a user. The thing was, in my Role entity, all properties were private. class Role implements RoleInterface &#123; &#160; &#160; private $id; &#160; &#160; &#160; &#160; private $name; &#160; &#160; &#160; &#160; private $created_at; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://www.metod.si/symfony2-error-usernamepasswordtokenserialize-must-return-a-string-or-null/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

