<?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>My playground!</title>
	<atom:link href="http://www.arvag.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.arvag.net</link>
	<description>Just another personal blog powered by WordPress... Boring right? =D</description>
	<lastBuildDate>Sun, 05 Feb 2012 10:28:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to send email with attachment using php and swiftmailer?</title>
		<link>http://www.arvag.net/how-to-send-email-with-attachment-using-php-and-swiftmailer/</link>
		<comments>http://www.arvag.net/how-to-send-email-with-attachment-using-php-and-swiftmailer/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 22:46:23 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[quick tip]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=916</guid>
		<description><![CDATA[If you have some contact form(or just any form) where you need to have &#8216;upload file&#8217; field(s) and you must do that in PHP &#8211; this article might help you. Almost every tutorial i found while googling for a solution &#8230; <a href="http://www.arvag.net/how-to-send-email-with-attachment-using-php-and-swiftmailer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you have some contact form(or just any form) where you need to have &#8216;upload file&#8217; field(s) and you must do that in PHP &#8211; this article might help you.</p>
<p><span id="more-916"></span></p>
<p>Almost every tutorial i found while googling for a solution is a lot of spaghetti code. That&#8217;s why i decided to use swiftmailer, which makes code pretty self explanatory &#8211; so dig in.</p>
<p>Library used is <a href="http://swiftmailer.org/" title="http://swiftmailer.org/" target="_blank">swiftmailer</a> which you need to <a href="http://swiftmailer.org/download" title="http://swiftmailer.org/download" target="_blank">download</a> and upload to your server. Also it has with <a href="http://swiftmailer.org/docs/introduction.html" title="http://swiftmailer.org/docs/introduction.html" target="_blank">excellent docs</a>.</p>
<pre class="brush: php; title: ; notranslate">
require_once 'swiftmailer/swift_required.php';

if ( // Maybe add some validation here, like check for value of some hidden field or whatever ) {

    // Catch your $_POST
    $yourName = $_POST['yourName'];
    // etc

    // File validation
    $maxFileSize = 10240; // file size in KB
    $maxFileSizeMb = $maxFileSize / 1024; // file size in MB

    // Specify what extension you are accepting for your file
    $allowedExtensions = array(&quot;jpg&quot;, &quot;jpeg&quot;, &quot;tiff&quot;, &quot;pdf&quot;, &quot;doc&quot;, &quot;docx&quot;);

    $uploadedFileName = basename($_FILES['yourFile']['name']);
    $uploadedFileType = substr($uploadedFileName, strrpos($uploadedFileName, '.') + 1);
    $uploadedFileSize = $_FILES[&quot;yourFile&quot;][&quot;size&quot;] / 1024;

    if ( $uploadedFileSize &gt; $maxFileSize ) {
        $errors .= &quot;Size of file should be less than $maxFileSizeMb MB \r\n&quot;;
    } else {
        $extensionAllowed = false;

        for ( $i = 0; $i &lt; sizeof($allowedExtensions); $i++ ) {
            if ( strcasecmp($allowedExtensions[$i], $uploadedFileType) == 0 ) {
                $extensionAllowed = true;
            }
        }

        if ( ! $extensionAllowed ) {
            $errors .= &quot;The uploaded file is not supported file type. Only the following file types are supported: &quot; . implode(',',$allowedExtensions) . &quot; \r\n&quot;;
        } else {
            $pathOfUploadedFile = &quot;some-writable-directory/$uploadedFileName&quot;;

            $tmp_path = $_FILES[&quot;yourFile&quot;][&quot;tmp_name&quot;];

            if ( is_uploaded_file($tmp_path) ) {
                if( ! copy($tmp_path, $pathOfUploadedFile) ) {
                    $errors .= &quot;error while copying the uploaded file \r\n&quot;;
                } else {
                    // Set up message text
                    $messageText = &quot;Name: $yourName \r\n&quot;;
                    // etc

                    // Start up swiftmailer
                    $transport = Swift_MailTransport::newInstance();

                    //Create the Mailer using your created Transport
                    $mailer = Swift_Mailer::newInstance($transport);

                    //Create a message
                    $message = Swift_Message::newInstance(&quot;Your name: $yourFullName&quot;)
                      -&gt;setFrom(array($yourEmail =&gt; $yourFullName ) )
                      -&gt;setTo(array(&quot;mail@mail.com&quot; =&gt; &quot;John Doe&quot;))
                      -&gt;setBody($messageText)
                      -&gt;attach(Swift_Attachment::fromPath( $pathOfUploadedFile ));

                    //Send the message
                    if( $mailer-&gt;send($message) ) {
                        // if mail has been sent -&gt; delete uploaded file from your server
                        unlink($pathOfUploadedFile);
                    }
                }
            } else {
                $errors .= &quot;tmp_path fail \r\n&quot;;
            }
        }
    }

}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/how-to-send-email-with-attachment-using-php-and-swiftmailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to start with Symfony 2 on Windows 7?</title>
		<link>http://www.arvag.net/how-to-start-with-symfony-2-on-windows-7/</link>
		<comments>http://www.arvag.net/how-to-start-with-symfony-2-on-windows-7/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 18:42:30 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[easyphp]]></category>
		<category><![CDATA[intl]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=896</guid>
		<description><![CDATA[This task can be little bit scary at first, but it is really, really simple to do&#8230; Disclaimer: This is more of a reminder for me then what you might call &#8220;tutorial&#8221;&#8230; Download latest version of EasyPHP, install it and &#8230; <a href="http://www.arvag.net/how-to-start-with-symfony-2-on-windows-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This task can be little bit scary at first, but it is really, really simple to do&#8230; <img src='http://www.arvag.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-896"></span><em>Disclaimer: This is more of a reminder for me then what you might call &#8220;tutorial&#8221;&#8230;</em></p>
<ol>
<li>Download latest version of <a title="http://www.easyphp.org/download.php" href="http://www.easyphp.org/download.php" target="_blank">EasyPHP</a>, install it and then start it.</li>
<li>In order to add php to your path follow <a title="http://www.php.net/manual/en/faq.installation.php#faq.installation.addtopath" href="http://www.php.net/manual/en/faq.installation.php#faq.installation.addtopath" target="_blank">these</a> steps.</li>
<li>Download latest version of <a title="http://symfony.com/download" href="http://symfony.com/download" target="_blank">Symfony 2</a>.</li>
<li>Open <a title="http://127.0.0.1/home/" href="http://127.0.0.1/home/" target="_blank">administration page</a> of EasyPHP.</li>
<li>Extract Symfony 2 zip(or tgz) file and place it somewhere. Then <a title="http://127.0.0.1/home/index.php?to=add_alias_1" href="http://127.0.0.1/home/index.php?to=add_alias_1" target="_blank">create alias in EasyPHP</a> for that folder where you extracted Symfony 2 archive.</li>
<li>If you open that alias now in your localhost and go to web/config.php you will see some warnings.</li>
<li>You need to download <a title="http://downloads.php.net/pierre/php_apc-20110109-5.3-vc9-x86.zip" href="http://downloads.php.net/pierre/php_apc-20110109-5.3-vc9-x86.zip" target="_blank">php_apc.dll</a> file and then copy it to %EasyPHP%/php/ext folder. Now right click on EasyPHP icon in taskbar and click on Configuration-&gt;PHP extension.</li>
<li>Locate php_apc.dll and php_intl.dll and enable both of them. After that just restart EasyPHP.</li>
<li>Open Apache folder inside %EasyPHP% and copy php.ini to C:/Windows</li>
</ol>
<p>Now when you go to web/config.php you won&#8217;t see any warnings and you can easily follow instructions in <a title="http://symfony.com/doc/current/book/index.html" href="http://symfony.com/doc/current/book/index.html" target="_blank"><strong>The Book</strong></a> and you can even use all those commands to auto generate bundles and whatnot in those examples&#8230; <img src='http://www.arvag.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>After you complete step #9 you can do these commands:</p>
<ul>
<li>Generate getters and setters for your entities:
<pre class="brush: plain; title: ; notranslate">
php app/console doctrine:generate:entities Acme
</pre>
</li>
<li>Create database based on your settings:
<pre class="brush: plain; title: ; notranslate">
php app/console doctrine:database:create
</pre>
</li>
<li>Create tables in your database based on your schema(if you want to drop already existing table before creating new one):
<pre class="brush: plain; title: ; notranslate">
php app/console doctrine:schema:create (--dump-sql)
</pre>
</li>
</ul>
<p>Use &#8220;Doctrine Fixtures extension and bundle&#8221; to generate dummy content fast:</p>
<ul>
<li>Add following lines to &#8220;deps&#8221; file located in your project root:
<pre class="brush: plain; title: ; notranslate">
[doctrine-fixtures]
	git=http://github.com/doctrine/data-fixtures.git

[DoctrineFixturesBundle]
	git=http://github.com/symfony/DoctrineFixturesBundle.git
	target=/bundles/Symfony/Bundle/DoctrineFixturesBundle
</pre>
</li>
<li>Run this command to update your vendors:
<pre class="brush: plain; title: ; notranslate">php bin/vendors install</pre>
</li>
<li>Open &#8220;app/autoloader.php&#8221; and above this line:
<pre class="brush: plain; title: ; notranslate">'Doctrine\\Common'                  =&gt; __DIR__.'/../vendor/doctrine-common/lib',</pre>
<p>Add this line:</p>
<pre class="brush: plain; title: ; notranslate">'Doctrine\\Common\\DataFixtures'    =&gt; __DIR__.'/../vendor/doctrine-fixtures/lib',</pre>
</li>
<li>Open &#8220;app/AppKernel.php and register new bundle:
<pre class="brush: plain; title: ; notranslate">new Symfony\Bundle\DoctrineFixturesBundle\DoctrineFixturesBundle(),</pre>
</li>
</ul>
<p>After this you need to create your data fixtures file. You can see <a title="http://tutorial.symblog.co.uk/docs/doctrine-2-the-blog-model.html#blog-fixtures" href="http://tutorial.symblog.co.uk/docs/doctrine-2-the-blog-model.html#blog-fixtures" target="_blank">here</a> how to that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/how-to-start-with-symfony-2-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>carouFredSel for WordPress</title>
		<link>http://www.arvag.net/caroufredsel-for-wordpress/</link>
		<comments>http://www.arvag.net/caroufredsel-for-wordpress/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 16:46:26 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=886</guid>
		<description><![CDATA[This plugin enables you to create carousel using carouFredSel jQuery plugin and put it anywhere on your WordPress site. *under development aka not working at all at the moment* Download]]></description>
			<content:encoded><![CDATA[<p>This plugin enables you to create carousel using carouFredSel jQuery plugin and put it anywhere on your WordPress site.</p>
<p><strong>*under development aka not working at all at the moment*</strong></p>
<p><a title="caroufredsel-for-wordpress.zip" href="http://www.arvag.net/wp-content/uploads/2011/09/caroufredsel-for-wordpress.zip">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/caroufredsel-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git alias</title>
		<link>http://www.arvag.net/git-alias/</link>
		<comments>http://www.arvag.net/git-alias/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 00:05:44 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[quick tip]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=879</guid>
		<description><![CDATA[Location: C:\Users\Username\.gitconfig]]></description>
			<content:encoded><![CDATA[<p>Location:</p>
<p><code>C:\Users\Username\.gitconfig</code><br />
<span id="more-879"></span></p>
<pre class="brush: plain; title: ; notranslate">
[alias]
	co = checkout
	ci = commit
	st = status
	br = branch
	hist = log --pretty=format:\&quot;%h %ad | %s%d [%an]\&quot; --graph --date=short
	type = cat-file -t
	dump = cat-file -p
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/git-alias/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zen Coding snippets for Aptana Studio 3</title>
		<link>http://www.arvag.net/zen-coding-snippets-for-aptana-studio-3/</link>
		<comments>http://www.arvag.net/zen-coding-snippets-for-aptana-studio-3/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 23:13:55 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[quick tip]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=875</guid>
		<description><![CDATA[Just some random snippets i am using on my projects. I will update this post as i add more snippets. Download]]></description>
			<content:encoded><![CDATA[<p>Just some random snippets i am using on my projects. I will update this post as i add more snippets.</p>
<p><span id="more-875"></span></p>
<p><a href="http://www.arvag.net/wp-content/uploads/2011/08/Zen-Coding-snippets-for-Aptana-Studio-3.zip">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/zen-coding-snippets-for-aptana-studio-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPB 3.2 reset user password using phpmyadmin</title>
		<link>http://www.arvag.net/ipb-3-2-reset-user-password-using-phpmyadmin/</link>
		<comments>http://www.arvag.net/ipb-3-2-reset-user-password-using-phpmyadmin/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 21:16:16 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[quick tip]]></category>
		<category><![CDATA[www]]></category>
		<category><![CDATA[Invision Power Board]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=860</guid>
		<description><![CDATA[So i finally got to play around with IPB 3.2 in localhost and for reasons unknowing to me i created some random password LastPass but never saved it anywhere&#8230; So when IPB 3.2 installed i couldn&#8217;t log in&#8230; After some &#8230; <a href="http://www.arvag.net/ipb-3-2-reset-user-password-using-phpmyadmin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So i finally got to play around with IPB 3.2 in localhost and for reasons unknowing to me i created some random password <a title="https://lastpass.com/" href="https://lastpass.com/" target="_blank">LastPass</a> but never saved it anywhere&#8230; So when IPB 3.2 installed i couldn&#8217;t log in&#8230;</p>
<p><span id="more-860"></span>After some searching on the web i failed to fix this. But i did find some <a title="http://community.invisionpower.com/topic/340580-ipb-3-password-hashing/" href="http://community.invisionpower.com/topic/340580-ipb-3-password-hashing/" target="_blank">useful topic on Invision Power community forums</a> with this code:</p>
<pre class="brush: php; title: ; notranslate">$in_password = trim($this-&gt;request['PassWord']);
$md5_password = md5($in_password);
$pass_hash = md5( md5( $salt ) . $md5_password );</pre>
<p>So with that info i fired up my <a title="http://www.wampserver.com/en/" href="http://www.wampserver.com/en/" target="_blank">WAMPSERVER</a> and added new php file and started working on this which will generate this hash for you.</p>
<p>What you need to do is open IPB database in phpmyadmin, find table `Members` and in that table find user for which you want to reset password.</p>
<p>Now find row called `members_pass_salt` and copy value of that row.</p>
<p><a title="http://ipbpasswordreset.arvag.net/" href="http://ipbpasswordreset.arvag.net/" target="_blank">This is that small script</a> i created where you just paste that password salt and enter your new password and it generates hash for you.</p>
<p>You should now copy that hash and got back to phpmyadmin.Find that user you want to reset password for and find row `members_pass_hash` which is right above `members_pass_salt`. In  value for `members_pass_hash` paste that hash that has been generated and that&#8217;s it.</p>
<p>I should say that this is</p>
<p>I don&#8217;t know how much this is ground breaking(not at all) but maybe someone will find it useful&#8230; <img src='http://www.arvag.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/ipb-3-2-reset-user-password-using-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>simple-grids</title>
		<link>http://www.arvag.net/simple-grids/</link>
		<comments>http://www.arvag.net/simple-grids/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 22:21:52 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[simple-grids]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=832</guid>
		<description><![CDATA[This is homepage for simple-grids project. This is my attempt at creating simple grid system. It&#8217;s using reset css from h5bp project and the idea for grid from oocss.org project. Demo page can be found here: http://gavrisimo.github.com/simple-grids]]></description>
			<content:encoded><![CDATA[<p>This is homepage for <a title="https://github.com/Gavrisimo/simple-grids" href="https://github.com/Gavrisimo/simple-grids">simple-grids</a> project.</p>
<p>This is my attempt at creating simple grid system. It&#8217;s using reset css from <a title="https://github.com/paulirish/html5-boilerplate" href="https://github.com/paulirish/html5-boilerplate">h5bp project</a> and the idea for grid from <a title="https://github.com/stubbornella/oocss" href="https://github.com/stubbornella/oocss">oocss.org project</a>.</p>
<p>Demo page can be found here: <a title="http://gavrisimo.github.com/simple-grids" href="http://gavrisimo.github.com/simple-grids">http://gavrisimo.github.com/simple-grids</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/simple-grids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>h5bp-min</title>
		<link>http://www.arvag.net/h5bp-min/</link>
		<comments>http://www.arvag.net/h5bp-min/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 17:24:56 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[h5bp-min]]></category>
		<category><![CDATA[h5bp]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=822</guid>
		<description><![CDATA[This is the new homepage for h5bp-min project. Like the name suggests, this project is heavily based on h5bp project and up until few days ago it really was bared down version of h5bp project. But i decided that it&#8217;s &#8230; <a href="http://www.arvag.net/h5bp-min/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is the new homepage for <a title="h5bp-min" href="https://github.com/Gavrisimo/h5bp-min">h5bp-min project</a>.<span id="more-822"></span></p>
<p>Like the name suggests, this project is heavily based on <a title="https://github.com/paulirish/html5-boilerplate" href="https://github.com/paulirish/html5-boilerplate">h5bp</a> project and up until few days ago it really was bared down version of h5bp project. But i decided that it&#8217;s easier for me to maintain it as a separate project and develop it in any way i want and also in any direction i want.</p>
<p>The main goal for this project is to help me work on <strong>my</strong> projects a lot faster and easier, and by easier i mean i don&#8217;t have to use <a title="http://initializr.com/" href="http://initializr.com/">Initializr</a> or something similar every time i start on a new project.</p>
<p>Also since i want to have fork of h5bp project so i can submit things to that project <strong>i think</strong> this is the only way, i mean why to have 2 forks of same project if only one of those is gonna have commits pulled to original projects&#8230; Tbh i really didn&#8217;t check, but i don&#8217;t think you can have two forks of same project&#8230;</p>
<p>So i don&#8217;t expect anyone to use this but me, so if someone really does use this &#8211; great. <img src='http://www.arvag.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>GitHub repo: <a title="https://github.com/Gavrisimo/h5bp-min" href="https://github.com/Gavrisimo/h5bp-min">h5bp-min</a></p>
<p><em>Also I&#8217;m thinking about new name for this project&#8230;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/h5bp-min/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable or disable comments on all posts?</title>
		<link>http://www.arvag.net/how-to-enable-or-disable-comments-on-all-posts/</link>
		<comments>http://www.arvag.net/how-to-enable-or-disable-comments-on-all-posts/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 00:35:44 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[quick tip]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=805</guid>
		<description><![CDATA[Again, like everything else when it comes to WordPress &#8211; this is really easy! All you need to do is run this one small SQL query. That sql query will enable comments on all your posts where comments are closed. &#8230; <a href="http://www.arvag.net/how-to-enable-or-disable-comments-on-all-posts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Again, like everything else when it comes to WordPress &#8211; this is really easy! <img src='http://www.arvag.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  All you need to do is run this one small SQL query.<br />
<span id="more-805"></span></p>
<pre class="brush: sql; title: ; notranslate">UPDATE posts p SET comment_status = 'open', ping_status = 'open' WHERE comment_status = 'closed';</pre>
<p>That sql query will enable comments on all your posts where comments are closed.</p>
<p>If you want to close comments on all posts where you have comments enabled, you just need to tweak this query a little bit.</p>
<pre class="brush: sql; title: ; notranslate">UPDATE posts p SET comment_status = 'closed', ping_status = 'closed' WHERE comment_status = 'open';</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/how-to-enable-or-disable-comments-on-all-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photoshop problem with text tool</title>
		<link>http://www.arvag.net/photoshop-problem-with-text-tool/</link>
		<comments>http://www.arvag.net/photoshop-problem-with-text-tool/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 20:04:05 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=791</guid>
		<description><![CDATA[Recently i had some problems with text tool in Photoshop and after 2-3 reinstalls and no luck in googleing for solution, i finally managed to find some article that helped me! So solution is this: Close all Adobe applications. Go &#8230; <a href="http://www.arvag.net/photoshop-problem-with-text-tool/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently i had some problems with text tool in Photoshop and after 2-3 reinstalls and no luck in googleing for solution, i finally managed to find some article that helped me!</p>
<p><span id="more-791"></span>So solution is this:</p>
<blockquote>
<ol>
<li>Close all Adobe applications.</li>
<li>Go to Start and in the search field, type:  %USERPROFILE%\AppData\Local\Adobe</li>
<li>Delete the TypeSupport folder</li>
<li>Open Photoshop, things should be back to normal.</li>
</ol>
</blockquote>
<p>Original article can be found here:</p>
<p><a href="http://buithanhtung.wordpress.com/2011/02/11/photoshop-could-not-complete-your-request-because-something-prevented-the-text-engine-from-being-initialized-error/" target="_blank">http://buithanhtung.wordpress.com/2011/02/11/photoshop-could-not-complete-your-request-because-something-prevented-the-text-engine-from-being-initialized-error/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/photoshop-problem-with-text-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

