<?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>The WebZappr</title>
	<atom:link href="http://blog.webzappr.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.webzappr.com</link>
	<description>My Random Web Snippets</description>
	<lastBuildDate>Sat, 11 Jul 2009 17:20:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Weekly Digest for July 11th</title>
		<link>http://blog.webzappr.com/2009/07/weekly-digest-for-july-11th/</link>
		<comments>http://blog.webzappr.com/2009/07/weekly-digest-for-july-11th/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 17:20:42 +0000</pubDate>
		<dc:creator>Thorsten</dc:creator>
				<category><![CDATA[Lifestream]]></category>

		<guid isPermaLink="false">http://blog.webzappr.com/2009/07/weekly-digest-for-july-11th/</guid>
		<description><![CDATA[


			   
		   

Shared Web Trend Map 4 Goes Interactive, Beta Version Drops July 14th




			   
		   

Shared reQall for iPhone 3.0: This is What Push Notifications Were Made For




			   
		   

Shared 14 iPhone Apps With Push Notification for Productivity




			   
		   [...]]]></description>
			<content:encoded><![CDATA[<table class="lifestream">
<tr class="lifestream_feedid_2 lifestream_feed_googlereader">
<td class="lifestream_icon">
			   <a href="http://feedproxy.google.com/~r/readwriteweb/~3/NkDxs6NuN5I/web_trend_map_4_goes_interactive_beta_version_drops_july_14th.php"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/googlereader.png" alt="googlereader (feed #2)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://feedproxy.google.com/~r/readwriteweb/~3/NkDxs6NuN5I/web_trend_map_4_goes_interactive_beta_version_drops_july_14th.php">Web Trend Map 4 Goes Interactive, Beta Version Drops July 14th</a></div>
</td>
</tr>
<tr class="lifestream_feedid_2 lifestream_feed_googlereader">
<td class="lifestream_icon">
			   <a href="http://feedproxy.google.com/~r/readwriteweb/~3/znfUw_nFlJ4/reqall_for_iphone_30_this_is_what_push_notificatio.php"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/googlereader.png" alt="googlereader (feed #2)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://feedproxy.google.com/~r/readwriteweb/~3/znfUw_nFlJ4/reqall_for_iphone_30_this_is_what_push_notificatio.php">reQall for iPhone 3.0: This is What Push Notifications Were Made For</a></div>
</td>
</tr>
<tr class="lifestream_feedid_2 lifestream_feed_googlereader">
<td class="lifestream_icon">
			   <a href="http://mashable.com/2009/07/06/iphone-apps-push-notification/"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/googlereader.png" alt="googlereader (feed #2)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://mashable.com/2009/07/06/iphone-apps-push-notification/">14 iPhone Apps With Push Notification for Productivity</a></div>
</td>
</tr>
<tr class="lifestream_feedid_2 lifestream_feed_googlereader">
<td class="lifestream_icon">
			   <a href="http://ocaoimh.ie/?p=89495036"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/googlereader.png" alt="googlereader (feed #2)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://ocaoimh.ie/?p=89495036">Donncha: WordPress MU 2.8.1 beta</a></div>
</td>
</tr>
<tr class="lifestream_feedid_3 lifestream_feed_twitter">
<td class="lifestream_icon">
			   <a href="http://twitter.com/thott/statuses/2501872154"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/twitter.png" alt="twitter (feed #3)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Some really good thoughts on GPL and Open Source via <a href="http://www.twitter.com/photomatt" class="user">@photomatt</a>: <a href="http://bit.ly/notlonely">http://bit.ly/notlonely</a> [<a href="http://twitter.com/thott/statuses/2501872154">#</a>]</div>
</td>
</tr>
<tr class="lifestream_feedid_3 lifestream_feed_twitter">
<td class="lifestream_icon">
			   <a href="http://twitter.com/thott/statuses/2502717069"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/twitter.png" alt="twitter (feed #3)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Thanks for finding this <a href="http://www.twitter.com/beaulebens" class="user">@beaulebens</a>: Growl notifications sent to your iPhone <a href="http://prowl.weks.net/">http://prowl.weks.net/</a> [<a href="http://twitter.com/thott/statuses/2502717069">#</a>]</div>
</td>
</tr>
<tr class="lifestream_feedid_2 lifestream_feed_googlereader">
<td class="lifestream_icon">
			   <a href="http://alexking.org/blog/?p=3435"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/googlereader.png" alt="googlereader (feed #2)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://alexking.org/blog/?p=3435">Alex King: Breaking News: WordPress is GPL</a></div>
</td>
</tr>
<tr class="lifestream_feedid_3 lifestream_feed_twitter">
<td class="lifestream_icon">
			   <a href="http://twitter.com/thott/statuses/2514824154"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/twitter.png" alt="twitter (feed #3)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Be a part of the process RT <a href="http://www.twitter.com/wordpressdotcom" class="user">@wordpressdotcom</a>: Vote for media features to be included in the next WordPress update! <a href="http://tr.im/wpmediavote">http://tr.im/wpmediavote</a> [<a href="http://twitter.com/thott/statuses/2514824154">#</a>]</div>
</td>
</tr>
<tr class="lifestream_feedid_2 lifestream_feed_googlereader">
<td class="lifestream_icon">
			   <a href="http://feedproxy.google.com/~r/joostdevalk/~3/YyKlLSucPzk/"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/googlereader.png" alt="googlereader (feed #2)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://feedproxy.google.com/~r/joostdevalk/~3/YyKlLSucPzk/">SmushIt for WordPress</a></div>
</td>
</tr>
<tr class="lifestream_feedid_2 lifestream_feed_googlereader">
<td class="lifestream_icon">
			   <a href="http://feedproxy.google.com/~r/Techcrunch/~3/KabifFPYF38/"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/googlereader.png" alt="googlereader (feed #2)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://feedproxy.google.com/~r/Techcrunch/~3/KabifFPYF38/">Launching The TechCrunch Europe Top 100 Index</a></div>
</td>
</tr>
<tr class="lifestream_feedid_6 lifestream_feed_delicious">
<td class="lifestream_icon">
			   <a href="http://thereifixedit.com/"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/delicious.png" alt="delicious (feed #6)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://thereifixedit.com/">There, I Fixed It.</a></div>
</td>
</tr>
<tr class="lifestream_feedid_3 lifestream_feed_twitter">
<td class="lifestream_icon">
			   <a href="http://twitter.com/thott/statuses/2567039369"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/twitter.png" alt="twitter (feed #3)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Need a quick non-coding fix for something? Get inspiration at <a href="http://thereifixedit.com/">http://thereifixedit.com/</a> [<a href="http://twitter.com/thott/statuses/2567039369">#</a>]</div>
</td>
</tr>
<tr class="lifestream_feedid_6 lifestream_feed_delicious">
<td class="lifestream_icon">
			   <a href="http://boxcar.io/"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/delicious.png" alt="delicious (feed #6)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://boxcar.io/">Boxcar — Push for Twitter</a></div>
</td>
</tr>
<tr class="lifestream_feedid_2 lifestream_feed_googlereader">
<td class="lifestream_icon">
			   <a href="http://feedproxy.google.com/~r/polldaddy/~3/U54TII3J0Qk/"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/googlereader.png" alt="googlereader (feed #2)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://feedproxy.google.com/~r/polldaddy/~3/U54TII3J0Qk/">New support site</a></div>
</td>
</tr>
<tr class="lifestream_feedid_2 lifestream_feed_googlereader">
<td class="lifestream_icon">
			   <a href="http://feedproxy.google.com/~r/Techcrunch/~3/y_2NhjJEduQ/"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/googlereader.png" alt="googlereader (feed #2)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://feedproxy.google.com/~r/Techcrunch/~3/y_2NhjJEduQ/">Brizzly: A Twitter Reader From The People Who Brought You Google Reader</a></div>
</td>
</tr>
<tr class="lifestream_feedid_3 lifestream_feed_twitter">
<td class="lifestream_icon">
			   <a href="http://twitter.com/thott/statuses/2572911475"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/twitter.png" alt="twitter (feed #3)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Is WordPress a thankless community ? <a href="http://bit.ly/hj6Q3">http://bit.ly/hj6Q3</a> I&#8217;d say it&#8217;s a general trend these days. get as much as possible, give less. sad! [<a href="http://twitter.com/thott/statuses/2572911475">#</a>]</div>
</td>
</tr>
<tr class="lifestream_feedid_6 lifestream_feed_delicious">
<td class="lifestream_icon">
			   <a href="http://www.polishmywriting.com/"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/delicious.png" alt="delicious (feed #6)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://www.polishmywriting.com/">After the Deadline Demonstration &#8211; Check Spelling, Style, and Grammar</a></div>
</td>
</tr>
<tr class="lifestream_feedid_3 lifestream_feed_twitter">
<td class="lifestream_icon">
			   <a href="http://twitter.com/thott/statuses/2573584954"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/twitter.png" alt="twitter (feed #3)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">RT <a href="http://www.twitter.com/donncha" class="user">@donncha</a>: WordPress MU 2.8.1 <a href="http://ocaoimh.ie/wordpress">http://ocaoimh.ie/wordpress</a>-mu-2-8-1/ <a href="https://search.twitter.com/search?q=%23WPMU">#WPMU</a> ! great work Donncha, looking forward to test it. [<a href="http://twitter.com/thott/statuses/2573584954">#</a>]</div>
</td>
</tr>
<tr class="lifestream_feedid_3 lifestream_feed_twitter">
<td class="lifestream_icon">
			   <a href="http://twitter.com/thott/statuses/2573828088"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/twitter.png" alt="twitter (feed #3)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Is there any way to make windows translucent in OSX and how? [<a href="http://twitter.com/thott/statuses/2573828088">#</a>]</div>
</td>
</tr>
<tr class="lifestream_feedid_2 lifestream_feed_googlereader">
<td class="lifestream_icon">
			   <a href="http://mashable.com/2009/07/10/obama-checking-out-girl/"><img src="http://blog.webzappr.com/wp-content/plugins/lifestream/icons/default/googlereader.png" alt="googlereader (feed #2)" /></a>
		   </td>
<td class="lifestream_text">
<div class="lifestream_label">Shared <a href="http://mashable.com/2009/07/10/obama-checking-out-girl/">Obama Checking Out Girl at the G8 Summit? God Save the Manipulative Internet</a></div>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blog.webzappr.com/2009/07/weekly-digest-for-july-11th/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Obama kills fly &#8220;Got the sucka&#8221; &#8211; Remix</title>
		<link>http://blog.webzappr.com/2009/07/obama-kills-fly-got-the-sucka-remix/</link>
		<comments>http://blog.webzappr.com/2009/07/obama-kills-fly-got-the-sucka-remix/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 22:38:20 +0000</pubDate>
		<dc:creator>Thorsten</dc:creator>
				<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[fly]]></category>
		<category><![CDATA[obama]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.webzappr.com/?p=13823</guid>
		<description><![CDATA[You might have seen the original footage of president Obama getting rid of a very nasty fly, that bothered him in an interview and his famous words : 
&#8220;That was pretty impressive, wasn&#8217;t it? I got the sucker.&#8221;
The original footage can be seen at BBC. Here is a great remix of this video.


]]></description>
			<content:encoded><![CDATA[<p>You might have seen the original footage of president Obama getting rid of a very nasty fly, that bothered him in an interview and his famous words : </p>
<blockquote><p>&#8220;That was pretty impressive, wasn&#8217;t it? I got the sucker.&#8221;</p></blockquote>
<p>The original footage can be seen at <a href="http://news.bbc.co.uk/2/hi/8104495.stm">BBC</a>. Here is a great remix of this video.<br />
<center><br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/5Nh48bDk1VM&#038;hl=en&#038;fs=1&#038;color1=0x2b405b&#038;color2=0x6b8ab6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5Nh48bDk1VM&#038;hl=en&#038;fs=1&#038;color1=0x2b405b&#038;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></center></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webzappr.com/2009/07/obama-kills-fly-got-the-sucka-remix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Navigon beats TomTom in the race for an iPhone navigation system</title>
		<link>http://blog.webzappr.com/2009/07/navigon-beats-tomtom-in-the-race-for-an-iphone-navigation-system/</link>
		<comments>http://blog.webzappr.com/2009/07/navigon-beats-tomtom-in-the-race-for-an-iphone-navigation-system/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 09:58:33 +0000</pubDate>
		<dc:creator>Thorsten</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iphone navigation]]></category>
		<category><![CDATA[navigon]]></category>
		<category><![CDATA[tomtom]]></category>

		<guid isPermaLink="false">http://blog.webzappr.com/?p=13821</guid>
		<description><![CDATA[Although TomTom&#8217;s navigation software for the iPhone seems to be most public and they already announced long ago that they have a iPhone version of their software ready, their current tomtom iphone product page still only shows a presentation video and some basic information. 
Seems Navigon, one of their competitors spent a little less time [...]]]></description>
			<content:encoded><![CDATA[<p>Although TomTom&#8217;s navigation software for the iPhone seems to be most public and they already announced long ago that they have a iPhone version of their software ready, their current <a href="http://iphone.tomtom.com/">tomtom iphone product page</a> still only shows a presentation video and some basic information. </p>
<p>Seems Navigon, one of their competitors spent a little less time  on marketing and more time on development and is already able to deliver their <a href="http://www.navigon.com/site/int/en/products/navigation_software/iphone">Mobile Navigator for iPhone</a> via the <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=320253828">app Store</a>.</p>
<p>Their <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=320279293">Europe version</a> sells for 99.99 Euro and comes with maps for 40 European countries.</p>
<p>Let&#8217;s see what TomTom will have to offer and when. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webzappr.com/2009/07/navigon-beats-tomtom-in-the-race-for-an-iphone-navigation-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tim Ferris about Blogging without killing yourself</title>
		<link>http://blog.webzappr.com/2009/07/tim-ferris-about-blogging-without-killing-yourself/</link>
		<comments>http://blog.webzappr.com/2009/07/tim-ferris-about-blogging-without-killing-yourself/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 14:07:04 +0000</pubDate>
		<dc:creator>Thorsten</dc:creator>
				<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[tea]]></category>
		<category><![CDATA[tim ferris]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[yerba mate]]></category>

		<guid isPermaLink="false">http://blog.webzappr.com/?p=13810</guid>
		<description><![CDATA[After listening to Tim Ferris among other things I should also try this Yerba Mate Tea.

This seems to be a good replacement for the Guarana tea I am currently consuming. 
Maté contains xanthines, which are alkaloids in the same family as caffeine, theophylline, and theobromine, well-known stimulants also found in coffee and chocolate. Maté also [...]]]></description>
			<content:encoded><![CDATA[<p>After listening to <a href="http://wordpress.tv/2009/06/26/tim-ferriss-blogging-without-killing-yourself-wordcamp-san-francisco-2009/">Tim Ferris</a> among other things I should also try this <a title="Yerba Mate" href="http://en.wikipedia.org/wiki/Yerba_Mate" target="_blank">Yerba Mate</a> Tea.</p>
<p><!-- more --></p>
<p>This seems to be a good replacement for the Guarana tea I am currently consuming. </p>
<blockquote><p>Maté contains xanthines, which are alkaloids in the same family as caffeine, theophylline, and theobromine, well-known stimulants also found in coffee and chocolate. Maté also contains elements such as potassium, magnesium and manganese. Caffeine content varies between 0.3% and 1.7% of dry weight (compare this to 2.5–4.5% for tea leaves, and 1.5% for ground coffee).</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.webzappr.com/2009/07/tim-ferris-about-blogging-without-killing-yourself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>30 Boxes widget</title>
		<link>http://blog.webzappr.com/2009/02/30-boxes-widget/</link>
		<comments>http://blog.webzappr.com/2009/02/30-boxes-widget/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 09:56:25 +0000</pubDate>
		<dc:creator>Thorsten</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.webzappr.com/?p=8334</guid>
		<description><![CDATA[Yesterday I added a small plugin to the WordPress plugin directory that allows embedding calendars by 30Boxes.com into your Blog.
I would be happy for any kind of feedback.
]]></description>
			<content:encoded><![CDATA[<p>Yesterday I added a small plugin to the <a href="http://wordpress.org/extend/plugins/30boxes-calendar-widget-shortcode/">WordPress plugin directory</a> that allows embedding calendars by <a href="http://30Boxes.com">30Boxes.com</a> into your Blog.</p>
<p>I would be happy for any kind of feedback.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webzappr.com/2009/02/30-boxes-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging PHP memory consumption without memory_get_usage</title>
		<link>http://blog.webzappr.com/2009/01/debugging-php-memory-consumption-without-memory_get_usage/</link>
		<comments>http://blog.webzappr.com/2009/01/debugging-php-memory-consumption-without-memory_get_usage/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 14:02:31 +0000</pubDate>
		<dc:creator>Thorsten</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[memory leak]]></category>
		<category><![CDATA[memory_get_usage()]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://snipplr.wordpress.com/?p=557</guid>
		<description><![CDATA[Lately I ran into the need for some php memory consumption examination. Sadly the server on which I had to perform this debugging had neither xdebug available nor was php compiled with &#8220;&#8211;enable-memory-limit&#8221; so I could not use memory_get_usage.
Here is a little workaround that was simple but good enough to provide the necessary information. It [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I ran into the need for some php memory consumption examination. Sadly the server on which I had to perform this debugging had neither <a href="http://www.xdebug.org" target="_blank">xdebug</a> available nor was php compiled with &#8220;&#8211;enable-memory-limit&#8221; so I could not use <a href="http://php.net/manual/en/function.memory-get-usage.php" target="_blank">memory_get_usage</a>.</p>
<p>Here is a little workaround that was simple but good enough to provide the necessary information. It might not work on windows systems though.Also you should be aware that it will never give you the same results as memory_get_usage(), but it is working well to spot where your memory consumption grows and helps to find leaks.</p>
<pre class="brush: php;">&lt;?php

if ( ! function_exists( 'memory_get_usage' ) ) {

    function memory_get_usage( $ps_opt=&quot;u&quot; ) {
        global $pid;

        $ps=shell_exec(&quot;ps &quot;.$ps_opt.&quot;p &quot;.$pid);
        $ps=explode(&quot;\n&quot;, $ps);
        if(count($ps)&lt;2){
            return false;
        }

        $ps=explode(&quot; &quot;, ereg_replace(&quot; +&quot;, &quot; &quot;, trim($ps[1])));

        return (int) $ps[4];
    }

}

$pid = getmypid();

if ( $pid )
    printf( &quot;mem: %d\n&quot;, memory_get_usage() );

for ( $i=0; $i&lt;=10000; $i++ ) {
    if ( $i % 1000 == 0 )
        printf( &quot;mem: %d\n&quot;, memory_get_usage() );
    $memeater[] = $i*$i;
}
?&gt;</pre>
<p>The important part is in line 3-21.<br />
In line 3-19 a workaround function for memory_get_usage() that uses the &#8220;ps&#8221; command is defined.<br />
The process id of the currently running PHP process is determined in line 21 and stored within a global variable.<br />
Lines 23++ are just to show an example usage for this code.</p>
<p>Once again &#8211; this function is not made to determine any exact memory consumption values or replace memory_get_usage(). It is just a workaround, I use here and there to spot memory leaks in PHP scripts.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webzappr.com/2009/01/debugging-php-memory-consumption-without-memory_get_usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get a list of urls/domains from a text file</title>
		<link>http://blog.webzappr.com/2008/11/get-a-list-of-urlsdomains-from-a-text-file/</link>
		<comments>http://blog.webzappr.com/2008/11/get-a-list-of-urlsdomains-from-a-text-file/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 20:05:27 +0000</pubDate>
		<dc:creator>Thorsten</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[extract domains]]></category>
		<category><![CDATA[extract urls]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://snipplr.wordpress.com/2008/11/05/get-a-list-of-urlsdomains-from-a-text-file/</guid>
		<description><![CDATA[I was just in need of a little script that extracts all urls from a text file. Here is the result.
sed 's/http/\^http/g' FILENAME &#124; tr -s &#34;^&#34; &#34;\n&#34; &#124; grep http&#124; sed 's/[\ &#124;\\\&#124;\&#34;].*//g' &#124; sed &#34;s/['].*//g&#34; &#124; sort &#124; uniq
And as my final goal was to extract a list of domain names from the [...]]]></description>
			<content:encoded><![CDATA[<p>I was just in need of a little script that extracts all urls from a text file. Here is the result.</p>
<pre class="brush: php;">sed 's/http/\^http/g' FILENAME | tr -s &quot;^&quot; &quot;\n&quot; | grep http| sed 's/[\ |\\\|\&quot;].*//g' | sed &quot;s/['].*//g&quot; | sort | uniq</pre>
<p>And as my final goal was to extract a list of domain names from the file which I can later use in my php script here is the hardcore version which gives you a copy&amp;paste array definition of all domains found in a file.</p>
<pre class="brush: php;">echo -n '$domains = array ( &quot;' ; sed 's/http/\^http/g' FILENAME | tr -s &quot;^&quot; &quot;\n&quot; | grep http| sed 's/[\ |\\\|\&quot;].*//g' | sed &quot;s/['].*//g&quot; | sort | uniq | awk 'BEGIN{FS=&quot;/&quot;}{print $3}' | cut -d . -f 2- | grep -E '^[a-z]+\.[a-z]+$' | sort | uniq | tr &quot;\n&quot; &quot;,&quot; | sed &quot;s/,/\&quot;, \&quot;/ig&quot; | sed 's/, \&quot;$//ig'; echo -n ' );'</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.webzappr.com/2008/11/get-a-list-of-urlsdomains-from-a-text-file/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fix Moveable Type Export with Metatag TAGS instead of KEYWORDS</title>
		<link>http://blog.webzappr.com/2008/10/fix-moveable-type-export-with-metatag-tags-instead-of-keywords/</link>
		<comments>http://blog.webzappr.com/2008/10/fix-moveable-type-export-with-metatag-tags-instead-of-keywords/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 21:44:16 +0000</pubDate>
		<dc:creator>Thorsten</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[metatag]]></category>
		<category><![CDATA[movabletype]]></category>
		<category><![CDATA[mt]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://snipplr.wordpress.com/2008/10/26/fix-moveable-type-export-with-metatag-tags-instead-of-keywords/</guid>
		<description><![CDATA[Sometimes a Moveable Type export puts the tags in a Metatag field called TAGS. Sadly this kind of export file does not preserve the keywords/tags when it is imported in Wordpress. Here is a little fix to get these TAGS converted to KEYWORDS.
cat original.txt &#124; sed '/^TAGS/s/ /,/ig' &#124; sed '/^TAGS/s/&#34;//ig' &#62; converted1.txt ;let lines=`cat [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes a Moveable Type export puts the tags in a Metatag field called TAGS. Sadly this kind of export file does not preserve the keywords/tags when it is imported in Wordpress. Here is a little fix to get these TAGS converted to KEYWORDS.</p>
<pre class="brush: php;">cat original.txt | sed '/^TAGS/s/ /,/ig' | sed '/^TAGS/s/&quot;//ig' &gt; converted1.txt ;let lines=`cat converted1.txt|wc -l`; let lines=`expr &quot;$lines&quot; : '\([0-9]*\)'`; for i in `seq 1 $lines`; do line=`head -n $i converted1.txt | tail -n 1`; istag=`echo $line|grep -E &quot;^TAGS:&quot;|wc -c`; if [ &quot;$istag&quot; -gt 0 ]; then tags=`echo $line|sed 's/TAGS: \\(.*\\)/\\1/g'`; echo $tags; fi; iskeyword=`echo $line|grep -E &quot;^KEYWORDS:&quot;|wc -c`; if [ &quot;$iskeyword&quot; -gt 0 ]; then let tagline=($i+1); fi; if [ &quot;$i&quot; == &quot;$tagline&quot; ]; then echo $tags; tags=&quot;&quot;; tagline=0; else echo $line; fi; done &gt; converted.txt</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.webzappr.com/2008/10/fix-moveable-type-export-with-metatag-tags-instead-of-keywords/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple way to get a diff to a server without subversion</title>
		<link>http://blog.webzappr.com/2008/10/simple-way-to-get-a-diff-to-a-server-without-subversion/</link>
		<comments>http://blog.webzappr.com/2008/10/simple-way-to-get-a-diff-to-a-server-without-subversion/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 21:29:53 +0000</pubDate>
		<dc:creator>Thorsten</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://snipplr.wordpress.com/2008/10/26/simple-way-to-get-a-diff-to-a-server-without-subversion/</guid>
		<description><![CDATA[I recently ran into the problem that I had to update the changes I made on my subversion sandbox to a shared hosting account.
In general you would just check out the revision you need or run a svn diff.
Sadly this is not only possible and you need to figure out the changed files which you [...]]]></description>
			<content:encoded><![CDATA[<p>I recently ran into the problem that I had to update the changes I made on my subversion sandbox to a shared hosting account.</p>
<p>In general you would just check out the revision you need or run a svn diff.</p>
<p>Sadly this is not only possible and you need to figure out the changed files which you need to copy to the server.</p>
<p>This simple little command creates a tar archive with the changed files.</p>
<p><em>Note: you should be in the path of the checked out repository.</em></p>
<pre class="brush: php;">let revision_start=196; let revision_end=225; tar cfv ../r$revision_start-$revision_end.tar `svn diff -r $revision_start:$revision_end . | grep Index | awk '{print \$2}'`</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.webzappr.com/2008/10/simple-way-to-get-a-diff-to-a-server-without-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting a sandbox theme running on wordpress.com</title>
		<link>http://blog.webzappr.com/2008/10/getting-a-sandbox-theme-running-on-wordpresscom/</link>
		<comments>http://blog.webzappr.com/2008/10/getting-a-sandbox-theme-running-on-wordpresscom/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 12:27:06 +0000</pubDate>
		<dc:creator>Thorsten</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[sandbox]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://snipplr.wordpress.com/2008/10/15/getting-a-sandbox-theme-running-on-wordpresscom/</guid>
		<description><![CDATA[At wordpress.com you can get a great blogging platform with very reliable and fast hosting for free. It comes with some restrictions compared to the self hosted wordpress.org version. One of them is that you can not upload your own themes.
Luckily there is the custom css upgrade which allows an easy alteration of the stylesheet [...]]]></description>
			<content:encoded><![CDATA[<p>At <a href="http://www.wordpress.com" target="_blank">wordpress.com</a> you can get a great blogging platform with very reliable and fast hosting for free. It comes with some restrictions compared to the self hosted <a href="http://www.wordpress.org" target="_blank">wordpress.org</a> version. One of <a href="http://faq.wordpress.com/2006/05/07/wordpresscom-vs-wordpressorg/">them</a> is that you can not upload your own themes.</p>
<p>Luckily there is the <a href="http://faq.wordpress.com/2007/10/18/about-the-custom-css-upgrade/">custom css upgrade</a> which allows an easy alteration of the stylesheet of the supported themes. Together with the <a href="http://www.plaintxt.org/themes/sandbox/" target="_blank">sandbox theme</a> this still gives you a lot of opportunities to alter your design and get some additional themes running on your wordpress.com blog.</p>
<p><img style="max-width:800px;float:left;margin-top:10px;margin-bottom:10px;margin-right:10px;" src="http://snipplr.files.wordpress.com/2008/10/screenshot35.png" alt="" width="326" height="244" />For my blog here I have choosen Sandpress, a winner of the <a href="http://sndbx.org/results/designs/">Sandbox Designs Competition </a></p>
<p>Getting such a theme to run in a wordpress.com blog is quite simple although it takes a little more effort than on a wordpress.org blog.</p>
<ul>
<li>First off you need to pick and download a theme and unpack it on your local machine.</li>
<li>Next thing you should do is to make sure that all the image files are in one directory. So if the theme you have choosen has multiple folders for images, take all these images and put them in one folder.</li>
<li>Now you need to upload these images to your blog as described in the <a href="http://faq.wordpress.com/2008/05/02/how-to-upload-images-screenshots/"></a> <a href="http://faq.wordpress.com/2008/05/02/how-to-upload-images-screenshots/">FAQ<br />
</a></li>
<li>Then go to your media manager (/wp-admin/upload.php) and check for the url of your images (right mouse button and copy link location on one of the thumbnails should do the job).</li>
<li>The urls should have something like this structure http://BLOGNAME.files.wordpress.com/YEAR/MONTH/FILENAME for example http://snipplr.files.wordpress.com/2008/10/sandpress.png</li>
<li>Now we need to alter the stylesheet of the sandbox theme of our choice to fit the new urls. So we just need to open it with a text editor and make sure all the paths for url() items within the stylesheet are matching the new image urls. Usually main work will be done with a simple search and replace of &#8220;images/&#8221; with &#8220;/files/YEAR/MONTH/&#8221;</li>
<li>Now it&#8217;s time to activate the Sandbox-10 theme (this should be at /wp-admin/themes.php?pa=4 on your blog)</li>
<li>Once this is done we are ready to try the altered css file. No need to purchase the css upgrade right away, you can just go to /wp-admin/themes.php?page=editcss on your blog and paste the css file into the textarea. Select the &#8220;Start from scratch and just use this&#8221; option and hit &#8220;preview&#8221;.</li>
<li>If everything looks like expected you just need to purchase the &#8220;custom css upgrade&#8221; and you will be able to save the stylesheet and store it for your site.</li>
</ul>
<p>I hope this is of any use for the one or the other blogger out there. It should be simple enough to get a lot of extra themes running and if you need any help just leave me a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.webzappr.com/2008/10/getting-a-sandbox-theme-running-on-wordpresscom/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
