<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>IT Base of Knowledge&#039;s Weblog</title>
	<atom:link href="http://itbdc.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://itbdc.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 26 May 2011 14:37:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='itbdc.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>IT Base of Knowledge&#039;s Weblog</title>
		<link>http://itbdc.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://itbdc.wordpress.com/osd.xml" title="IT Base of Knowledge&#039;s Weblog" />
	<atom:link rel='hub' href='http://itbdc.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to know table fragmentation in postgresql database</title>
		<link>http://itbdc.wordpress.com/2011/05/26/how-to-know-table-fragmentation-in-postgresql-database/</link>
		<comments>http://itbdc.wordpress.com/2011/05/26/how-to-know-table-fragmentation-in-postgresql-database/#comments</comments>
		<pubDate>Thu, 26 May 2011 08:55:30 +0000</pubDate>
		<dc:creator>itbdc</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://itbdc.wordpress.com/?p=90</guid>
		<description><![CDATA[psql -e -f /usr/share/postgresql/8.3/contrib/pgstattuple.sql $MYDB psql $MYDB -c "CREATE TEMP TABLE fragmentation_stats(table_name text, tuple_count integer, tuple_len integer, tuple_percent float, dead_tuple_count integer, dead_tuple_len integer, dead_tuple_percent float, free_space integer, free_percent float);" for i in `psql $MYDB -qt -c "select tablename from pg_tables where schemaname = '$MYSCHEMA' order by tablename;"`;do echo $i; psql $MYDB -c "insert into fragmentation_stats [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=90&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code><br />
psql -e -f /usr/share/postgresql/8.3/contrib/pgstattuple.sql $MYDB</p>
<p>psql $MYDB -c "CREATE TEMP TABLE fragmentation_stats(table_name text, tuple_count integer, tuple_len integer, tuple_percent float, dead_tuple_count integer, dead_tuple_len integer, dead_tuple_percent float, free_space integer, free_percent float);"</p>
<p>for i in `psql $MYDB -qt -c "select tablename from pg_tables where schemaname = '$MYSCHEMA' order by tablename;"`;do<br />
  echo $i;<br />
  psql $MYDB -c "insert into fragmentation_stats (select $i, pg_size_pretty(table_len), tuple_count, tuple_len, tuple_percent, dead_tuple_count, dead_tuple_len, dead_tuple_percent, pg_size_pretty(free_space), free_percent from pgstattuple('$i'));"<br />
done</p>
<p>psql $MYDB -c "DROP TABLE fragmentation_stats;"<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itbdc.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itbdc.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itbdc.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itbdc.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itbdc.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itbdc.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itbdc.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itbdc.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itbdc.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itbdc.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itbdc.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itbdc.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itbdc.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itbdc.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=90&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itbdc.wordpress.com/2011/05/26/how-to-know-table-fragmentation-in-postgresql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65973a612928e7e8621c9eff1a6d0920?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">itbdc</media:title>
		</media:content>
	</item>
		<item>
		<title>Bash list separator IFS</title>
		<link>http://itbdc.wordpress.com/2011/02/28/bash-list-separator-ifs/</link>
		<comments>http://itbdc.wordpress.com/2011/02/28/bash-list-separator-ifs/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 09:33:38 +0000</pubDate>
		<dc:creator>itbdc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://itbdc.wordpress.com/?p=87</guid>
		<description><![CDATA[If you want to change it to \n: IFS=$'\n'<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=87&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want to change it to \n:<br />
<code><br />
IFS=$'\n'<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itbdc.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itbdc.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itbdc.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itbdc.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itbdc.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itbdc.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itbdc.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itbdc.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itbdc.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itbdc.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itbdc.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itbdc.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itbdc.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itbdc.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=87&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itbdc.wordpress.com/2011/02/28/bash-list-separator-ifs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65973a612928e7e8621c9eff1a6d0920?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">itbdc</media:title>
		</media:content>
	</item>
		<item>
		<title>Change PATH and LD_PATH for the system</title>
		<link>http://itbdc.wordpress.com/2010/12/13/change-path-and-ld_path-for-the-system/</link>
		<comments>http://itbdc.wordpress.com/2010/12/13/change-path-and-ld_path-for-the-system/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 10:17:55 +0000</pubDate>
		<dc:creator>itbdc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://itbdc.wordpress.com/?p=85</guid>
		<description><![CDATA[for libs: add a file in folder: /etc/ld.so.conf.d/ for path: edit /etc/profile<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=85&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>for libs:<br />
add a file in folder: /etc/ld.so.conf.d/</p>
<p>for path:<br />
edit /etc/profile</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itbdc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itbdc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itbdc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itbdc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itbdc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itbdc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itbdc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itbdc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itbdc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itbdc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itbdc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itbdc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itbdc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itbdc.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=85&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itbdc.wordpress.com/2010/12/13/change-path-and-ld_path-for-the-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65973a612928e7e8621c9eff1a6d0920?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">itbdc</media:title>
		</media:content>
	</item>
		<item>
		<title>How to know table / index size</title>
		<link>http://itbdc.wordpress.com/2010/05/12/how-to-know-table-index-size/</link>
		<comments>http://itbdc.wordpress.com/2010/05/12/how-to-know-table-index-size/#comments</comments>
		<pubDate>Wed, 12 May 2010 13:06:17 +0000</pubDate>
		<dc:creator>itbdc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://itbdc.wordpress.com/?p=82</guid>
		<description><![CDATA[SELECT pg_size_pretty(pg_relation_size('name'));<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=82&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code>SELECT pg_size_pretty(pg_relation_size('name'));</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itbdc.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itbdc.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itbdc.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itbdc.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itbdc.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itbdc.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itbdc.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itbdc.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itbdc.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itbdc.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itbdc.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itbdc.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itbdc.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itbdc.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=82&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itbdc.wordpress.com/2010/05/12/how-to-know-table-index-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65973a612928e7e8621c9eff1a6d0920?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">itbdc</media:title>
		</media:content>
	</item>
		<item>
		<title>Find duplicate in a database</title>
		<link>http://itbdc.wordpress.com/2009/11/11/find-duplicate-in-a-database/</link>
		<comments>http://itbdc.wordpress.com/2009/11/11/find-duplicate-in-a-database/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 19:10:58 +0000</pubDate>
		<dc:creator>itbdc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://itbdc.wordpress.com/?p=77</guid>
		<description><![CDATA[SELECT my_key, count(*) FROM my_table GROUP BY my_key HAVING count(*) &#62; 1;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=77&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code><br />
SELECT my_key, count(*) FROM my_table GROUP BY my_key HAVING count(*) &gt; 1;<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itbdc.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itbdc.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itbdc.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itbdc.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itbdc.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itbdc.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itbdc.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itbdc.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itbdc.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itbdc.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itbdc.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itbdc.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itbdc.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itbdc.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=77&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itbdc.wordpress.com/2009/11/11/find-duplicate-in-a-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65973a612928e7e8621c9eff1a6d0920?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">itbdc</media:title>
		</media:content>
	</item>
		<item>
		<title>Insert timestamps with a loop</title>
		<link>http://itbdc.wordpress.com/2009/11/05/insert-timestamps-with-a-loop/</link>
		<comments>http://itbdc.wordpress.com/2009/11/05/insert-timestamps-with-a-loop/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 09:18:15 +0000</pubDate>
		<dc:creator>itbdc</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://itbdc.wordpress.com/?p=75</guid>
		<description><![CDATA[This sql command allow you to test data writting in your database. It can be useful to benchmark your disk performances or check the impact of a lock. INSERT INTO table SELECT timeofday()::timestamp FROM generate_series(1,1000000) WHERE pg_sleep(1) IS NOT NULL;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=75&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This sql command allow you to test data writting in your database. It can be useful to benchmark your disk performances or check the impact of a lock.</p>
<p><code><br />
INSERT INTO table SELECT timeofday()::timestamp FROM generate_series(1,1000000) WHERE pg_sleep(1) IS NOT NULL;<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itbdc.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itbdc.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itbdc.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itbdc.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itbdc.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itbdc.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itbdc.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itbdc.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itbdc.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itbdc.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itbdc.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itbdc.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itbdc.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itbdc.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=75&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itbdc.wordpress.com/2009/11/05/insert-timestamps-with-a-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65973a612928e7e8621c9eff1a6d0920?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">itbdc</media:title>
		</media:content>
	</item>
		<item>
		<title>Draw a rectangle on an image</title>
		<link>http://itbdc.wordpress.com/2009/04/07/draw-a-rectangle-on-an-image/</link>
		<comments>http://itbdc.wordpress.com/2009/04/07/draw-a-rectangle-on-an-image/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 17:44:16 +0000</pubDate>
		<dc:creator>itbdc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://itbdc.wordpress.com/2009/04/07/draw-a-rectangle-on-an-image/</guid>
		<description><![CDATA[convert -draw &#8220;rectangle x0 y0 x1 y1&#8243; -fill none -stroke red -strokewidth 5<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=74&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>convert -draw &#8220;rectangle x0 y0 x1 y1&#8243; -fill none -stroke red -strokewidth 5</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itbdc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itbdc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itbdc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itbdc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itbdc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itbdc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itbdc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itbdc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itbdc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itbdc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itbdc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itbdc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itbdc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itbdc.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=74&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itbdc.wordpress.com/2009/04/07/draw-a-rectangle-on-an-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65973a612928e7e8621c9eff1a6d0920?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">itbdc</media:title>
		</media:content>
	</item>
		<item>
		<title>Create an iso from a directory</title>
		<link>http://itbdc.wordpress.com/2009/02/06/create-an-iso-from-a-directory/</link>
		<comments>http://itbdc.wordpress.com/2009/02/06/create-an-iso-from-a-directory/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 11:11:46 +0000</pubDate>
		<dc:creator>itbdc</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://itbdc.wordpress.com/?p=71</guid>
		<description><![CDATA[genisoimage -R -r -J -joliet-long --hide-rr-moved -iso-level 4 -V "Label" -o label_name.iso /tmp/directoryToSave<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=71&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code>genisoimage -R -r -J -joliet-long --hide-rr-moved -iso-level 4 -V "Label" -o label_name.iso /tmp/directoryToSave</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itbdc.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itbdc.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itbdc.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itbdc.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itbdc.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itbdc.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itbdc.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itbdc.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itbdc.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itbdc.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itbdc.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itbdc.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itbdc.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itbdc.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=71&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itbdc.wordpress.com/2009/02/06/create-an-iso-from-a-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65973a612928e7e8621c9eff1a6d0920?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">itbdc</media:title>
		</media:content>
	</item>
		<item>
		<title>Install VMWare on Ubuntu</title>
		<link>http://itbdc.wordpress.com/2009/01/09/install-vmware-on-ubuntu/</link>
		<comments>http://itbdc.wordpress.com/2009/01/09/install-vmware-on-ubuntu/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 10:02:45 +0000</pubDate>
		<dc:creator>itbdc</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://itbdc.wordpress.com/?p=64</guid>
		<description><![CDATA[At first install those package: apt-get install linux-headers-`uname -r` libx11-6 libx11-dev xspecs libxtst6 psmisc build-essential Then download binaries on http://www.vmware.com/download/server/ (server &#38; mui tgz source). During the download, get a license number (http://register.vmware.com/content/registration.html) it&#8217;s totally free! If you use kernel 2.6.27 please launch: wget -c http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7-2.tar.gz Then launch ./vmware-install.pl on each directory (update&#38;mui or install&#38;mui). [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=64&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>At first install those package:</p>
<p><code>apt-get install linux-headers-`uname -r` libx11-6 libx11-dev xspecs libxtst6 psmisc build-essential</code></p>
<p>Then download binaries on http://www.vmware.com/download/server/ (server &amp; mui tgz source).</p>
<p>During the download, get a license number (http://register.vmware.com/content/registration.html) it&#8217;s totally free!</p>
<p>If you use kernel 2.6.27 please launch:<br />
<code>wget -c http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7-2.tar.gz</code></p>
<p>Then launch ./vmware-install.pl on each directory (update&amp;mui or  install&amp;mui).</p>
<p>At the end of the mui installation you will get a starting failed message, to correct this bug please change in /etc/init.d/httpd.vmware file:<br />
<code><br />
start)<br />
       vmware_exec "Starting httpd.vmware:" vmware_start_httpd<br />
      ;;<br />
stop)<br />
       vmware_exec  "Shutting down http.vmware: " vmware_stop_httpd<br />
       ;;<br />
</code><br />
by<br />
<code><br />
start)<br />
if [ ! -d /var/run/vmware/httpd ]<br />
then<br />
echo "Directory: var/run/vmware/httpd Not found. Creating it."<br />
mkdir /var/run/vmware/httpd<br />
echo "Setting user and group ownership to: User: www-data, Group: nogroup"<br />
chown www-data:nogroup /var/run/vmware/httpd<br />
echo "Setting directory permissions to: RWX------ (700)"<br />
chmod 700 /var/run/vmware/httpd<br />
fi<br />
echo "Starting httpd.vmware:"<br />
vmware_start_httpd<br />
;;<br />
stop)<br />
echo "Shutting down http.vmware: "<br />
vmware_stop_httpd<br />
;;<br />
</code></p>
<p>If you use Intrepid version and can&#8217;t launch vmware console please dl patch available at this page: http://www.monarialx.it/en/vmwareserver</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itbdc.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itbdc.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itbdc.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itbdc.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itbdc.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itbdc.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itbdc.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itbdc.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itbdc.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itbdc.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itbdc.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itbdc.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itbdc.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itbdc.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=64&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itbdc.wordpress.com/2009/01/09/install-vmware-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65973a612928e7e8621c9eff1a6d0920?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">itbdc</media:title>
		</media:content>
	</item>
		<item>
		<title>Add a password access to a directory of your website</title>
		<link>http://itbdc.wordpress.com/2008/12/24/add-a-password-access-to-a-directory-of-your-website/</link>
		<comments>http://itbdc.wordpress.com/2008/12/24/add-a-password-access-to-a-directory-of-your-website/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 12:09:17 +0000</pubDate>
		<dc:creator>itbdc</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://itbdc.wordpress.com/?p=60</guid>
		<description><![CDATA[At first you need to create a file containing your password htpasswd -c /var/www/itbdc/.htpasswd itbdc Then create a file in your website: /var/www/itbdc/.htaccess AuthType Basic AuthUserFile /var/www/itbdc/.htpasswd AuthGroupFile /dev/null AuthName EnterPassword require user itbdc require valid-user Then edit your httpd.conf and check those two lines: AccessFileName .htaccess &#60;Directory&#62; [...] AllowOverride All [...] &#60;/Directory&#62; /etc/init.d/httpd restart<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=60&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>At first you need to create a file containing your password</p>
<pre>htpasswd -c /var/www/itbdc/.htpasswd itbdc</pre>
<p>Then create a file in your website: /var/www/itbdc/.htaccess</p>
<pre>AuthType Basic
AuthUserFile /var/www/itbdc/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword

require user itbdc
require valid-user</pre>
<p>Then edit your httpd.conf and check those two lines:</p>
<pre>AccessFileName .htaccess
&lt;Directory&gt;
	[...]
    AllowOverride All
	[...]
&lt;/Directory&gt;</pre>
<p>/etc/init.d/httpd restart</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itbdc.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itbdc.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itbdc.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itbdc.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itbdc.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itbdc.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itbdc.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itbdc.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itbdc.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itbdc.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itbdc.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itbdc.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itbdc.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itbdc.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itbdc.wordpress.com&amp;blog=3961494&amp;post=60&amp;subd=itbdc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itbdc.wordpress.com/2008/12/24/add-a-password-access-to-a-directory-of-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65973a612928e7e8621c9eff1a6d0920?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">itbdc</media:title>
		</media:content>
	</item>
	</channel>
</rss>
