<?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>Loopion Blog</title>
	<atom:link href="http://blog.loopion.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.loopion.com</link>
	<description>A rebirth? Une renaissance ?</description>
	<lastBuildDate>Wed, 25 Apr 2012 09:52:15 +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>Download songs from Spotify with your premium account</title>
		<link>http://blog.loopion.com/post/download-songs-from-spotify-with-your-premium-account/</link>
		<comments>http://blog.loopion.com/post/download-songs-from-spotify-with-your-premium-account/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 10:52:32 +0000</pubDate>
		<dc:creator>loopion</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[spotify]]></category>

		<guid isPermaLink="false">http://blog.loopion.com/?p=2305816921</guid>
		<description><![CDATA[Digging the abyss As usual, digging on the web bring me on an interesting project called justifyx. This small java application let you do a simple thing: Download any SpotifyURI link you want in 320kbps OGG format! How to download &#8230;<p class="read-more"><a href="http://blog.loopion.com/post/download-songs-from-spotify-with-your-premium-account/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<h3>Digging the abyss</h3>
<p>As usual, digging on the web bring me on an interesting project called <strong>justifyx</strong>. This small java application let you do a simple thing:</p>
<blockquote><p>Download any SpotifyURI link you want in 320kbps OGG format!</p></blockquote>
<h3>How to download playlist/album/song or whatever SpotifyURI?</h3>
<p>Simply download the last version of Justifyx: <a href="https://code.google.com/p/justifyx/downloads/list">https://code.google.com/p/justifyx/downloads/list</a></p>
<p>And use it as follow:</p>
<pre class="brush: bash; gutter: true">Command line:
java -jar justifyx.jar user password SpotifyURI format command

Format:
    ogg_96:  Ogg Vorbis @ 96kbps
    ogg_160: Ogg Vorbis @ 160kbps
    ogg_320: Ogg Vorbis @ 320kbps
    mp3_320: MP3 @ 320kbps

Command:
    download: downloads track/list/album
    download number: downloads an album starting on the specified track number
    cover: downloads album cover</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.loopion.com/post/download-songs-from-spotify-with-your-premium-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free my newsreader</title>
		<link>http://blog.loopion.com/post/free-my-newsreader/</link>
		<comments>http://blog.loopion.com/post/free-my-newsreader/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 08:13:40 +0000</pubDate>
		<dc:creator>loopion</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[feeds]]></category>
		<category><![CDATA[newsreader]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://blog.loopion.com/?p=2305816911</guid>
		<description><![CDATA[I know I&#8217;ve made several articles on this subject but it&#8217;s something that is really important for me. Newsfeed reader give you technical strength and make yourself like a software that is up-to-date!]]></description>
			<content:encoded><![CDATA[<div class="wp-caption aligncenter" style="width: 868px"><a href="http://notinventedhe.re/on/2010-3-9"><img title="300 feeds in my newsreader" src="http://thiswas.notinventedhe.re/on/2010-03-09" alt="Not Invented Here strip" width="858" height="309" /></a><p class="wp-caption-text">Read everything and everyday or you&#39;re out!?!?</p></div>
<p style="text-align: left;">
I know I&#8217;ve made several articles on this subject but it&#8217;s something that is really important for me. Newsfeed reader give you technical strength and make yourself like a software that is up-to-date!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.loopion.com/post/free-my-newsreader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New website done Neighbourhood Language Club 78</title>
		<link>http://blog.loopion.com/post/neighbourhood-language-club-78/</link>
		<comments>http://blog.loopion.com/post/neighbourhood-language-club-78/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 21:44:07 +0000</pubDate>
		<dc:creator>loopion</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[nlc78]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://blog.loopion.com/?p=2305816902</guid>
		<description><![CDATA[I&#8217;ve just done a new website for one of my personal client as an auto-entrepreneur. NLC78 is an association-profit organization that offers language courses and personalized support for everyone ! From the youngest to seniors. They also offer education support for disabled people. It was &#8230;<p class="read-more"><a href="http://blog.loopion.com/post/neighbourhood-language-club-78/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just done a new website for one of my personal client as an auto-entrepreneur. <a title="Neighbourhood Language Club 78" href="http://www.nlc78.eu" target="_blank">NLC78</a> is an association-profit organization that offers language courses and personalized support for everyone ! From the youngest to seniors. They also offer education support for disabled people. It was really interesting working for them and see how motivated is the team behind the scene. The particularity of this website was the fact it was totally localized to a specific area of France (Yvelines).</p>
<p>More to come about this website as it will be internationalized.</p>
<p>I&#8217;m pretty proud about this website as it&#8217;s my first one as an auto-entrepreneur. Thanks to my client who trust me all along the project !</p>
<p>Finally, this project will be added to my portfolio in a few weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.loopion.com/post/neighbourhood-language-club-78/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Job in the gaming industry</title>
		<link>http://blog.loopion.com/post/job-in-the-gaming-industry/</link>
		<comments>http://blog.loopion.com/post/job-in-the-gaming-industry/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 07:21:53 +0000</pubDate>
		<dc:creator>loopion</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Job]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://blog.loopion.com/post/job-in-the-gaming-industry/</guid>
		<description><![CDATA[I&#8217;ve found a job beginning of November in the gaming industry which I thought never ended in such an industry. When recruiter asked me about what video games I was playing on my PS3, I&#8217;ve answered only games that weren&#8217;t &#8230;<p class="read-more"><a href="http://blog.loopion.com/post/job-in-the-gaming-industry/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve found a job beginning of November in the gaming industry which I thought never ended in such an industry.<br />
When recruiter asked me about what video games I was playing on my PS3, I&#8217;ve answered only games that weren&#8217;t from the company I was trying to join.</p>
<p>Long story short, now I&#8217;m more an project &#038; account manager than a lead web project manager. Higher vision of all big projects going on within the company.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.loopion.com/post/job-in-the-gaming-industry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On vacation</title>
		<link>http://blog.loopion.com/post/on-vacation/</link>
		<comments>http://blog.loopion.com/post/on-vacation/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 18:20:33 +0000</pubDate>
		<dc:creator>loopion</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Holiday]]></category>

		<guid isPermaLink="false">http://blog.loopion.com/post/in-holidays/</guid>
		<description><![CDATA[I&#8217;m currently in holidays and be back beginning in September. Good upcoming posts about e-commerce and Magento.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently in holidays and be back beginning in September. Good upcoming posts about e-commerce and Magento.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.loopion.com/post/on-vacation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add column to product grid properly</title>
		<link>http://blog.loopion.com/post/add-column-to-product-grid-properly/</link>
		<comments>http://blog.loopion.com/post/add-column-to-product-grid-properly/#comments</comments>
		<pubDate>Fri, 27 May 2011 00:53:36 +0000</pubDate>
		<dc:creator>loopion</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://blog.loopion.com/?p=2305816872</guid>
		<description><![CDATA[app/code/local/My/Module/etc/config.xml mymodule/adminhtml_observer onBlockHtmlBefore mymodule/adminhtml_observer onEavLoadBefore app/code/local/My/Module/Model/Adminhtml/Observer class My_Module_Model_Adminhtml_Observer {     public function onBlockHtmlBefore(Varien_Event_Observer $observer) {         $block = $observer->getBlock();         if (!isset($block)) return;         switch ($block->getType()) {       &#8230;<p class="read-more"><a href="http://blog.loopion.com/post/add-column-to-product-grid-properly/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>app/code/local/My/Module/etc/config.xml</strong></p>
<pre lang="xml">
<config>
    <adminhtml>
        <events>
            <adminhtml_block_html_before>
                <observers>
                    <mymodule>
                        <!-- Add column to catalog product grid -->
                        <class>mymodule/adminhtml_observer</class>
                        <method>onBlockHtmlBefore</method>
                    </mymodule>
                </observers>
            </adminhtml_block_html_before>
            <eav_collection_abstract_load_before>
                <observers>
                    <mymodule>
                        <!-- Add column to product list -->
                        <class>mymodule/adminhtml_observer</class>
                        <method>onEavLoadBefore</method>
                    </mymodule>
                </observers>
            </eav_collection_abstract_load_before>
        </events>
    </adminhtml>
</config>
</pre>
<p><strong>app/code/local/My/Module/Model/Adminhtml/Observer</strong></p>
<pre lang="php">class My_Module_Model_Adminhtml_Observer
{

    public function onBlockHtmlBefore(Varien_Event_Observer $observer) {
        $block = $observer->getBlock();
        if (!isset($block)) return;

        switch ($block->getType()) {
            case 'adminhtml/catalog_product_grid':
                /* @var $block Mage_Adminhtml_Block_Catalog_Product_Grid */
                $block->addColumn('COLUMN_ID', array(
                    'header' => Mage::helper('mymodule')->__('COLUMN HEADER'),
                    'index'  => 'COLUMN_ID',
                ));
                break;
        }
    }

    public function onEavLoadBefore(Varien_Event_Observer $observer) {
        $collection = $observer->getCollection();
        if (!isset($collection)) return;

        if (is_a($collection, 'Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection')) {
            /* @var $collection Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection */
            // Manipulate $collection here to add a COLUMN_ID column
            $collection->addExpressionAttributeToSelect('COLUMN_ID', '...Some SQL goes here...');
        }
    }

}
</pre>
<p>This come from Clockworkgeek user on a stackoverflow <a title="Add column to Magento admin catolog &gt; manage products" href="http://stackoverflow.com/questions/5990910/add-column-to-magento-admin-catolog-manage-products">question</a>. This is gold!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.loopion.com/post/add-column-to-product-grid-properly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress bash deployment script</title>
		<link>http://blog.loopion.com/post/wordpress-bash-deployment-script/</link>
		<comments>http://blog.loopion.com/post/wordpress-bash-deployment-script/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 04:43:37 +0000</pubDate>
		<dc:creator>loopion</dc:creator>
				<category><![CDATA[Script tips]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.loopion.com/?p=2305816793</guid>
		<description><![CDATA[Recently in my current company we had a client asking for a restaurant website. We&#8217;ve decided to do it with WordPress and used it as a CMS instead of a blog. Beside the fact that we needed to create the &#8230;<p class="read-more"><a href="http://blog.loopion.com/post/wordpress-bash-deployment-script/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Recently in my current company we had a client asking for a restaurant website. We&#8217;ve decided to do it with WordPress and used it as a CMS instead of a blog. Beside the fact that we needed to create the website, they also requested us to make all the maintenance of the website and their blog. What I suggested was to have a staging platform and of course the production platform.</p>
<p>To do make the deployment process from staging to production seamless, I&#8217;ve created a WordPress bash deployment script to easily go from staging to production. Some of you will ask me about the development platform? To do so, we&#8217;ve used a service called <a title="DeployHQ" href="http://www.deployhq.com">DeployHQ</a> that works pretty well. It fetch all the content of your SVN repository and push it straight to the FTP. The only tricky part was for the database. I know it wasn&#8217;t clean but I made the decision to work on the same database for the staging and development part.</p>
<p>If you have any suggestions about improving this script do not hesitate.</p>
<p>Please consider the following on our installation:</p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/w3-total-cache/">W3 Total cache</a> installed</li>
<li>Multi-blog (one website and one blog in fact)</li>
<li><a href="http://wordpress.org/extend/plugins/contact-form-7/">Contact Form 7</a> used</li>
</ul>
<pre lang="bash" line="1">
#!/bin/sh
#
# Written by Emmanuel Pays <landmanu /a-t/ ekoote.com>
#
# Description : Use this script to deploy in production a WordPress blog that already exist on the same machine
#
# staging_to_production_wordpress.sh ver. 1.0
#
# Latest version can be found at http://blog.loopion.com/
# Todo
# - DONE - Email when deployment is done
# - Execution time for the script
# - Set version on meta or anywhere else to keep track of deployment version

# Global config
www_path="/var/www/vhosts/${domain}/"
backup_path_db="${www_path}backup_db/"
backup_path_files="${www_path}backup_files/"
domain="yourdomain.com"
SUBJECT="${prod_uri} deployment successful"
EMAIL="your@email.com"

#Staging info
staging_uri="staging.${domain}"
root_staging_path="${www_path}subdomains/staging/httpdocs/"
staging_db_name="dbname"
staging_db_username="dbusername"
staging_db_pass="dbpass"

#Production info
prod_uri="testdeploy.${domain}"
root_prod_path="${www_path}"
prod_db_name="dbprod"
prod_db_username="dbusername"
prod_db_pass="dbpass"

#Create backup
backup_db_filename="database_$(date +%F_%Hh%M).bak.sql.bz2"
backup_file_filename="files_$(date +%F_%Hh%M).tar.bz2"

#Create files backups
tar -cjPf ${backup_path_files}prod_${backup_file_filename} ${root_prod_path}
chown ftproot:psaserv ${backup_path_files}prod_${backup_file_filename}
echo "Backup prod files done..."
tar -cjPf ${backup_path_files}staging_${backup_file_filename} ${root_staging_path}
chown ftproot:psaserv ${backup_path_files}staging_${backup_file_filename}
echo "Backup staging files done..."

mysqldump --add-drop-table -h ${staging_uri} -u ${staging_db_username} -p${staging_db_pass} ${staging_db_name} | bzip2 -c > ${backup_path_db}${backup_db_filename}
chown ftproot:psaserv ${backup_path_db}${backup_db_filename}
echo "All backups done..."

#Copy staging database to production database
mysqldump --add-drop-table -h ${staging_uri} -u ${staging_db_username} -p${staging_db_pass} ${staging_db_name} | mysql -h ${prod_uri} -u ${prod_db_username} -p${prod_db
_pass} ${prod_db_name}
echo "Database replication to production done..."
#Copy all files from staging to production
cp -rR  ${root_staging_path}. ${root_prod_path}
echo "Files copied from ${staging_uri} to ${prod_uri}"
#Update production tables
mysql -h ${prod_uri} -u ${prod_db_username} -p${prod_db_pass} ${prod_db_name}<<EOFMYSQL
UPDATE wp_posts SET post_content = REPLACE (post_content,'$staging_uri','$prod_uri');
UPDATE wp_posts SET guid = REPLACE (guid,'$staging_uri','$prod_uri');
UPDATE wp_posts SET guid = REPLACE (guid,'localhost','$prod_uri');
UPDATE wp_blc_instances SET raw_url = REPLACE (raw_url,'$staging_uri','$prod_uri');
UPDATE wp_blc_links SET url = REPLACE (url,'$staging_uri','$prod_uri');
UPDATE wp_blc_links SET final_url = REPLACE (final_url,'$staging_uri','$prod_uri');
UPDATE wp_contact_form_7 SET mail_2 = REPLACE (mail_2,'$staging_uri','$prod_uri');
UPDATE wp_contact_form_7 SET mail = REPLACE (mail,'$staging_uri','$prod_uri');
UPDATE wp_options SET option_value = REPLACE (option_value,'$staging_uri','$prod_uri');
UPDATE wp_options_bak SET option_value = REPLACE (option_value,'$staging_uri','$prod_uri');
UPDATE wp_usermeta SET meta_value = REPLACE (meta_value,'$staging_uri','$prod_uri');
UPDATE wp_sitemeta SET meta_value = REPLACE (meta_value,'$staging_uri','$prod_uri');
UPDATE wp_site SET domain = REPLACE (domain,'$staging_uri','$prod_uri');
UPDATE wp_postmeta SET meta_value = REPLACE (meta_value,'$staging_uri','$prod_uri');
UPDATE wp_blogs SET domain = REPLACE (domain,'$staging_uri','$prod_uri');
#Replace upload path
UPDATE wp_options SET option_value = REPLACE (option_value,'${root_staging_path}','${root_prod_path}');
UPDATE wp_options_bak SET option_value = REPLACE (option_value,'${root_staging_path}','${root_prod_path}');
#Blog replacement
UPDATE wp_2_posts SET post_content = REPLACE (post_content,'$staging_uri','$prod_uri');
UPDATE wp_2_posts SET guid = REPLACE (guid,'$staging_uri','$prod_uri');
UPDATE wp_2_postmeta SET meta_value = REPLACE (meta_value,'$staging_uri','$prod_uri');
UPDATE wp_2_options SET option_value = REPLACE (option_value,'$staging_uri','$prod_uri');
EOFMYSQL
echo "MySQL production database URI changed"
cp -f ${www_path}subdomains/testdeploy/conf/wp-config.php ${root_prod_path}wp-config.php
echo "wp-config.php copied"
mv ${root_prod_path}wp-content/w3tc-${staging_uri} ${root_prod_path}wp-content/w3tc-${prod_uri}
mv ${root_prod_path}wp-content/w3tc-fig-and-olive-blog.${staging_uri} ${root_prod_path}wp-content/w3tc-fig-and-olive-blog.${prod_uri}
mv ${root_prod_path}wp-content/w3-total-cache-config-${staging_uri}.php ${root_prod_path}wp-content/w3-total-cache-config-${prod_uri}.php
mv ${root_prod_path}wp-content/w3-total-cache-config-fig-and-olive-blog.${staging_uri}.php ${root_prod_path}wp-content/w3-total-cache-config-fig-and-olive-blog.${prod_uri}.php
chown ftproot:psaserv httpdocs/

# Email text/message
EMAILMESSAGE="/tmp/emailmessage.txt"
echo "Deployment on ${prod_uri} platform completed at $(date +%F_%Hh%M)"> $EMAILMESSAGE
echo "This is email text" >>$EMAILMESSAGE
# send an email using /bin/mail
mail -s "${SUBJECT}" "${EMAIL}" < $EMAILMESSAGE
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.loopion.com/post/wordpress-bash-deployment-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nightly backup your WordPress database and files</title>
		<link>http://blog.loopion.com/post/nightly-backup-your-wordpress-database-and-files/</link>
		<comments>http://blog.loopion.com/post/nightly-backup-your-wordpress-database-and-files/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 20:31:38 +0000</pubDate>
		<dc:creator>loopion</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Script tips]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.loopion.com/?p=2305816835</guid>
		<description><![CDATA[After rading Using a Cron job to keep things safe I didn&#8217;t found this really a complete procedure as it only backup the database&#8230; I think it&#8217;s better to backup everything at once and we usually have some associated files &#8230;<p class="read-more"><a href="http://blog.loopion.com/post/nightly-backup-your-wordpress-database-and-files/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>After rading <a href="http://www.tamba2.org.uk/wordpress/cron/">Using a Cron job to keep things safe</a> I didn&#8217;t found this really a complete procedure as it only backup the database&#8230; I think it&#8217;s better to backup everything at once and we usually have some associated files like for example themes, images uploaded, etc&#8230; remaining that we don&#8217;t won&#8217;t to lost. So here is a solution to keep a copy of everything no matter what happen and unobstructive while visitors are visiting.</p>
<p><strong>UPDATE 03/02/2011 -1.1:</strong></p>
<ul>
<li>Added a functionality to remove all file into the backup folder older than the specified number of days. Just set days_delete and it will delete all files older than days_delete days.</li>
<li>Added security to stop script if an error goes wrong</li>
</ul>
<p>Just set up a cronjob and you&#8217;re good to go.</p>
<pre lang="bash" line="1">
#!/bin/sh
#
# Written by Emmanuel Pays <landmanu /a-t/ ekoote.com>
#
# Description : Use this script to backup a WordPress blog
#
# wordpress_backup.sh ver. 1.1
#
# Latest version can be found at http://blog.loopion.com/

# Global config
set -e
www_path="/var/www/vhosts/"
backup_path_db="${www_path}backup_db/"
backup_path_files="${www_path}backup_files/"
domain="yourdomain.tld"
days_delete=5

#Production info
prod_uri="www.${domain}"
root_prod_path="${www_path}httpdocs/"
prod_db_name="name"
prod_db_username="username"
prod_db_pass="password"
#Create backup
backup_db_filename="database_$(date +%F_%Hh%M).bak.sql.bz2"
backup_file_filename="files_$(date +%F_%Hh%M).tar.bz2"

#Create files backups
tar -cjPf ${backup_path_files}prod_${backup_file_filename} ${root_prod_path}
chown ftproot:psaserv ${backup_path_files}prod_${backup_file_filename}
echo "Backup prod files done..."

mysqldump --add-drop-table -h localhost -u ${prod_db_username} -p${prod_db_pass} ${prod_db_name} | bzip2 -c > ${backup_path_db}${backup_db_filename}
chown ftproot:psaserv ${backup_path_db}${backup_db_filename}
echo "All backups done..."

#Delete older backups
find ${backup_path_db}* -mtime +${days_delete} -exec rm {} \;
echo "Deleted last ${days_delete} database backup"
find ${backup_path_files}* -mtime +${days_delete} -exec rm {} \;
echo "Deleted last ${days_delete} files backup"
</pre>
<p>Coming soon a deployment script&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.loopion.com/post/nightly-backup-your-wordpress-database-and-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete all .SVN folders and files from a directory</title>
		<link>http://blog.loopion.com/post/delete-all-svn-folders-and-files-from-a-directory/</link>
		<comments>http://blog.loopion.com/post/delete-all-svn-folders-and-files-from-a-directory/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 20:13:42 +0000</pubDate>
		<dc:creator>loopion</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Script tips]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://blog.loopion.com/?p=2305816823</guid>
		<description><![CDATA[Nice DOS command script to remove all .svn files and folders. Some guy&#8217;s don&#8217;t know already the export function of SVN&#8230; for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *svn') do ( rd /s /q "%%i" )]]></description>
			<content:encoded><![CDATA[<p>Nice DOS command script to remove all .svn files and folders. Some guy&#8217;s don&#8217;t know already the export function of SVN&#8230;</p>
<pre lang="DOS">for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *svn') do (
rd /s /q "%%i"
)</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.loopion.com/post/delete-all-svn-folders-and-files-from-a-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Am I a curator?</title>
		<link>http://blog.loopion.com/post/2305816792/</link>
		<comments>http://blog.loopion.com/post/2305816792/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 00:15:38 +0000</pubDate>
		<dc:creator>loopion</dc:creator>
				<category><![CDATA[link]]></category>
		<category><![CDATA[curator]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://loopion.tumblr.com/post/2305816792</guid>
		<description><![CDATA[Link: Am I a curator? En lisant cet article je me suis énormément reconnu. Pouvez vous me le confirmer&#160;?]]></description>
			<content:encoded><![CDATA[<p>Link: <a href="http://www.my.epokhe.com/2010/11/27/the-curator-is-born/">Am I a curator?</a></p>
<p>En lisant cet article je me suis énormément reconnu. Pouvez vous me le confirmer&#160;?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.loopion.com/post/2305816792/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.472 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-18 09:21:47 -->
<!-- Compression = gzip -->
