<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Alex Filatov</title>
	
	<link>http://www.alexfilatov.com</link>
	<description>Web Development on Steroids</description>
	<lastBuildDate>Wed, 30 Nov 2011 21:55:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/alexfilatov/YEDL" /><feedburner:info uri="alexfilatov/yedl" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Install OpenVideoPlayer (ovp) in Flex project with Maven</title>
		<link>http://feedproxy.google.com/~r/alexfilatov/YEDL/~3/SdZt4-Afapo/</link>
		<comments>http://www.alexfilatov.com/2011/06/28/install-openvideoplayer-ovp-in-flex-project-with-maven/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 13:09:16 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Nice to Have]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[openvideoplayer]]></category>
		<category><![CDATA[ovp]]></category>

		<guid isPermaLink="false">http://www.alexfilatov.com/?p=215</guid>
		<description><![CDATA[Just faced an issue that cannot find openvideoplayer in maven repositories to simple add this as dependency. Here is how to do it without official repo. 1. Download core-bin ovp from this location http://openvideoplayer.sourceforge.net/downloads 2. Unpack from &#8216;bin&#8217; folder &#8216;owp_core.swc&#8217; file. 3. Run this command mvn install:install-file -Dfile=/path/to/lib/owp_core.swc \ -DgroupId=org.openvideoplayer \ -DartifactId=ovp \ -Dversion=2.1.6 \ [...]]]></description>
			<content:encoded><![CDATA[<p>Just faced an issue that cannot find openvideoplayer in maven repositories to simple add this as dependency.<br />
Here is how to do it without official repo.</p>
<p>1. Download core-bin ovp from this location http://openvideoplayer.sourceforge.net/downloads<br />
2. Unpack from &#8216;bin&#8217; folder &#8216;owp_core.swc&#8217; file.<br />
3. Run this command</p>
<pre>mvn install:install-file -Dfile=/path/to/lib/owp_core.swc \
-DgroupId=org.openvideoplayer \
-DartifactId=ovp \
-Dversion=2.1.6 \
-Dpackaging=swc \
-DgeneratePom=true</pre>
<p>4. Add dependency to your pom</p>
<pre>&lt;dependency&gt;
  &lt;groupId&gt;org.openvideoplayer&lt;/groupId&gt;
  &lt;artifactId&gt;ovp&lt;/artifactId&gt;
  &lt;version&gt;2.1.6&lt;/version&gt;
  &lt;type&gt;swc&lt;/type&gt;
&lt;/dependency&gt;</pre>
<p>That&#8217;s it!<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.alexfilatov.com%2F2011%2F06%2F28%2Finstall-openvideoplayer-ovp-in-flex-project-with-maven%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexfilatov.com/2011/06/28/install-openvideoplayer-ovp-in-flex-project-with-maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.alexfilatov.com/2011/06/28/install-openvideoplayer-ovp-in-flex-project-with-maven/</feedburner:origLink></item>
		<item>
		<title>Install Hamachi for Ubuntu</title>
		<link>http://feedproxy.google.com/~r/alexfilatov/YEDL/~3/kx559YV9uG0/</link>
		<comments>http://www.alexfilatov.com/2011/06/20/install-hamachi-for-ubuntu/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 08:33:39 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Nice to Have]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.alexfilatov.com/?p=210</guid>
		<description><![CDATA[Sometimes you need to have access to a computer within some network for different purposes: remote assistance, server administration, play network games with people behind firewall For those cases Hamachi is what you need. So, the following are steps what to do: 1. install hamachi from here https://secure.logmein.com/US/labs/ (I have 64-bit Ubutnu so I downloaded [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you need to have access to a computer within some network for different purposes: remote assistance, server administration, play network games with people behind firewall <img src='http://www.alexfilatov.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For those cases Hamachi is what you need.</p>
<p>So, the following are steps what to do:</p>
<p>1. install hamachi from here https://secure.logmein.com/US/labs/ (I have 64-bit Ubutnu so I downloaded 64-bit deb file)</p>
<pre>
sudo dpkg -i logmein-hamachi_2.0.1.15-1_amd64.deb
</pre>
<p>2. install haguichi with this commands:</p>
<pre>sudo add-apt-repository ppa:webupd8team/haguichi
sudo apt-get update
sudo apt-get install haguichi</pre>
<p>3. run haguichi (this is GNOME version, graphical)</p>
<p>&nbsp;</p>
<p>After that you can create your own networks or join to some other networks<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.alexfilatov.com%2F2011%2F06%2F20%2Finstall-hamachi-for-ubuntu%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexfilatov.com/2011/06/20/install-hamachi-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.alexfilatov.com/2011/06/20/install-hamachi-for-ubuntu/</feedburner:origLink></item>
		<item>
		<title>Symfony sfMelodyPlugin Google Example</title>
		<link>http://feedproxy.google.com/~r/alexfilatov/YEDL/~3/Xw1eh5Y_eZc/</link>
		<comments>http://www.alexfilatov.com/2011/02/21/symfony-sfmelodyplugin-google-example/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 18:21:38 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.alexfilatov.com/?p=207</guid>
		<description><![CDATA[Just added an example for Symfony sfMelodyPlugin for Google. I think there should be such an example because It&#8217;s a bit more complicated then setup a melody for facebook. Here it is: https://github.com/alexfilatov/sfMelodyPlugin Notes: key: anonymoussecret: anonymous key: anonymous and secret: anonymous &#8211; just for development purposes. In production you need to register your domain [...]]]></description>
			<content:encoded><![CDATA[<p>Just added an example for Symfony sfMelodyPlugin for Google. I think there should be such an example because It&#8217;s a bit more complicated then setup a melody for facebook.</p>
<p><span id="more-207"></span></p>
<p>Here it is: <a href="https://github.com/alexfilatov/sfMelodyPlugin">https://github.com/alexfilatov/sfMelodyPlugin</a></p>
<p>Notes:</p>
<pre><span style="font-family: monospace;">key: anonymoussecret: anonymous</span></pre>
<p>key: anonymous and secret: anonymous &#8211; just for development purposes. In production you need to register your domain in Google.</p>
<pre><code>feed.author.0.name.</code></pre>
<p>This is how Google sends contacts data back. You can dump the contacts data response in <a href="https://github.com/gimler/sfOAuthPlugin">https://github.com/gimler/sfOAuthPlugin</a> (file sfOauth1.class.php, line 271)<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.alexfilatov.com%2F2011%2F02%2F21%2Fsymfony-sfmelodyplugin-google-example%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexfilatov.com/2011/02/21/symfony-sfmelodyplugin-google-example/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.alexfilatov.com/2011/02/21/symfony-sfmelodyplugin-google-example/</feedburner:origLink></item>
		<item>
		<title>Install FFMpeg with x264 (H.264) on Ubuntu script</title>
		<link>http://feedproxy.google.com/~r/alexfilatov/YEDL/~3/SHGqFlvRiwY/</link>
		<comments>http://www.alexfilatov.com/2010/12/10/install-ffmpeg-x264-h264-on-ubuntu-script/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 07:14:18 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Nice to Have]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[h264]]></category>
		<category><![CDATA[x264]]></category>

		<guid isPermaLink="false">http://www.alexfilatov.com/?p=198</guid>
		<description><![CDATA[I&#8217;ve found very good article &#8220;HOWTO: Install and use the latest FFmpeg and x264&#8243; But since my HDD has crashed and I needed to re-install all software on my Ubuntu box I decided to make a script with all commands from that article, please grab it here install_ffmpeg.sh.tar.gz After download run these commands: tar -xzf [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-thumbnail wp-image-237 alignright" title="ffmpeg" src="http://www.alexfilatov.com/wp-content/uploads/2010/12/ffmpeg-150x150.png" alt="" width="150" height="150" />I&#8217;ve found very good article <a href="http://ubuntuforums.org/showthread.php?t=786095" target="_blank">&#8220;HOWTO: Install and use the latest FFmpeg and x264&#8243;</a></p>
<p>But since my HDD has crashed and I needed to re-install all software on my Ubuntu box I decided to make a script with all commands from that article, please grab it here <a href="http://www.alexfilatov.com/wp-content/uploads/2010/12/install_ffmpeg.sh.tar.gz">install_ffmpeg.sh.tar.gz</a></p>
<p>After download run these commands:</p>
<pre>tar -xzf install_ffmpeg.sh.tar.gz
sh install_ffmpeg.sh</pre>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.alexfilatov.com%2F2010%2F12%2F10%2Finstall-ffmpeg-x264-h264-on-ubuntu-script%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexfilatov.com/2010/12/10/install-ffmpeg-x264-h264-on-ubuntu-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.alexfilatov.com/2010/12/10/install-ffmpeg-x264-h264-on-ubuntu-script/</feedburner:origLink></item>
		<item>
		<title>Quickly add ssh public key to authorized keys file</title>
		<link>http://feedproxy.google.com/~r/alexfilatov/YEDL/~3/gOqr9KkWHqQ/</link>
		<comments>http://www.alexfilatov.com/2010/12/03/quickly-add-ssh-public-key-to-authorized-keys-file/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 20:17:49 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.alexfilatov.com/?p=196</guid>
		<description><![CDATA[ssh alex@192.168.0.103 'echo '`cat ~/.ssh/id_rsa.pub`' >> ~/.ssh/authorized_keys There is a better way on Ubuntu to do so: ssh-copy-id alex@192.168.0.103 Enjoy!]]></description>
			<content:encoded><![CDATA[<pre>ssh alex@192.168.0.103 'echo '`cat ~/.ssh/id_rsa.pub`' >> ~/.ssh/authorized_keys</pre>
<p>There is a better way on Ubuntu to do so:</p>
<pre>
ssh-copy-id alex@192.168.0.103
</pre>
<p>Enjoy!<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.alexfilatov.com%2F2010%2F12%2F03%2Fquickly-add-ssh-public-key-to-authorized-keys-file%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexfilatov.com/2010/12/03/quickly-add-ssh-public-key-to-authorized-keys-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.alexfilatov.com/2010/12/03/quickly-add-ssh-public-key-to-authorized-keys-file/</feedburner:origLink></item>
		<item>
		<title>Install php mysql apache on Ubuntu</title>
		<link>http://feedproxy.google.com/~r/alexfilatov/YEDL/~3/Cy3Y3a5A10k/</link>
		<comments>http://www.alexfilatov.com/2010/12/02/install-php-mysql-apache-on-ubuntu/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 13:33:59 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.alexfilatov.com/?p=192</guid>
		<description><![CDATA[It&#8217;s simple like that: sudo apt-get install php5 apache2 mysql-server libapache2-mod-auth-mysql php5-mysql that&#8217;s all]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s simple like that:</p>
<p><strong>sudo apt-get install php5 apache2  mysql-server libapache2-mod-auth-mysql php5-mysql</strong></p>
<p>that&#8217;s all<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.alexfilatov.com%2F2010%2F12%2F02%2Finstall-php-mysql-apache-on-ubuntu%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexfilatov.com/2010/12/02/install-php-mysql-apache-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.alexfilatov.com/2010/12/02/install-php-mysql-apache-on-ubuntu/</feedburner:origLink></item>
		<item>
		<title>MySQL import slow on ext4 Ubuntu Lucid Lynx x64</title>
		<link>http://feedproxy.google.com/~r/alexfilatov/YEDL/~3/KWX9C-KUPHM/</link>
		<comments>http://www.alexfilatov.com/2010/07/25/mysql-import-slow-on-ext4-ubuntu-lucid-lynx-x64/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 13:02:52 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://www.alexfilatov.com/?p=178</guid>
		<description><![CDATA[I&#8217;ve faced an issue whive making an SQL import on my Ubuntu Lucid Lynx on my macbook pro 6,2. To make it working fast you need to disable writing barrier for the ext4 fs : $ sudo vi /etc/fstab you&#8217;ll see there something like: /dev/sda3       /   ext4    errors=remount-ro 0 1 [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve faced an issue whive making an SQL import on my Ubuntu Lucid Lynx on my macbook pro 6,2.</p>
<p>To make it working fast you need to disable writing barrier for the ext4 fs :</p>
<pre>$ sudo vi /etc/fstab</pre>
<p>you&#8217;ll see there something like:</p>
<pre>/dev/sda3       /   ext4    errors=remount-ro 0 1</pre>
<p>Just add there barrier=0 :</p>
<pre>/dev/sda3       /               ext4    errors=remount-ro,barrier=0 0       1</pre>
<p>and reboot.</p>
<p>After that change my SQL import performed very fast.<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.alexfilatov.com%2F2010%2F07%2F25%2Fmysql-import-slow-on-ext4-ubuntu-lucid-lynx-x64%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexfilatov.com/2010/07/25/mysql-import-slow-on-ext4-ubuntu-lucid-lynx-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.alexfilatov.com/2010/07/25/mysql-import-slow-on-ext4-ubuntu-lucid-lynx-x64/</feedburner:origLink></item>
		<item>
		<title>AJAX request with Symfony sfBrowser in Lime functional test</title>
		<link>http://feedproxy.google.com/~r/alexfilatov/YEDL/~3/NiO42_iB1g4/</link>
		<comments>http://www.alexfilatov.com/2010/07/22/ajax-request-with-symfony-sfbrowser-in-lime-functional-test/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 13:39:22 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[functional tests]]></category>
		<category><![CDATA[lime]]></category>
		<category><![CDATA[tdd]]></category>

		<guid isPermaLink="false">http://www.alexfilatov.com/?p=173</guid>
		<description><![CDATA[Hello Symfonians! While doing functional tests for my current Symfony application I needed to make AJAX call to one of my project endpoint. I have found that not Lime or sfBrowser have this ability out of the box. So if you need to make AJAX request from your Lime functional test you need do the [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Hello Symfonians!</div>
<div>While doing functional tests for my current Symfony application I needed to make AJAX call to one of my project endpoint.</div>
<div id="_mcePaste">I have found that not Lime or sfBrowser have this ability out of the box.</div>
<div>So if you need to make AJAX request from your Lime functional test you need do the following in your test:</div>
<pre>&lt;?php</pre>
<pre>include(dirname(__FILE__) . '/../../bootstrap/functional.php');

$browser = new sfTestFunctional(new sfBrowser());
$limeTest = $browser-&gt;test();

$browser-&gt;setHttpHeader("X-Requested-With",	"XMLHttpRequest");

$browser-&gt;post('/ajax/uri', array('param_name' =&gt; 'param_value'))-&gt;
        with('request')-&gt;begin()-&gt;
        isParameter('module', 'someModule')-&gt;
        isParameter('action', 'someAction')-&gt;
        end()-&gt;

        with('response')-&gt;begin()-&gt;
        isStatusCode(200)-&gt;
        end();</pre>
<pre>?&gt;</pre>
<div>The key point is in the headers, you send to the server:</div>
<div>
<pre style="font: normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">$browser-&gt;setHttpHeader("X-Requested-With",	"XMLHttpRequest");</pre>
</div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.alexfilatov.com%2F2010%2F07%2F22%2Fajax-request-with-symfony-sfbrowser-in-lime-functional-test%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexfilatov.com/2010/07/22/ajax-request-with-symfony-sfbrowser-in-lime-functional-test/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.alexfilatov.com/2010/07/22/ajax-request-with-symfony-sfbrowser-in-lime-functional-test/</feedburner:origLink></item>
		<item>
		<title>Install Symfony 1.4 under Git</title>
		<link>http://feedproxy.google.com/~r/alexfilatov/YEDL/~3/ntkEem3TkHo/</link>
		<comments>http://www.alexfilatov.com/2010/05/31/install-symfony-1-4-under-git/#comments</comments>
		<pubDate>Mon, 31 May 2010 19:28:42 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.alexfilatov.com/?p=161</guid>
		<description><![CDATA[I&#8217;ve met in the Internet nice article about Howto Create Symfony 1.4 project with Git and cut out stuff related to Symfony and Git only. 1. Clone the symfony-1.4 svn repository. $ git svn clone http://svn.symfony-project.com/branches/1.4  lib/vendor/symfony-1.4 When a 1.4 update comes along, go to the lib/vendor/symfony-1.4 directory and execute the following command to update [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">I&#8217;ve met in the Internet nice article about <a href="http://kahelamp.files.wordpress.com/2009/12/symfony-1-4_on_git-howto1.pdf" target="_blank">Howto Create Symfony 1.4 project with Git</a> and cut out stuff related to Symfony and Git only.</div>
<div>1. Clone the symfony-1.4 svn repository.</div>
<pre class="brush: js">$ git svn clone http://svn.symfony-project.com/branches/1.4  lib/vendor/symfony-1.4</pre>
<div id="_mcePaste">When a 1.4 update comes along, go to the lib/vendor/symfony-1.4 directory and</div>
<div id="_mcePaste">execute the following command to update your copy.</div>
<pre class="brush: js">$ git svn rebase</pre>
<div>2. Now take care of the svn externals by first retrieving a script that extends git&#8217;s power</div>
<div id="_mcePaste">(based on a work by Andre Pang) and running git-svn-update-externals inside the</div>
<div id="_mcePaste">framework directory lib/vendor/symfony-1.4.</div>
<pre class="brush: js">$ git clone git://git-sue.git.sourceforge.net/gitroot/git-sue/git-sue  lib/vendor/git-sue
$ cd lib/vendor/symfony-1.4
$ ../git-sue/git-svn-update-externals</pre>
<div>3. Assuming you are back on your project root directory, verify your Symfony installation.</div>
<pre class="brush: js">$ lib/vendor/symfony-1.4/data/bin/symfony -V</pre>
<div id="_mcePaste">If Symfony has been installed correctly, the version should be displayed.</div>
<div>If you got something like</div>
<div></div>
<div>
<pre class="brush: php">PHP Fatal error:  require(): Failed opening required '/home/alex/projects/php-projects/sfprojects/project/lib/vendor/symfony/lib/event_dispatcher/sfEventDispatcher.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/alex/projects/php-projects/sfprojects/project/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php on line 99</pre>
</div>
<div></div>
<div>This means that you didn&#8217;t find &#8216;event_dispatcher&#8217; item that is external item. Please run</div>
<pre class="brush: js">$ ../git-sue/git-svn-update-externals</pre>
<div>to fix that.</div>
<div></div>
<div>4. Initialize your Symfony project.</div>
<pre class="brush: js">$ lib/vendor/symfony-1.4/data/bin/symfony generate:project {project_name}</pre>
<div id="_mcePaste">Note that Symfony also creates a symfony script at your project root directory. You can</div>
<div id="_mcePaste">use that instead of referring back to lib/vendor/&#8230;, which can be really repetitive.</div>
<div>5. Modify ./symfony to add directory tracking support for git. Before the chdir() call in</div>
<div id="_mcePaste">symfony, add the following line:</div>
<pre class="brush: php">register_shutdown_function(create_function('', 'touch("cache/.ignore");
touch("log/.cache");'));</pre>
<div>6. Initialize a project application. Repeat for other applications if project consists of more</div>
<div id="_mcePaste">than one application. You can skip this step if your project is still on the drawing board,</div>
<div id="_mcePaste">but pay attention to step 9.</div>
<pre class="brush: js">$ ./symfony generate:app {app_name}</pre>
<div>7. Configure git scm on project root and add user information. Signing key and remote</div>
<div id="_mcePaste">repository are optional (team/public project), although they are recommended for</div>
<div id="_mcePaste">obvious reasons.</div>
<pre class="brush: js">$ git init
$ git config user.name {real_name}
$ git config user.email {email_address}
$ # git config user.signingkey {gpg_key}
$ # git remote add origin {repo_url}</pre>
<div>8. Add git exclude information to .git/info/exclude. Files to be excluded are normally editing</div>
<div id="_mcePaste">backup copies and vendor files (which are already gitted). Special care is also needed</div>
<div id="_mcePaste">for cache and log directory because git don&#8217;t track empty directory but can introduce</div>
<div id="_mcePaste">symfony errors later on.</div>
<pre class="brush: js">~
cache/*
!cache/.ignore
log/*
!log/.ignore</pre>
<div id="_mcePaste">You can create the .ignore files now, especially if you skipped step 7.</div>
<pre class="brush: js">$ touch cache/.ignore log/.ignore</pre>
<div>9. Perform your initial commit. Optionally, you can also pushed your newly initialized</div>
<div id="_mcePaste">repository to the remote repo if you&#8217;ll be working with a team or just making it available</div>
<div id="_mcePaste">publicly.</div>
<pre class="brush: js">$ git add .
$ git commit -a -m 'Initial commit.'
$ # git push origin master</pre>
<div>10. Configure your httpd configuration with virtual hosting as appropriate, and don&#8217;t forgot to</div>
<div id="_mcePaste">alias /sf to lib/vendor/symfony-1.4/data/web/sf. Refer to the LAMP HOWTO for the</div>
<div id="_mcePaste">procedures. Upon (re)starting your httpd, you should be able now to see the Symfony</div>
<div id="_mcePaste">Congratulations page.</div>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.alexfilatov.com%2F2010%2F05%2F31%2Finstall-symfony-1-4-under-git%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexfilatov.com/2010/05/31/install-symfony-1-4-under-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.alexfilatov.com/2010/05/31/install-symfony-1-4-under-git/</feedburner:origLink></item>
		<item>
		<title>Virtual DJ Instrument Widget – HitPads Remixer</title>
		<link>http://feedproxy.google.com/~r/alexfilatov/YEDL/~3/oIiL6qm5QUU/</link>
		<comments>http://www.alexfilatov.com/2010/01/31/virtual-dj-instrument-widget-hitpads-remixer/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 12:17:48 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[entertainment]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[hitpads]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[remixer]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.alexfilatov.com/?p=151</guid>
		<description><![CDATA[About two weeks ago I finished with alpha version of Virtual DJ Remixer Widget &#8211; HitPads.com Now you can see it in action! This is Hitpads Remixer embedded: This is Youtube video how to play it: Few words about hitpads.com: HitPads.com is a total departure from last year&#8217;s music discovery paradigm: &#8220;I am listening to [...]]]></description>
			<content:encoded><![CDATA[<p>About two weeks ago I finished with alpha version of <a href="http://www.hitpads.com">Virtual DJ Remixer Widget &#8211; HitPads.com</a></p>
<p>Now you can see it in action! <img src='http://www.alexfilatov.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This is Hitpads Remixer embedded:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="340" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="allowFullScreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="src" value="http://hitpads.com:8080/widget.swf" />
<param name="flashvars" value="remixerId=37" />
<param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="340" height="400" src="http://hitpads.com:8080/widget.swf" flashvars="remixerId=37" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><span id="more-151"></span></p>
<p>This is Youtube video how to play it:</p>
<p><object width="640" height="385">
<param name="movie" value="http://www.youtube.com/v/tU394fwVDsg?fs=1&amp;hl=en_US"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/tU394fwVDsg?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
<h5>Few words about hitpads.com:</h5>
<blockquote><p>HitPads.com is a total departure from last year&#8217;s music discovery paradigm: &#8220;I am listening to your song but I’ve stopped interacting with my computer&#8221;. Now listeners can engage your music with unprecedented input like a DJ thereby creating a brand new paradigm: &#8220;By interacting with my computer I am listening and getting to know your song.&#8221;</p>
<p><span style="font-size: x-small;">This Music Discovery Experience like no other is achieved via our Unique HitPads Remixer Virtual Instrument and Embeddable Widget, a Technological Breakthrough that Unifies Immersive Music Discovery, Multilevel Viral Music Publicity and Listener Driven Music Creation.</span></p></blockquote>
<p><a href="http://hitpads.com/pg/expages/read/tour/">Take the tour here</a><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.alexfilatov.com%2F2010%2F01%2F31%2Fvirtual-dj-instrument-widget-hitpads-remixer%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexfilatov.com/2010/01/31/virtual-dj-instrument-widget-hitpads-remixer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.alexfilatov.com/2010/01/31/virtual-dj-instrument-widget-hitpads-remixer/</feedburner:origLink></item>
	</channel>
</rss>

