<?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>Thu, 17 May 2012 14:39:25 +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>How to enable WordPress auto update with SFTP</title>
		<link>http://www.arvag.net/how-to-enable-wordpress-auto-update-with-sftp/</link>
		<comments>http://www.arvag.net/how-to-enable-wordpress-auto-update-with-sftp/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 17:35:58 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=951</guid>
		<description><![CDATA[After moving this site over to Linode.com on Ubuntu 10.4 powered VPS I started having problems with auto updates and with, what used to be simple task, installing plugins. The main problem is that I am using SFTP to log in &#8230; <a href="http://www.arvag.net/how-to-enable-wordpress-auto-update-with-sftp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After moving this site over to <a href="http://www.linode.com" target="_blank">Linode.com</a> on Ubuntu 10.4 powered VPS I started having problems with auto updates and with, what used to be simple task, installing plugins.</p>
<p><span id="more-951"></span></p>
<p>The main problem is that I am using SFTP to log in to my VPS in order to browse around or SSH via terminal to administrate it.</p>
<p>After googling for a little bit for a solution on how to fix this, I have found this article:</p>
<p><a href="http://snowulf.com/2010/06/29/wordpress-enabling-sshsftp-updates/">http://snowulf.com/2010/06/29/wordpress-enabling-sshsftp-updates/</a></p>
<pre class="brush: bash; title: ; notranslate">
apt-get install libssh2-php
/etc/init.d/apache2 restart
</pre>
<p>It&#8217;s really that simple! <img src='http://www.arvag.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now, when you go to admin panel and you try to do auto upgrade of WordPress, you will be presented with third option &#8220;SSH2&#8243;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/how-to-enable-wordpress-auto-update-with-sftp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install sphinx on Ubuntu 10.4</title>
		<link>http://www.arvag.net/how-to-install-sphinx-on-ubuntu-10-4/</link>
		<comments>http://www.arvag.net/how-to-install-sphinx-on-ubuntu-10-4/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 17:22:13 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=946</guid>
		<description><![CDATA[Today I had to enable sphinx on crtaci.info and this is small list of terminal commands I used to get that done. Download and extract sphinx source: After that all you have to do is this: The server I was installing &#8230; <a href="http://www.arvag.net/how-to-install-sphinx-on-ubuntu-10-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I had to enable sphinx on <a href="http://www.crtaci.info/" target="_blank">crtaci.info</a> and this is small list of terminal commands I used to get that done.</p>
<p><span id="more-946"></span></p>
<p>Download and extract sphinx source:</p>
<pre class="brush: bash; title: ; notranslate">
cd /tmp
wget http://sphinxsearch.com/files/sphinx-2.0.4-release.tar.gz
tar xzvf sphinx-2.0.4-release.tar.gz
rm -f sphinx-2.0.4-release.tar.gz
cd sphinx-2.0.4-release
</pre>
<p>After that all you have to do is this:</p>
<pre class="brush: bash; title: ; notranslate">
./configure
make
make install
</pre>
<p>The server I was installing this on is Ubuntu 10.4 and my host provider is <a href="http://www.linode.com/" target="_blank">linode.com</a> which means I have very small set of things installed other then php/apache/mysql. That&#8217;s why I had problems with these commands and this is what helped:</p>
<pre class="brush: bash; title: ; notranslate">
apt-get install libmysqlclient-dev gcc g++
</pre>
<p>After that i managed to run all three commands(configure + make) just fine. <img src='http://www.arvag.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>More info:<br />
<a href="http://sphinxsearch.com/" target="_blank"> http://sphinxsearch.com/</a><br />
<a href="http://community.invisionpower.com/resources/documentation/index.html/_/tutorials/large-communities/setting-up-sphinx-r181" target="_blank"> http://community.invisionpower.com/resources/documentation/index.html/_/tutorials/large-communities/setting-up-sphinx-r181</a><br />
<a href="http://stackoverflow.com/questions/8025128/installing-sphinx-on-ubuntu" target="_blank"> http://stackoverflow.com/questions/8025128/installing-sphinx-on-ubuntu</a></p>
<p>and of course the amazing Linode library:</p>
<p><a href="http://library.linode.com/" target="_blank">http://library.linode.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/how-to-install-sphinx-on-ubuntu-10-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kako da promenite nadimak na donesi.com</title>
		<link>http://www.arvag.net/kako-da-promenite-nadimak-na-donesi-com/</link>
		<comments>http://www.arvag.net/kako-da-promenite-nadimak-na-donesi-com/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 10:58:30 +0000</pubDate>
		<dc:creator>GaVrA</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.arvag.net/?p=937</guid>
		<description><![CDATA[Otvorite Google Chrome http://www.donesi.com/beograd/user_edit.php desni klik na polje sa vašim nadimkom u meniju koji vam se pojavi kliknite na &#8220;Inspect element&#8221; pojaviće vam se nešto ovako: http://i.imgur.com/h0Epn.png dupli klik na readonly=&#8221;readonly&#8221; deo ceo text označite, znači ceo ovaj deo: readonly=&#8221;readonly&#8221; obrišite ceo &#8230; <a href="http://www.arvag.net/kako-da-promenite-nadimak-na-donesi-com/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ol>
<li>Otvorite Google Chrome</li>
<li><a href="http://www.donesi.com/beograd/user_edit.php">http://www.donesi.com/beograd/user_edit.php</a></li>
<li>desni klik na polje sa vašim nadimkom</li>
<li>u meniju koji vam se pojavi kliknite na &#8220;Inspect element&#8221;</li>
<li>pojaviće vam se nešto ovako: <a href="http://i.imgur.com/h0Epn.png">http://i.imgur.com/h0Epn.png</a></li>
<li>dupli klik na readonly=&#8221;readonly&#8221; deo</li>
<li>ceo text označite, znači ceo ovaj deo: readonly=&#8221;readonly&#8221;</li>
<li>obrišite ceo taj označeni deo</li>
</ol>
<div><span id="more-937"></span></div>
<p>Sada možete da editujete &#8220;Nadimak&#8221; polje&#8230; <img src='http://www.arvag.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Evo jedan klip za dummies&#8230; =D</p>
<p><iframe src="http://www.screenr.com/embed/emVs" frameborder="0" width="650" height="396"></iframe></p>
<p>UPDATE:</p>
<p><a href="http://twitter.com/#!/donesi/status/167975360779132928">Ovo je izgleda bio bug u njihovom sistemu koji je sada sređen.</a></p>
<p>Meni se čini da menjanje nadimka ništa ne menja u funkcionisanju sajta, tako da ne znam zašto su skroz izbacili to polje, umesto da jednostavno omoguće lako i jednostavno menjanje nadimka&#8230; <img src='http://www.arvag.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ako hoćete da promenite nadimak, najbolje je da kontaktirate donesi.com podršku.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arvag.net/kako-da-promenite-nadimak-na-donesi-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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 &#8211; Windows: Location &#8211; Mac: Some useful shortcuts&#8230;]]></description>
			<content:encoded><![CDATA[<p>Location &#8211; Windows:</p>
<pre class="brush: plain; title: ; notranslate">C:\Users\Username\.gitconfig</pre>
<p>Location &#8211; Mac:</p>
<pre class="brush: plain; title: ; notranslate">nano ~/.gitconfig</pre>
<p>Some useful shortcuts&#8230; <img src='http://www.arvag.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </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>
	</channel>
</rss>

