<?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>Sa fie cu folos ... &#187; Programare</title>
	<atom:link href="http://www.rbenea.ro/category/programare/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rbenea.ro</link>
	<description>Sper sa fie cu folos ...</description>
	<lastBuildDate>Tue, 10 May 2011 09:59:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Cross domain and Firebug</title>
		<link>http://www.rbenea.ro/2010/05/05/cross-domain-and-firebug/</link>
		<comments>http://www.rbenea.ro/2010/05/05/cross-domain-and-firebug/#comments</comments>
		<pubDate>Wed, 05 May 2010 14:55:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programare]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.rbenea.ro/?p=33</guid>
		<description><![CDATA[ajax, cross domain, firebug]]></description>
			<content:encoded><![CDATA[<p>Just a quick note: if you are playing with AJAX calls and you see in the Firebug console the request headers but the response is empty (no headers, no content) then most probably you have a cross domain issue.</p>
<p>The domain and port of the server that served the page must be the same with the server that responds to the ajax request!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbenea.ro/2010/05/05/cross-domain-and-firebug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install PHP5 Xdebug for use with Eclipse PDT on Ubuntu 8.10</title>
		<link>http://www.rbenea.ro/2009/05/27/install-php5-xdebug-for-use-with-eclipse-pdt-on-ubuntu-810/</link>
		<comments>http://www.rbenea.ro/2009/05/27/install-php5-xdebug-for-use-with-eclipse-pdt-on-ubuntu-810/#comments</comments>
		<pubDate>Wed, 27 May 2009 06:45:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programare]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xdebug]]></category>

		<guid isPermaLink="false">http://www.rbenea.ro/2009/05/27/install-php5-xdebug-for-use-with-eclipse-pdt-on-ubuntu-810/</guid>
		<description><![CDATA[If you use Eclipse PDT and you want to debug your PHP code using Xdebug just do this: 1. Install xdebug apt-get install php5-xdebug 2. Append to /etc/php5/conf.d/xdebug.ini xdebug.remote_enable=true xdebug.remote_host=127.0.0.1  ; if debugging on remote server, put client IP here xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.profiler_enable=0 3. Restast Apache /etc/init.d/apache2 restart 4.  Check to see if xdebug is [...]]]></description>
			<content:encoded><![CDATA[<p>If you use Eclipse PDT and you want to debug your PHP code using Xdebug just do this:</p>
<p>1. Install xdebug</p>
<pre lang="bash" line="1">
apt-get install php5-xdebug
</pre>
<p>2. Append to /etc/php5/conf.d/xdebug.ini</p>
<pre lang="bash" line="1">
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1  ; if debugging on remote server, put client IP here
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=0
</pre>
<p>3. Restast Apache</p>
<pre lang="bash" line="1">
/etc/init.d/apache2 restart
</pre>
<p>4.  Check to see if xdebug is working with phpinfo(). Create a php file and access it</p>
<pre lang="php" line="1">
<php phpinfo(); ?>;
</pre>
<p>That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbenea.ro/2009/05/27/install-php5-xdebug-for-use-with-eclipse-pdt-on-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl inarray  function</title>
		<link>http://www.rbenea.ro/2008/04/18/perl-inarray-function/</link>
		<comments>http://www.rbenea.ro/2008/04/18/perl-inarray-function/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 07:15:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programare]]></category>

		<guid isPermaLink="false">http://www.rbenea.ro/2008/04/18/perl-inarray-function/</guid>
		<description><![CDATA[Taken from: http://assasiner.wordpress.com/2006/12/03/is-in-array/trackback/ You can use grep for this task like this: if(grep $_ eq $string, @array) or  if you want regular expressions: if(grep /$string/, @array) As an example: #!/usr/bin/perl my $string = "in_helm"; my @array = qw/full_plate manteau boots two_handed_sword fin_helm/; if(grep $_ eq $string, @array) { print "$string is in the array"; }]]></description>
			<content:encoded><![CDATA[<p>Taken from: <a href="http://assasiner.wordpress.com/2006/12/03/is-in-array/trackback/">http://assasiner.wordpress.com/2006/12/03/is-in-array/trackback/</a></p>
<p>You can use grep for this task like this: if(grep $_ eq $string, @array)<br />
or  if you want regular expressions: if(grep /$string/, @array)</p>
<p>As an example:</p>
<pre lang="perl" line="1">
#!/usr/bin/perl
my $string = "in_helm";
my @array = qw/full_plate manteau boots two_handed_sword fin_helm/;
if(grep $_ eq $string, @array)
{
print "$string is in the array";
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.rbenea.ro/2008/04/18/perl-inarray-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

