<?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>Blog by Andreas Glaser</title>
	<atom:link href="http://www.andreas-glaser.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andreas-glaser.com</link>
	<description>Development, Technology and such...</description>
	<lastBuildDate>Fri, 05 Mar 2010 16:43:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apache2 &#8211; Perfect mod_expires configuration</title>
		<link>http://www.andreas-glaser.com/2009/12/14/apache2-perfect-mod_expires-configuration/</link>
		<comments>http://www.andreas-glaser.com/2009/12/14/apache2-perfect-mod_expires-configuration/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 13:37:41 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Modules]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=522</guid>
		<description><![CDATA[Well, &#8220;perfect&#8221; might be a little exaggerated although I consider this a good configuration at the moment.
You can put this globally into your httpd.conf or separately in every vhost configuration file you need it.

?View Code BASH1
2
3
4
5
6
7
8
9
10
&#160;
        ExpiresActive On
        ExpiresByType text/css &#34;access [...]]]></description>
			<content:encoded><![CDATA[<p>Well, &#8220;perfect&#8221; might be a little exaggerated although I consider this a good configuration at the moment.<br />
You can put this globally into your httpd.conf or separately in every vhost configuration file you need it.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p522code3'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5223"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p522code3"><pre class="bash" style="font-family:monospace;">&nbsp;
        ExpiresActive On
        ExpiresByType text<span style="color: #000000; font-weight: bold;">/</span>css <span style="color: #ff0000;">&quot;access plus 1 month&quot;</span>
        ExpiresByType text<span style="color: #000000; font-weight: bold;">/</span>javascript <span style="color: #ff0000;">&quot;access plus 1 month&quot;</span>
        ExpiresByType application<span style="color: #000000; font-weight: bold;">/</span>x-javascript <span style="color: #ff0000;">&quot;access plus 1 month&quot;</span>
        ExpiresByType application<span style="color: #000000; font-weight: bold;">/</span>javascript <span style="color: #ff0000;">&quot;access plus 1 month&quot;</span>
        ExpiresByType image<span style="color: #000000; font-weight: bold;">/</span>png <span style="color: #ff0000;">&quot;access plus 1 year&quot;</span>
        ExpiresByType image<span style="color: #000000; font-weight: bold;">/</span>jpeg <span style="color: #ff0000;">&quot;access plus 1 year&quot;</span>
        ExpiresByType image<span style="color: #000000; font-weight: bold;">/</span>gif <span style="color: #ff0000;">&quot;access plus 1 year&quot;</span>
        ExpiresByType image<span style="color: #000000; font-weight: bold;">/</span>x-icon <span style="color: #ff0000;">&quot;access plus 1 month&quot;</span></pre></td></tr></table></div>

<p>Make sure you versionize your JavaScript/CSS to be able to force an update, in case you change them.<br />
<strong>Example:</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p522code4'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5224"><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code" id="p522code4"><pre class="html" style="font-family:monospace;">&nbsp;
    My Example
&nbsp;
Some Content
&nbsp;
    &lt;script src=&quot;javascript.js?version=1&quot; type=&quot;text/javascript&quot;&gt;&lt;!--mce:0--&gt;&lt;/script&gt;</pre></td></tr></table></div>

<p>You should also give newly updated pictures new names!</p>
<p>Over and out,<br />
JaZz</p>



Share:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F14%2Fapache2-perfect-mod_expires-configuration%2F&amp;title=Apache2%20-%20Perfect%20mod_expires%20configuration&amp;bodytext=Well%2C%20%22perfect%22%20might%20be%20a%20little%20exaggerated%20although%20I%20consider%20this%20a%20good%20configuration%20at%20the%20moment.%0D%0AYou%20can%20put%20this%20globally%20into%20your%20httpd.conf%20or%20separately%20in%20every%20vhost%20configuration%20file%20you%20need%20it.%0D%0A%0D%0A%0D%0A%20%20%20%20%20%20%20%20ExpiresActive%20On%0D%0A%20%20%20" title="Digg"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F14%2Fapache2-perfect-mod_expires-configuration%2F&amp;title=Apache2%20-%20Perfect%20mod_expires%20configuration&amp;notes=Well%2C%20%22perfect%22%20might%20be%20a%20little%20exaggerated%20although%20I%20consider%20this%20a%20good%20configuration%20at%20the%20moment.%0D%0AYou%20can%20put%20this%20globally%20into%20your%20httpd.conf%20or%20separately%20in%20every%20vhost%20configuration%20file%20you%20need%20it.%0D%0A%0D%0A%0D%0A%20%20%20%20%20%20%20%20ExpiresActive%20On%0D%0A%20%20%20" title="del.icio.us"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F14%2Fapache2-perfect-mod_expires-configuration%2F&amp;t=Apache2%20-%20Perfect%20mod_expires%20configuration" title="Facebook"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F14%2Fapache2-perfect-mod_expires-configuration%2F&amp;title=Apache2%20-%20Perfect%20mod_expires%20configuration&amp;annotation=Well%2C%20%22perfect%22%20might%20be%20a%20little%20exaggerated%20although%20I%20consider%20this%20a%20good%20configuration%20at%20the%20moment.%0D%0AYou%20can%20put%20this%20globally%20into%20your%20httpd.conf%20or%20separately%20in%20every%20vhost%20configuration%20file%20you%20need%20it.%0D%0A%0D%0A%0D%0A%20%20%20%20%20%20%20%20ExpiresActive%20On%0D%0A%20%20%20" title="Google Bookmarks"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F14%2Fapache2-perfect-mod_expires-configuration%2F&amp;title=Apache2%20-%20Perfect%20mod_expires%20configuration&amp;source=Blog+by+Andreas+Glaser+Development%2C+Technology+and+such...&amp;summary=Well%2C%20%22perfect%22%20might%20be%20a%20little%20exaggerated%20although%20I%20consider%20this%20a%20good%20configuration%20at%20the%20moment.%0D%0AYou%20can%20put%20this%20globally%20into%20your%20httpd.conf%20or%20separately%20in%20every%20vhost%20configuration%20file%20you%20need%20it.%0D%0A%0D%0A%0D%0A%20%20%20%20%20%20%20%20ExpiresActive%20On%0D%0A%20%20%20" title="LinkedIn"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Apache2%20-%20Perfect%20mod_expires%20configuration&amp;body=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F14%2Fapache2-perfect-mod_expires-configuration%2F" title="email"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=Apache2%20-%20Perfect%20mod_expires%20configuration&amp;link=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F14%2Fapache2-perfect-mod_expires-configuration%2F" title="FriendFeed"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.andreas-glaser.com/feed/" title="RSS"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F14%2Fapache2-perfect-mod_expires-configuration%2F&amp;title=Apache2%20-%20Perfect%20mod_expires%20configuration" title="StumbleUpon"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Apache2%20-%20Perfect%20mod_expires%20configuration%20-%20http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F14%2Fapache2-perfect-mod_expires-configuration%2F" title="Twitter"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F14%2Fapache2-perfect-mod_expires-configuration%2F&amp;partner=sociable" title="Print"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/12/14/apache2-perfect-mod_expires-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>40 SPB Mobile Shell Wallpapers Vol. 2</title>
		<link>http://www.andreas-glaser.com/2009/12/12/40-spb-mobile-shell-wallpapers-vol-2/</link>
		<comments>http://www.andreas-glaser.com/2009/12/12/40-spb-mobile-shell-wallpapers-vol-2/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 17:30:18 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Various]]></category>
		<category><![CDATA[SPB]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=519</guid>
		<description><![CDATA[This is a collection of 40 awesome SPB Mobile Shell Wallpapers (Backgrounds).
All credit goes to the artists of the wallpapers!
Click here to get to Vol. 1
Enjoy,
JaZz



Share:


	
	
	
	
	
	
	
	
	
	
	


]]></description>
			<content:encoded><![CDATA[<p>This is a collection of 40 awesome SPB Mobile Shell Wallpapers (Backgrounds).</p>
Note: There is a file embedded within this post, please visit this post to download the file.<br />
<div class="ngg-galleryoverview" id="ngg-gallery-11-519">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-103" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/1.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="1" alt="1" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_1.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-104" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/10.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="10" alt="10" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_10.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-105" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/11.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="11" alt="11" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_11.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-106" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/12.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="12" alt="12" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_12.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-107" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/13.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="13" alt="13" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_13.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-108" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/14.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="14" alt="14" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_14.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-109" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/15.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="15" alt="15" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_15.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-110" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/16.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="16" alt="16" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_16.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-111" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/17.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="17" alt="17" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_17.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-112" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/18.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="18" alt="18" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_18.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-113" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/19.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="19" alt="19" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_19.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-114" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/2.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="2" alt="2" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_2.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-115" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/20.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="20" alt="20" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_20.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-116" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/21.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="21" alt="21" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_21.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-117" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/22.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="22" alt="22" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_22.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-118" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/23.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="23" alt="23" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_23.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-119" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/24.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="24" alt="24" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_24.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-120" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/25.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="25" alt="25" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_25.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-121" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/26.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="26" alt="26" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_26.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-122" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/27.jpg" title=" " class="thickbox" rel="set_11" >
								<img title="27" alt="27" src="http://www.andreas-glaser.com/wp-content/gallery/spb-mobile-shell-wallpapers-vol-2/thumbs/thumbs_27.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-navigation'><span>1</span><a class="page-numbers" href="http://www.andreas-glaser.com/2009/12/12/40-spb-mobile-shell-wallpapers-vol-2/?nggpage=2">2</a><a class="next" id="ngg-next-2" href="http://www.andreas-glaser.com/2009/12/12/40-spb-mobile-shell-wallpapers-vol-2/?nggpage=2">&#9658;</a></div> 	
</div>

<br />
Note: There is a file embedded within this post, please visit this post to download the file.
<p><em>All credit goes to the artists of the wallpapers!</em></p>
<p><a href="http://www.andreas-glaser.com/2009/10/13/40-spb-mobile-shell-wallpapers/" target="_self">Click here to get to Vol. 1</a></p>
<p>Enjoy,<br />
JaZz</p>



Share:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F12%2F40-spb-mobile-shell-wallpapers-vol-2%2F&amp;title=40%20SPB%20Mobile%20Shell%20Wallpapers%20Vol.%202&amp;bodytext=This%20is%20a%20collection%20of%2040%20awesome%20SPB%20Mobile%20Shell%20Wallpapers%20%28Backgrounds%29.%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AAll%20credit%20goes%20to%20the%20artists%20of%20the%20wallpapers%21%0D%0A%0D%0AClick%20here%20to%20get%20to%20Vol.%201%0D%0A%0D%0AEnjoy%2C%0D%0AJaZz" title="Digg"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F12%2F40-spb-mobile-shell-wallpapers-vol-2%2F&amp;title=40%20SPB%20Mobile%20Shell%20Wallpapers%20Vol.%202&amp;notes=This%20is%20a%20collection%20of%2040%20awesome%20SPB%20Mobile%20Shell%20Wallpapers%20%28Backgrounds%29.%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AAll%20credit%20goes%20to%20the%20artists%20of%20the%20wallpapers%21%0D%0A%0D%0AClick%20here%20to%20get%20to%20Vol.%201%0D%0A%0D%0AEnjoy%2C%0D%0AJaZz" title="del.icio.us"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F12%2F40-spb-mobile-shell-wallpapers-vol-2%2F&amp;t=40%20SPB%20Mobile%20Shell%20Wallpapers%20Vol.%202" title="Facebook"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F12%2F40-spb-mobile-shell-wallpapers-vol-2%2F&amp;title=40%20SPB%20Mobile%20Shell%20Wallpapers%20Vol.%202&amp;annotation=This%20is%20a%20collection%20of%2040%20awesome%20SPB%20Mobile%20Shell%20Wallpapers%20%28Backgrounds%29.%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AAll%20credit%20goes%20to%20the%20artists%20of%20the%20wallpapers%21%0D%0A%0D%0AClick%20here%20to%20get%20to%20Vol.%201%0D%0A%0D%0AEnjoy%2C%0D%0AJaZz" title="Google Bookmarks"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F12%2F40-spb-mobile-shell-wallpapers-vol-2%2F&amp;title=40%20SPB%20Mobile%20Shell%20Wallpapers%20Vol.%202&amp;source=Blog+by+Andreas+Glaser+Development%2C+Technology+and+such...&amp;summary=This%20is%20a%20collection%20of%2040%20awesome%20SPB%20Mobile%20Shell%20Wallpapers%20%28Backgrounds%29.%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AAll%20credit%20goes%20to%20the%20artists%20of%20the%20wallpapers%21%0D%0A%0D%0AClick%20here%20to%20get%20to%20Vol.%201%0D%0A%0D%0AEnjoy%2C%0D%0AJaZz" title="LinkedIn"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=40%20SPB%20Mobile%20Shell%20Wallpapers%20Vol.%202&amp;body=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F12%2F40-spb-mobile-shell-wallpapers-vol-2%2F" title="email"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=40%20SPB%20Mobile%20Shell%20Wallpapers%20Vol.%202&amp;link=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F12%2F40-spb-mobile-shell-wallpapers-vol-2%2F" title="FriendFeed"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.andreas-glaser.com/feed/" title="RSS"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F12%2F40-spb-mobile-shell-wallpapers-vol-2%2F&amp;title=40%20SPB%20Mobile%20Shell%20Wallpapers%20Vol.%202" title="StumbleUpon"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=40%20SPB%20Mobile%20Shell%20Wallpapers%20Vol.%202%20-%20http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F12%2F40-spb-mobile-shell-wallpapers-vol-2%2F" title="Twitter"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F12%2F40-spb-mobile-shell-wallpapers-vol-2%2F&amp;partner=sociable" title="Print"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/12/12/40-spb-mobile-shell-wallpapers-vol-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JaZz Stars &#8211; JavaScript/Ajax Content Rating Class</title>
		<link>http://www.andreas-glaser.com/2009/12/04/jazz-stars-javascriptajax-content-rating-class/</link>
		<comments>http://www.andreas-glaser.com/2009/12/04/jazz-stars-javascriptajax-content-rating-class/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 14:53:33 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[Rating]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=494</guid>
		<description><![CDATA[Every once in a while I&#8217;m using one of the freely available JavaScript classes to generate a web2.0ish content rating function. Somehow I felt like creating my own. Of course I don&#8217;t wanna hold it back&#8230; so&#8230; here it is. Enjoy!
Features


Fully Customizable
Ajax Request
Callback
Lightweight

Examples

The behavior can be easily changed by customizing following parameters

?View Code JAVASCRIPT1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  [...]]]></description>
			<content:encoded><![CDATA[<p>Every once in a while I&#8217;m using one of the freely available JavaScript classes to generate a web2.0ish content rating function. Somehow I felt like creating my own. Of course I don&#8217;t wanna hold it back&#8230; so&#8230; here it is. Enjoy!</p>
<p><strong>Features<br />
</strong></p>
<ul>
<li>Fully Customizable</li>
<li>Ajax Request</li>
<li>Callback</li>
<li>Lightweight</li>
</ul>
<p><strong>Examples</strong><br />
<iframe width="100%" height="300" src="http://andreas-glaser.com/examples/JaZzStars/examples/example.html"/></iframe></p>
<p>The behavior can be easily changed by customizing following parameters</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p494code6'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4946"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code" id="p494code6"><pre class="javascript" style="font-family:monospace;">        <span style="color: #003366; font-weight: bold;">var</span> options <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
          scale<span style="color: #339933;">:</span> <span style="color: #CC0000;">5</span><span style="color: #339933;">,</span>
          initialValue<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>
          locked<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span>
&nbsp;
          lockAfterRating<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span>
          setBackAfterRating<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span>
&nbsp;
          ID<span style="color: #339933;">:</span> <span style="color: #3366CC;">'example-004'</span><span style="color: #339933;">,</span>
&nbsp;
          ajax<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
          ajaxMethod<span style="color: #339933;">:</span> <span style="color: #3366CC;">'post'</span><span style="color: #339933;">,</span>
          ajaxAction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'ajax-request-processor.php'</span><span style="color: #339933;">,</span>
          ajaxVariable<span style="color: #339933;">:</span> <span style="color: #3366CC;">'Rating'</span><span style="color: #339933;">,</span>
          ajaxAdditional<span style="color: #339933;">:</span> <span style="color: #3366CC;">'&amp;amp;OptionalVar=123'</span><span style="color: #339933;">,</span>
&nbsp;
          callFunction<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
          callFunctionName<span style="color: #339933;">:</span> <span style="color: #3366CC;">'callbackExample'</span><span style="color: #339933;">,</span>
&nbsp;
          starFilled<span style="color: #339933;">:</span> <span style="color: #3366CC;">'../images/star-2-filled.png'</span><span style="color: #339933;">,</span>
          starEmpty<span style="color: #339933;">:</span> <span style="color: #3366CC;">'../images/star-2-empty.png'</span>
        <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #003366; font-weight: bold;">new</span> JaZzStars<span style="color: #009900;">&#40;</span>options<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>Download</strong><br />
Note: There is a file embedded within this post, please visit this post to download the file.</p>
<p><strong>Changelog</strong>:<br />
2009-12-04 &#8211; 1.0.1</p>
<ul>
<li>Minor fixes</li>
</ul>
<p>2009-12-04 &#8211; 1.0</p>
<ul>
<li>Initial Release</li>
</ul>



Share:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F04%2Fjazz-stars-javascriptajax-content-rating-class%2F&amp;title=JaZz%20Stars%20-%20JavaScript%2FAjax%20Content%20Rating%20Class&amp;bodytext=Every%20once%20in%20a%20while%20I%27m%20using%20one%20of%20the%20freely%20available%20JavaScript%20classes%20to%20generate%20a%20web2.0ish%20content%20rating%20function.%20Somehow%20I%20felt%20like%20creating%20my%20own.%20Of%20course%20I%20don%27t%20wanna%20hold%20it%20back...%20so...%20here%20it%20is.%20Enjoy%21%0D%0A%0D%0AFeatures%0D%0A%0D%0A%0D%0A%09Fu" title="Digg"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F04%2Fjazz-stars-javascriptajax-content-rating-class%2F&amp;title=JaZz%20Stars%20-%20JavaScript%2FAjax%20Content%20Rating%20Class&amp;notes=Every%20once%20in%20a%20while%20I%27m%20using%20one%20of%20the%20freely%20available%20JavaScript%20classes%20to%20generate%20a%20web2.0ish%20content%20rating%20function.%20Somehow%20I%20felt%20like%20creating%20my%20own.%20Of%20course%20I%20don%27t%20wanna%20hold%20it%20back...%20so...%20here%20it%20is.%20Enjoy%21%0D%0A%0D%0AFeatures%0D%0A%0D%0A%0D%0A%09Fu" title="del.icio.us"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F04%2Fjazz-stars-javascriptajax-content-rating-class%2F&amp;t=JaZz%20Stars%20-%20JavaScript%2FAjax%20Content%20Rating%20Class" title="Facebook"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F04%2Fjazz-stars-javascriptajax-content-rating-class%2F&amp;title=JaZz%20Stars%20-%20JavaScript%2FAjax%20Content%20Rating%20Class&amp;annotation=Every%20once%20in%20a%20while%20I%27m%20using%20one%20of%20the%20freely%20available%20JavaScript%20classes%20to%20generate%20a%20web2.0ish%20content%20rating%20function.%20Somehow%20I%20felt%20like%20creating%20my%20own.%20Of%20course%20I%20don%27t%20wanna%20hold%20it%20back...%20so...%20here%20it%20is.%20Enjoy%21%0D%0A%0D%0AFeatures%0D%0A%0D%0A%0D%0A%09Fu" title="Google Bookmarks"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F04%2Fjazz-stars-javascriptajax-content-rating-class%2F&amp;title=JaZz%20Stars%20-%20JavaScript%2FAjax%20Content%20Rating%20Class&amp;source=Blog+by+Andreas+Glaser+Development%2C+Technology+and+such...&amp;summary=Every%20once%20in%20a%20while%20I%27m%20using%20one%20of%20the%20freely%20available%20JavaScript%20classes%20to%20generate%20a%20web2.0ish%20content%20rating%20function.%20Somehow%20I%20felt%20like%20creating%20my%20own.%20Of%20course%20I%20don%27t%20wanna%20hold%20it%20back...%20so...%20here%20it%20is.%20Enjoy%21%0D%0A%0D%0AFeatures%0D%0A%0D%0A%0D%0A%09Fu" title="LinkedIn"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=JaZz%20Stars%20-%20JavaScript%2FAjax%20Content%20Rating%20Class&amp;body=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F04%2Fjazz-stars-javascriptajax-content-rating-class%2F" title="email"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=JaZz%20Stars%20-%20JavaScript%2FAjax%20Content%20Rating%20Class&amp;link=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F04%2Fjazz-stars-javascriptajax-content-rating-class%2F" title="FriendFeed"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.andreas-glaser.com/feed/" title="RSS"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F04%2Fjazz-stars-javascriptajax-content-rating-class%2F&amp;title=JaZz%20Stars%20-%20JavaScript%2FAjax%20Content%20Rating%20Class" title="StumbleUpon"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=JaZz%20Stars%20-%20JavaScript%2FAjax%20Content%20Rating%20Class%20-%20http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F04%2Fjazz-stars-javascriptajax-content-rating-class%2F" title="Twitter"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F04%2Fjazz-stars-javascriptajax-content-rating-class%2F&amp;partner=sociable" title="Print"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/12/04/jazz-stars-javascriptajax-content-rating-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; SRCDS/HTTP Synchronizer (Linux)</title>
		<link>http://www.andreas-glaser.com/2009/12/03/php-srcdshttp-synchronizer-linux/</link>
		<comments>http://www.andreas-glaser.com/2009/12/03/php-srcdshttp-synchronizer-linux/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 17:03:04 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=482</guid>
		<description><![CDATA[I just came across a script I have totally forgotten about, which I wrote quite a while ago.
I haven&#8217;t managed to write a real documentation so far&#8230; anyway&#8230; feel free to try it.
All you need to do, is to install php in case you haven&#8217;t done it already!

?View Code PHP1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
#! /bin/php

&#60;?PHP
/*
SRCDS FastDownload Syncronizer 
Version: 1.0
&#160;
Author:
Andreas [...]]]></description>
			<content:encoded><![CDATA[<p>I just came across a script I have totally forgotten about, which I wrote quite a while ago.<br />
I haven&#8217;t managed to write a real documentation so far&#8230; anyway&#8230; feel free to try it.</p>
<p>All you need to do, is to install php in case you haven&#8217;t done it already!</p>
Note: There is a file embedded within this post, please visit this post to download the file.

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p482code8'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4828"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
</pre></td><td class="code" id="p482code8"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#! /bin/php
</span>
<span style="color: #000000; font-weight: bold;">&lt;?PHP</span>
<span style="color: #666666; font-style: italic;">/*
SRCDS FastDownload Syncronizer 
Version: 1.0
&nbsp;
Author:
Andreas Glaser (JaZz)
www.andreas-glaser.com
&nbsp;
*/</span>
<span style="color: #666666; font-style: italic;">############################*
</span><span style="color: #666666; font-style: italic;"># Variables (DO NOT TOUCH):
</span><span style="color: #666666; font-style: italic;">#
</span><span style="color: #000088;">$Config</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$Files</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">############################*
</span><span style="color: #666666; font-style: italic;"># Configuration (Required):
</span><span style="color: #666666; font-style: italic;">#
</span><span style="color: #666666; font-style: italic;">// :: CONFIG</span>
<span style="color: #666666; font-style: italic;">// :: CONFIG ~ BZIP2</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable or diable bzip2 compression</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Path'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/bin/bzip2'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Path to Bzip2 (default: /bin/bzip2)</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Delete'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Determines whether obsolete files in the webdirectory beeing deleted</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Override'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Determines if every time you synchonize your directories the file gonna be overriden</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chmod'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable or disable to set new RWX rights</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chmod'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Access'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'755'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Sets the new</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chmod'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Path'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/bin/chmod'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Path of Chmod</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chown'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Determines if you like to set a new user for the synchonizes web files</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chown'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'User'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'web001'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Owner of the synchronized files</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chown'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Group'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'web'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Group of the synchronized files</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chown'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Path'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/bin/chown'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Path to Chown</span>
<span style="color: #666666; font-style: italic;">// :: CONFIG ~ PATHS</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cstrike'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/path/to/your/srcds/'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Path to your CounterStrike Server</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/path/to/your/htcods/fastdl/'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Path to your web directory</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'syn_dirs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'maps'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Directoriyto synchronize</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'syn_dirs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'materials'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Directory to synchronize</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'syn_dirs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'models'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Directory to synchronize</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'syn_dirs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'resource'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Directory to synchronize</span>
<span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'syn_dirs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'sound'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Directory to synchronize</span>
<span style="color: #666666; font-style: italic;">// :: Config Check (DO NOT TOUCH)</span>
<span style="color: #339933;">@</span><a href="http://www.php.net/exec"><span style="color: #990000;">exec</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'whoami'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Output</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Output</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">!==</span> <span style="color: #0000ff;">'root'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Error: You must be logged in as root'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cstrike'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <a href="http://www.php.net/is_dir"><span style="color: #990000;">is_dir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cstrike'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> or <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Error: The selected cstrike directory does not exist'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <a href="http://www.php.net/is_dir"><span style="color: #990000;">is_dir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> or <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Error: The selected htdocs directory does not exist'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Path'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> or <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Error: Bzip2 was not found on your system'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chmod'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chmod'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Path'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> or <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Error: Chmod was not found on your system'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chown'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chown'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Path'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> or <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Error: Chown was not found on your system'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'syn_dirs'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$Key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$Val</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cstrike'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$Val</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/'</span><span style="color: #009900;">&#41;</span> or <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$Val</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' does not exist'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$Key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$Val</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cstrike'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$Val</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/'</span><span style="color: #009900;">&#41;</span> or <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$Val</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' does not exist'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// :: Do it (DO NOT TOUCH)</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;&lt;&lt; START SYNCHRONIZATION &gt;&gt;&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'syn_dirs'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$Key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$Val</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  indexCstrike<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cstrike'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Val</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Delete'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  indexHtdocs<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// :: Delete needless files in htdocs</span>
  <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Files</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTDOCS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'FILES'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$Key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$Val</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$SubDir</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Key</span><span style="color: #339933;">,</span> <a href="http://www.php.net/strlen"><span style="color: #990000;">strlen</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$SubDir</span><span style="color: #339933;">,</span> <span style="color: #339933;">-</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'.bz2'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$SubDir</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$SubDir</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #339933;">-</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Files</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'CSTRIKE'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'FILES'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cstrike'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <a href="http://www.php.net/unlink"><span style="color: #990000;">unlink</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// :: Delete needless directories in htdocs</span>
  <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Files</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTDOCS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'DIRS'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$Key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$Val</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$SubDir</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Key</span><span style="color: #339933;">,</span> <a href="http://www.php.net/strlen"><span style="color: #990000;">strlen</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span> <span style="color: #339933;">!==</span> <span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Files</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'CSTRIKE'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'DIRS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cstrike'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <a href="http://www.php.net/rmdir"><span style="color: #990000;">rmdir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// :: Sync Directories</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Files</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'CSTRIKE'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'DIRS'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$Key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$Val</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$SubDir</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Val</span><span style="color: #339933;">,</span> <a href="http://www.php.net/strlen"><span style="color: #990000;">strlen</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cstrike'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #339933;">-</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <a href="http://www.php.net/mkdir"><span style="color: #990000;">mkdir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #339933;">,</span> <span style="color: #208080;">0777</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// :: Sync Files</span>
<span style="color: #000088;">$tmp_Counter</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Files</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'CSTRIKE'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'FILES'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$Key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$Val</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$tmp_Counter</span> <span style="color: #339933;">!==</span> <span style="color: #cc66cc;">0</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$tmp_Counter</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">===</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'.'</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000088;">$tmp_Counter</span><span style="color: #339933;">++;</span>
  <span style="color: #000088;">$SubDir</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Key</span><span style="color: #339933;">,</span> <a href="http://www.php.net/strlen"><span style="color: #990000;">strlen</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cstrike'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'.bz2'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <a href="http://www.php.net/copy"><span style="color: #990000;">copy</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Key</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$LastLine</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/system"><span style="color: #990000;">system</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Path'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' -9 '</span><span style="color: #339933;">.</span><a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'\ '</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$RetVal</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Override'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #339933;">||</span> <span style="color: #000088;">$Val</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Size'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">!==</span> <a href="http://www.php.net/filesize"><span style="color: #990000;">filesize</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <a href="http://www.php.net/unlink"><span style="color: #990000;">unlink</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <a href="http://www.php.net/copy"><span style="color: #990000;">copy</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Key</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          <span style="color: #000088;">$LastLine</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/system"><span style="color: #990000;">system</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Path'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' -9 '</span><span style="color: #339933;">.</span><a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'\ '</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$RetVal</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          <span style="color: #000088;">$LastLine</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/system"><span style="color: #990000;">system</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Path'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' -9 '</span><span style="color: #339933;">.</span><a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'\ '</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$RetVal</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Override'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <a href="http://www.php.net/unlink"><span style="color: #990000;">unlink</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'.bz2'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <a href="http://www.php.net/copy"><span style="color: #990000;">copy</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Key</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000088;">$LastLine</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/system"><span style="color: #990000;">system</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Bzip2'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Path'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' -9 '</span><span style="color: #339933;">.</span><a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'\ '</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$RetVal</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<a href="http://www.php.net/unset"><span style="color: #990000;">unset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tmp_Counter</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chmod'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <a href="http://www.php.net/system"><span style="color: #990000;">system</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'chmod -R '</span><span style="color: #339933;">.</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chmod'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Access'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">.</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$RetVal</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chown'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Enabled'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <a href="http://www.php.net/system"><span style="color: #990000;">system</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'chown -R '</span><span style="color: #339933;">.</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chown'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'User'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">':'</span><span style="color: #339933;">.</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Chown'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Group'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">.</span><span style="color: #000088;">$Config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Paths'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'htdocs'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$RetVal</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;&lt;&lt; DONE &gt;&gt;&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'| INFORMATION ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'| Script:         SRCDS FastDownload Syncronizer                  |'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'| Version:        1.0                                             |'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'| Author:         Andreas Glaser                                  |'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'| Website:        www.andreas-glaser.com                          |'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'| Creation Date:  2009-01-14                                      |'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'| Last Update:    2009-01-14                                      |'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> indexCstrike<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">NULL</span><span style="color: #339933;">,</span> <span style="color: #000088;">$SubDir</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'subdir'</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$Files</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$Dir</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$Dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/'</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$Files</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'CSTRIKE'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'DIRS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$Dir</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$Dir</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$handler</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/opendir"><span style="color: #990000;">opendir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/readdir"><span style="color: #990000;">readdir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handler</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">'.'</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$file</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">'..'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/is_dir"><span style="color: #990000;">is_dir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          <span style="color: #000088;">$Files</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'CSTRIKE'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'FILES'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$Dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Size'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/filesize"><span style="color: #990000;">filesize</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
          indexCstrike<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span><span style="color: #339933;">,</span> <span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
    <a href="http://www.php.net/closedir"><span style="color: #990000;">closedir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handler</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> indexHtdocs<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">NULL</span><span style="color: #339933;">,</span> <span style="color: #000088;">$SubDir</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'subdir'</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$Files</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$SubDir</span> <span style="color: #339933;">!==</span> <span style="color: #0000ff;">'subdir'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$Dir</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$Dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$SubDir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/'</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000088;">$Files</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTDOCS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'DIRS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$Dir</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$Dir</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/file_exists"><span style="color: #990000;">file_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$handler</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/opendir"><span style="color: #990000;">opendir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/readdir"><span style="color: #990000;">readdir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handler</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">'.'</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$file</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">'..'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/is_dir"><span style="color: #990000;">is_dir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          <span style="color: #000088;">$Files</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTDOCS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'FILES'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$Dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Size'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/filesize"><span style="color: #990000;">filesize</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
          indexHtdocs<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Dir</span><span style="color: #339933;">,</span> <span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
    <a href="http://www.php.net/closedir"><span style="color: #990000;">closedir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handler</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

Note: There is a file embedded within this post, please visit this post to download the file.
<p>JaZz</p>



Share:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F03%2Fphp-srcdshttp-synchronizer-linux%2F&amp;title=PHP%20-%20SRCDS%2FHTTP%20Synchronizer%20%28Linux%29&amp;bodytext=I%20just%20came%20across%20a%20script%20I%20have%20totally%20forgotten%20about%2C%20which%20I%20wrote%20quite%20a%20while%20ago.%0D%0AI%20haven%27t%20managed%20to%20write%20a%20real%20documentation%20so%20far...%20anyway...%20feel%20free%20to%20try%20it.%0D%0A%0D%0AAll%20you%20need%20to%20do%2C%20is%20to%20install%20php%20in%20case%20you%20haven%27t%20done%20i" title="Digg"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F03%2Fphp-srcdshttp-synchronizer-linux%2F&amp;title=PHP%20-%20SRCDS%2FHTTP%20Synchronizer%20%28Linux%29&amp;notes=I%20just%20came%20across%20a%20script%20I%20have%20totally%20forgotten%20about%2C%20which%20I%20wrote%20quite%20a%20while%20ago.%0D%0AI%20haven%27t%20managed%20to%20write%20a%20real%20documentation%20so%20far...%20anyway...%20feel%20free%20to%20try%20it.%0D%0A%0D%0AAll%20you%20need%20to%20do%2C%20is%20to%20install%20php%20in%20case%20you%20haven%27t%20done%20i" title="del.icio.us"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F03%2Fphp-srcdshttp-synchronizer-linux%2F&amp;t=PHP%20-%20SRCDS%2FHTTP%20Synchronizer%20%28Linux%29" title="Facebook"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F03%2Fphp-srcdshttp-synchronizer-linux%2F&amp;title=PHP%20-%20SRCDS%2FHTTP%20Synchronizer%20%28Linux%29&amp;annotation=I%20just%20came%20across%20a%20script%20I%20have%20totally%20forgotten%20about%2C%20which%20I%20wrote%20quite%20a%20while%20ago.%0D%0AI%20haven%27t%20managed%20to%20write%20a%20real%20documentation%20so%20far...%20anyway...%20feel%20free%20to%20try%20it.%0D%0A%0D%0AAll%20you%20need%20to%20do%2C%20is%20to%20install%20php%20in%20case%20you%20haven%27t%20done%20i" title="Google Bookmarks"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F03%2Fphp-srcdshttp-synchronizer-linux%2F&amp;title=PHP%20-%20SRCDS%2FHTTP%20Synchronizer%20%28Linux%29&amp;source=Blog+by+Andreas+Glaser+Development%2C+Technology+and+such...&amp;summary=I%20just%20came%20across%20a%20script%20I%20have%20totally%20forgotten%20about%2C%20which%20I%20wrote%20quite%20a%20while%20ago.%0D%0AI%20haven%27t%20managed%20to%20write%20a%20real%20documentation%20so%20far...%20anyway...%20feel%20free%20to%20try%20it.%0D%0A%0D%0AAll%20you%20need%20to%20do%2C%20is%20to%20install%20php%20in%20case%20you%20haven%27t%20done%20i" title="LinkedIn"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=PHP%20-%20SRCDS%2FHTTP%20Synchronizer%20%28Linux%29&amp;body=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F03%2Fphp-srcdshttp-synchronizer-linux%2F" title="email"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=PHP%20-%20SRCDS%2FHTTP%20Synchronizer%20%28Linux%29&amp;link=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F03%2Fphp-srcdshttp-synchronizer-linux%2F" title="FriendFeed"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.andreas-glaser.com/feed/" title="RSS"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F03%2Fphp-srcdshttp-synchronizer-linux%2F&amp;title=PHP%20-%20SRCDS%2FHTTP%20Synchronizer%20%28Linux%29" title="StumbleUpon"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=PHP%20-%20SRCDS%2FHTTP%20Synchronizer%20%28Linux%29%20-%20http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F03%2Fphp-srcdshttp-synchronizer-linux%2F" title="Twitter"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F12%2F03%2Fphp-srcdshttp-synchronizer-linux%2F&amp;partner=sociable" title="Print"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/12/03/php-srcdshttp-synchronizer-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTC Touch HD &#8211; Best Video/Audio Quality</title>
		<link>http://www.andreas-glaser.com/2009/11/26/htc-touch-hd-best-videoaudio-quality/</link>
		<comments>http://www.andreas-glaser.com/2009/11/26/htc-touch-hd-best-videoaudio-quality/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 09:14:36 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[HTC]]></category>
		<category><![CDATA[HTC Touch]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=479</guid>
		<description><![CDATA[For the best video quality with the default video player, choose following setting in you video converter.
I would recommend to use &#8220;Super&#8221; which converts almost any format!
Max Resolution: 800&#215;480px
Container: MP4
Codec: H.264/AVC
Bitrate: 768kbs (maybe a bit more)
Framerate: 25
Audio Codec: AAC LC
Bitrate: 112kbs
Frequency: 44100
External Links

www.erightsoft.com/SUPER.html




Share:


	
	
	
	
	
	
	
	
	
	
	


]]></description>
			<content:encoded><![CDATA[<p>For the best video quality with the default video player, choose following setting in you video converter.<br />
I would recommend to use &#8220;<a href="http://www.erightsoft.com/SUPER.html" target="_blank">Super</a>&#8221; which converts almost any format!</p>
<p>Max Resolution: 800&#215;480px<br />
Container: MP4<br />
Codec: H.264/AVC<br />
Bitrate: 768kbs (maybe a bit more)<br />
Framerate: 25</p>
<p>Audio Codec: AAC LC<br />
Bitrate: 112kbs<br />
Frequency: 44100</p>
<p><strong>External Links</strong></p>
<ul>
<li><a href="http://www.erightsoft.com/SUPER.html" target="_blank">www.erightsoft.com/SUPER.html</a></li>
</ul>



Share:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F26%2Fhtc-touch-hd-best-videoaudio-quality%2F&amp;title=HTC%20Touch%20HD%20-%20Best%20Video%2FAudio%20Quality&amp;bodytext=For%20the%20best%20video%20quality%20with%20the%20default%20video%20player%2C%20choose%20following%20setting%20in%20you%20video%20converter.%0D%0AI%20would%20recommend%20to%20use%20%22Super%22%20which%20converts%20almost%20any%20format%21%0D%0A%0D%0AMax%20Resolution%3A%20800x480px%0D%0AContainer%3A%20MP4%0D%0ACodec%3A%20H.264%2FAVC%0D%0ABitrate%3A%2076" title="Digg"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F26%2Fhtc-touch-hd-best-videoaudio-quality%2F&amp;title=HTC%20Touch%20HD%20-%20Best%20Video%2FAudio%20Quality&amp;notes=For%20the%20best%20video%20quality%20with%20the%20default%20video%20player%2C%20choose%20following%20setting%20in%20you%20video%20converter.%0D%0AI%20would%20recommend%20to%20use%20%22Super%22%20which%20converts%20almost%20any%20format%21%0D%0A%0D%0AMax%20Resolution%3A%20800x480px%0D%0AContainer%3A%20MP4%0D%0ACodec%3A%20H.264%2FAVC%0D%0ABitrate%3A%2076" title="del.icio.us"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F26%2Fhtc-touch-hd-best-videoaudio-quality%2F&amp;t=HTC%20Touch%20HD%20-%20Best%20Video%2FAudio%20Quality" title="Facebook"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F26%2Fhtc-touch-hd-best-videoaudio-quality%2F&amp;title=HTC%20Touch%20HD%20-%20Best%20Video%2FAudio%20Quality&amp;annotation=For%20the%20best%20video%20quality%20with%20the%20default%20video%20player%2C%20choose%20following%20setting%20in%20you%20video%20converter.%0D%0AI%20would%20recommend%20to%20use%20%22Super%22%20which%20converts%20almost%20any%20format%21%0D%0A%0D%0AMax%20Resolution%3A%20800x480px%0D%0AContainer%3A%20MP4%0D%0ACodec%3A%20H.264%2FAVC%0D%0ABitrate%3A%2076" title="Google Bookmarks"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F26%2Fhtc-touch-hd-best-videoaudio-quality%2F&amp;title=HTC%20Touch%20HD%20-%20Best%20Video%2FAudio%20Quality&amp;source=Blog+by+Andreas+Glaser+Development%2C+Technology+and+such...&amp;summary=For%20the%20best%20video%20quality%20with%20the%20default%20video%20player%2C%20choose%20following%20setting%20in%20you%20video%20converter.%0D%0AI%20would%20recommend%20to%20use%20%22Super%22%20which%20converts%20almost%20any%20format%21%0D%0A%0D%0AMax%20Resolution%3A%20800x480px%0D%0AContainer%3A%20MP4%0D%0ACodec%3A%20H.264%2FAVC%0D%0ABitrate%3A%2076" title="LinkedIn"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=HTC%20Touch%20HD%20-%20Best%20Video%2FAudio%20Quality&amp;body=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F26%2Fhtc-touch-hd-best-videoaudio-quality%2F" title="email"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=HTC%20Touch%20HD%20-%20Best%20Video%2FAudio%20Quality&amp;link=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F26%2Fhtc-touch-hd-best-videoaudio-quality%2F" title="FriendFeed"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.andreas-glaser.com/feed/" title="RSS"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F26%2Fhtc-touch-hd-best-videoaudio-quality%2F&amp;title=HTC%20Touch%20HD%20-%20Best%20Video%2FAudio%20Quality" title="StumbleUpon"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=HTC%20Touch%20HD%20-%20Best%20Video%2FAudio%20Quality%20-%20http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F26%2Fhtc-touch-hd-best-videoaudio-quality%2F" title="Twitter"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F26%2Fhtc-touch-hd-best-videoaudio-quality%2F&amp;partner=sociable" title="Print"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/11/26/htc-touch-hd-best-videoaudio-quality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVN &#8211; Add all new files at once</title>
		<link>http://www.andreas-glaser.com/2009/11/11/svn-add-all-new-files-at-once/</link>
		<comments>http://www.andreas-glaser.com/2009/11/11/svn-add-all-new-files-at-once/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 12:06:16 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=477</guid>
		<description><![CDATA[Unfortunately Subversion provides no inbuilt function to add all new files at once.
This however is a solution:

?View Code BASH1
svn status &#124; grep &#34;^?&#34; &#124; awk '{print $2}' &#124; xargs svn add

Enjoy,
JaZz



Share:


	
	
	
	
	
	
	
	
	
	
	


]]></description>
			<content:encoded><![CDATA[<p>Unfortunately Subversion provides no inbuilt function to add all new files at once.<br />
This however is a solution:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p477code10'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p47710"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p477code10"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> status <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;^?&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $2}'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #c20cb9; font-weight: bold;">svn</span> add</pre></td></tr></table></div>

<p>Enjoy,<br />
JaZz</p>



Share:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F11%2Fsvn-add-all-new-files-at-once%2F&amp;title=SVN%20-%20Add%20all%20new%20files%20at%20once&amp;bodytext=Unfortunately%20Subversion%20provides%20no%20inbuilt%20function%20to%20add%20all%20new%20files%20at%20once.%0D%0AThis%20however%20is%20a%20solution%3A%0D%0Asvn%20status%20%7C%20grep%20%22%5E%3F%22%20%7C%20awk%20%27%7Bprint%20%242%7D%27%20%7C%20xargs%20svn%20add%0D%0AEnjoy%2C%0D%0AJaZz" title="Digg"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F11%2Fsvn-add-all-new-files-at-once%2F&amp;title=SVN%20-%20Add%20all%20new%20files%20at%20once&amp;notes=Unfortunately%20Subversion%20provides%20no%20inbuilt%20function%20to%20add%20all%20new%20files%20at%20once.%0D%0AThis%20however%20is%20a%20solution%3A%0D%0Asvn%20status%20%7C%20grep%20%22%5E%3F%22%20%7C%20awk%20%27%7Bprint%20%242%7D%27%20%7C%20xargs%20svn%20add%0D%0AEnjoy%2C%0D%0AJaZz" title="del.icio.us"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F11%2Fsvn-add-all-new-files-at-once%2F&amp;t=SVN%20-%20Add%20all%20new%20files%20at%20once" title="Facebook"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F11%2Fsvn-add-all-new-files-at-once%2F&amp;title=SVN%20-%20Add%20all%20new%20files%20at%20once&amp;annotation=Unfortunately%20Subversion%20provides%20no%20inbuilt%20function%20to%20add%20all%20new%20files%20at%20once.%0D%0AThis%20however%20is%20a%20solution%3A%0D%0Asvn%20status%20%7C%20grep%20%22%5E%3F%22%20%7C%20awk%20%27%7Bprint%20%242%7D%27%20%7C%20xargs%20svn%20add%0D%0AEnjoy%2C%0D%0AJaZz" title="Google Bookmarks"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F11%2Fsvn-add-all-new-files-at-once%2F&amp;title=SVN%20-%20Add%20all%20new%20files%20at%20once&amp;source=Blog+by+Andreas+Glaser+Development%2C+Technology+and+such...&amp;summary=Unfortunately%20Subversion%20provides%20no%20inbuilt%20function%20to%20add%20all%20new%20files%20at%20once.%0D%0AThis%20however%20is%20a%20solution%3A%0D%0Asvn%20status%20%7C%20grep%20%22%5E%3F%22%20%7C%20awk%20%27%7Bprint%20%242%7D%27%20%7C%20xargs%20svn%20add%0D%0AEnjoy%2C%0D%0AJaZz" title="LinkedIn"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=SVN%20-%20Add%20all%20new%20files%20at%20once&amp;body=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F11%2Fsvn-add-all-new-files-at-once%2F" title="email"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=SVN%20-%20Add%20all%20new%20files%20at%20once&amp;link=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F11%2Fsvn-add-all-new-files-at-once%2F" title="FriendFeed"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.andreas-glaser.com/feed/" title="RSS"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F11%2Fsvn-add-all-new-files-at-once%2F&amp;title=SVN%20-%20Add%20all%20new%20files%20at%20once" title="StumbleUpon"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=SVN%20-%20Add%20all%20new%20files%20at%20once%20-%20http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F11%2Fsvn-add-all-new-files-at-once%2F" title="Twitter"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F11%2F11%2Fsvn-add-all-new-files-at-once%2F&amp;partner=sociable" title="Print"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/11/11/svn-add-all-new-files-at-once/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browse flash sites on HTC Touch HD</title>
		<link>http://www.andreas-glaser.com/2009/10/27/browse-flash-sites-on-htc-touch-hd/</link>
		<comments>http://www.andreas-glaser.com/2009/10/27/browse-flash-sites-on-htc-touch-hd/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 09:24:15 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTC Touch HD]]></category>
		<category><![CDATA[Skyfire]]></category>
		<category><![CDATA[Windows Mobile]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=471</guid>
		<description><![CDATA[Q: &#8220;Browse flash sites on HTC Touch HD&#8221;
A: There is at the moment one browser available for Windows Mobile which fully supports flash. The browser is called &#8220;Skyfire&#8220;.
Skyfire about Skyfire:
Watch any video
YouTube, Hulu, any web video &#8211; you name it &#8211; it&#8217;s playing on Skyfire. Skyfire is the only mobile browser that supports full Flash [...]]]></description>
			<content:encoded><![CDATA[<p>Q: &#8220;Browse flash sites on HTC Touch HD&#8221;</p>
<p>A: There is at the moment one browser available for Windows Mobile which fully supports flash. The browser is called &#8220;<a href="http://www.skyfire.com/" target="_blank">Skyfire</a>&#8220;.</p>
<p><strong>Skyfire about Skyfire:</strong></p>
<blockquote><p><strong>Watch any video</strong><br />
YouTube, Hulu, any web video &#8211; you name it &#8211; it&#8217;s playing on Skyfire. Skyfire is the only mobile browser that supports full Flash and Windows Media videos, including Flash 10 and Silverlight 2.0.</p>
<p><strong>Share instantly</strong><br />
Easily share what you find on the web or what you are up to. Post web pages and status updates to Facebook and Twitter, with one click!</p>
<p><strong>Blazing fast</strong><br />
Skyfire fires up fast and web pages load quickly. Don’t take our word for it, check out this showdown by Laptop Magazine.</p>
<div><strong><label>Stay connected</label></strong></div>
<div>Follow your friends&#8217; Facebook and Twitter updates plus keep track of news, 							sports, video and other content in your own customizable activity feed.</div>
<div></div>
<div><strong><label id="rtBoxsecond_label">Browse any page</label></strong></div>
<div>Browse your favorite websites on Skyfire exactly like you do on your PC. No compromises! We’re the only mobile browser to support all major Web 2.0 standards – Ajax, Javascript, Flash 10 – it just works.</div>
</blockquote>
<div><strong>External Links</strong></div>
<div>
<ul>
<li><a href="www.skyfire.com" target="_blank">www.skyfire.com</a></li>
<li><a href="http://www.skyfire.com/product">www.skyfire.com/product</a></li>
</ul>
<p>So long,<br />
JaZz</p></div>



Share:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F27%2Fbrowse-flash-sites-on-htc-touch-hd%2F&amp;title=Browse%20flash%20sites%20on%20HTC%20Touch%20HD%20&amp;bodytext=Q%3A%20%22Browse%20flash%20sites%20on%20HTC%20Touch%20HD%22%0D%0A%0D%0AA%3A%20There%20is%20at%20the%20moment%20one%20browser%20available%20for%20Windows%20Mobile%20which%20fully%20supports%20flash.%20The%20browser%20is%20called%20%22Skyfire%22.%0D%0A%0D%0ASkyfire%20about%20Skyfire%3A%0D%0AWatch%20any%20video%0D%0AYouTube%2C%20Hulu%2C%20any%20web%20video%20-%20you%20" title="Digg"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F27%2Fbrowse-flash-sites-on-htc-touch-hd%2F&amp;title=Browse%20flash%20sites%20on%20HTC%20Touch%20HD%20&amp;notes=Q%3A%20%22Browse%20flash%20sites%20on%20HTC%20Touch%20HD%22%0D%0A%0D%0AA%3A%20There%20is%20at%20the%20moment%20one%20browser%20available%20for%20Windows%20Mobile%20which%20fully%20supports%20flash.%20The%20browser%20is%20called%20%22Skyfire%22.%0D%0A%0D%0ASkyfire%20about%20Skyfire%3A%0D%0AWatch%20any%20video%0D%0AYouTube%2C%20Hulu%2C%20any%20web%20video%20-%20you%20" title="del.icio.us"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F27%2Fbrowse-flash-sites-on-htc-touch-hd%2F&amp;t=Browse%20flash%20sites%20on%20HTC%20Touch%20HD%20" title="Facebook"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F27%2Fbrowse-flash-sites-on-htc-touch-hd%2F&amp;title=Browse%20flash%20sites%20on%20HTC%20Touch%20HD%20&amp;annotation=Q%3A%20%22Browse%20flash%20sites%20on%20HTC%20Touch%20HD%22%0D%0A%0D%0AA%3A%20There%20is%20at%20the%20moment%20one%20browser%20available%20for%20Windows%20Mobile%20which%20fully%20supports%20flash.%20The%20browser%20is%20called%20%22Skyfire%22.%0D%0A%0D%0ASkyfire%20about%20Skyfire%3A%0D%0AWatch%20any%20video%0D%0AYouTube%2C%20Hulu%2C%20any%20web%20video%20-%20you%20" title="Google Bookmarks"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F27%2Fbrowse-flash-sites-on-htc-touch-hd%2F&amp;title=Browse%20flash%20sites%20on%20HTC%20Touch%20HD%20&amp;source=Blog+by+Andreas+Glaser+Development%2C+Technology+and+such...&amp;summary=Q%3A%20%22Browse%20flash%20sites%20on%20HTC%20Touch%20HD%22%0D%0A%0D%0AA%3A%20There%20is%20at%20the%20moment%20one%20browser%20available%20for%20Windows%20Mobile%20which%20fully%20supports%20flash.%20The%20browser%20is%20called%20%22Skyfire%22.%0D%0A%0D%0ASkyfire%20about%20Skyfire%3A%0D%0AWatch%20any%20video%0D%0AYouTube%2C%20Hulu%2C%20any%20web%20video%20-%20you%20" title="LinkedIn"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Browse%20flash%20sites%20on%20HTC%20Touch%20HD%20&amp;body=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F27%2Fbrowse-flash-sites-on-htc-touch-hd%2F" title="email"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=Browse%20flash%20sites%20on%20HTC%20Touch%20HD%20&amp;link=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F27%2Fbrowse-flash-sites-on-htc-touch-hd%2F" title="FriendFeed"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.andreas-glaser.com/feed/" title="RSS"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F27%2Fbrowse-flash-sites-on-htc-touch-hd%2F&amp;title=Browse%20flash%20sites%20on%20HTC%20Touch%20HD%20" title="StumbleUpon"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Browse%20flash%20sites%20on%20HTC%20Touch%20HD%20%20-%20http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F27%2Fbrowse-flash-sites-on-htc-touch-hd%2F" title="Twitter"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F27%2Fbrowse-flash-sites-on-htc-touch-hd%2F&amp;partner=sociable" title="Print"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/10/27/browse-flash-sites-on-htc-touch-hd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux &#8211; Changing file associations</title>
		<link>http://www.andreas-glaser.com/2009/10/22/ubuntu-linux-changing-file-associations/</link>
		<comments>http://www.andreas-glaser.com/2009/10/22/ubuntu-linux-changing-file-associations/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 11:02:12 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=465</guid>
		<description><![CDATA[Every once in a while I&#8217;m asked how to change file associations in Ubuntu. It&#8217;s very simple and explained in two steps.
Step 1
Right mouse click on one of the files you want to associate with a specific program. Select &#8220;Properties&#8221; from the context menu.

Step 2
Jump to the &#8220;Open With&#8221; tab, select your preferred software and [...]]]></description>
			<content:encoded><![CDATA[<p>Every once in a while I&#8217;m asked how to change file associations in Ubuntu. It&#8217;s very simple and explained in two steps.</p>
<p><strong>Step 1</strong><br />
Right mouse click on one of the files you want to associate with a specific program. Select &#8220;Properties&#8221; from the context menu.<br />
<img class="alignnone size-medium wp-image-466" title="step1" src="http://www.andreas-glaser.com/wp-content/uploads/2009/10/step1-250x300.png" alt="step1" width="250" height="300" /></p>
<p><strong>Step 2</strong><br />
Jump to the &#8220;Open With&#8221; tab, select your preferred software and close the window.<br />
<img class="alignnone size-medium wp-image-467" title="step2" src="http://www.andreas-glaser.com/wp-content/uploads/2009/10/step2-300x205.png" alt="step2" width="300" height="205" /></p>
<p>From now on, when you double click files from the definied type, it automatically starts the previously selected software.</p>
<p><strong>JaZz</strong></p>



Share:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F22%2Fubuntu-linux-changing-file-associations%2F&amp;title=Ubuntu%20Linux%20-%20Changing%20file%20associations&amp;bodytext=Every%20once%20in%20a%20while%20I%27m%20asked%20how%20to%20change%20file%20associations%20in%20Ubuntu.%20It%27s%20very%20simple%20and%20explained%20in%20two%20steps.%0D%0A%0D%0AStep%201%0D%0ARight%20mouse%20click%20on%20one%20of%20the%20files%20you%20want%20to%20associate%20with%20a%20specific%20program.%20Select%20%22Properties%22%20from%20the%20conte" title="Digg"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F22%2Fubuntu-linux-changing-file-associations%2F&amp;title=Ubuntu%20Linux%20-%20Changing%20file%20associations&amp;notes=Every%20once%20in%20a%20while%20I%27m%20asked%20how%20to%20change%20file%20associations%20in%20Ubuntu.%20It%27s%20very%20simple%20and%20explained%20in%20two%20steps.%0D%0A%0D%0AStep%201%0D%0ARight%20mouse%20click%20on%20one%20of%20the%20files%20you%20want%20to%20associate%20with%20a%20specific%20program.%20Select%20%22Properties%22%20from%20the%20conte" title="del.icio.us"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F22%2Fubuntu-linux-changing-file-associations%2F&amp;t=Ubuntu%20Linux%20-%20Changing%20file%20associations" title="Facebook"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F22%2Fubuntu-linux-changing-file-associations%2F&amp;title=Ubuntu%20Linux%20-%20Changing%20file%20associations&amp;annotation=Every%20once%20in%20a%20while%20I%27m%20asked%20how%20to%20change%20file%20associations%20in%20Ubuntu.%20It%27s%20very%20simple%20and%20explained%20in%20two%20steps.%0D%0A%0D%0AStep%201%0D%0ARight%20mouse%20click%20on%20one%20of%20the%20files%20you%20want%20to%20associate%20with%20a%20specific%20program.%20Select%20%22Properties%22%20from%20the%20conte" title="Google Bookmarks"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F22%2Fubuntu-linux-changing-file-associations%2F&amp;title=Ubuntu%20Linux%20-%20Changing%20file%20associations&amp;source=Blog+by+Andreas+Glaser+Development%2C+Technology+and+such...&amp;summary=Every%20once%20in%20a%20while%20I%27m%20asked%20how%20to%20change%20file%20associations%20in%20Ubuntu.%20It%27s%20very%20simple%20and%20explained%20in%20two%20steps.%0D%0A%0D%0AStep%201%0D%0ARight%20mouse%20click%20on%20one%20of%20the%20files%20you%20want%20to%20associate%20with%20a%20specific%20program.%20Select%20%22Properties%22%20from%20the%20conte" title="LinkedIn"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Ubuntu%20Linux%20-%20Changing%20file%20associations&amp;body=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F22%2Fubuntu-linux-changing-file-associations%2F" title="email"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=Ubuntu%20Linux%20-%20Changing%20file%20associations&amp;link=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F22%2Fubuntu-linux-changing-file-associations%2F" title="FriendFeed"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.andreas-glaser.com/feed/" title="RSS"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F22%2Fubuntu-linux-changing-file-associations%2F&amp;title=Ubuntu%20Linux%20-%20Changing%20file%20associations" title="StumbleUpon"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Ubuntu%20Linux%20-%20Changing%20file%20associations%20-%20http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F22%2Fubuntu-linux-changing-file-associations%2F" title="Twitter"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F22%2Fubuntu-linux-changing-file-associations%2F&amp;partner=sociable" title="Print"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/10/22/ubuntu-linux-changing-file-associations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zorrox.com officially down</title>
		<link>http://www.andreas-glaser.com/2009/10/21/zorrox-com-officially-down/</link>
		<comments>http://www.andreas-glaser.com/2009/10/21/zorrox-com-officially-down/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 09:37:56 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Various]]></category>
		<category><![CDATA[Domain]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Private]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=462</guid>
		<description><![CDATA[My old domain &#8220;zorrox.com&#8221; is now officially down.
Most of it&#8217;s content is also available here. Try the search bar on the right side!
JaZz



Share:


	
	
	
	
	
	
	
	
	
	
	


]]></description>
			<content:encoded><![CDATA[<p>My old domain &#8220;zorrox.com&#8221; is now officially down.<br />
Most of it&#8217;s content is also available here. Try the search bar on the right side!</p>
<p>JaZz</p>



Share:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F21%2Fzorrox-com-officially-down%2F&amp;title=zorrox.com%20officially%20down&amp;bodytext=My%20old%20domain%20%22zorrox.com%22%20is%20now%20officially%20down.%0D%0AMost%20of%20it%27s%20content%20is%20also%20available%20here.%20Try%20the%20search%20bar%20on%20the%20right%20side%21%0D%0A%0D%0AJaZz" title="Digg"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F21%2Fzorrox-com-officially-down%2F&amp;title=zorrox.com%20officially%20down&amp;notes=My%20old%20domain%20%22zorrox.com%22%20is%20now%20officially%20down.%0D%0AMost%20of%20it%27s%20content%20is%20also%20available%20here.%20Try%20the%20search%20bar%20on%20the%20right%20side%21%0D%0A%0D%0AJaZz" title="del.icio.us"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F21%2Fzorrox-com-officially-down%2F&amp;t=zorrox.com%20officially%20down" title="Facebook"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F21%2Fzorrox-com-officially-down%2F&amp;title=zorrox.com%20officially%20down&amp;annotation=My%20old%20domain%20%22zorrox.com%22%20is%20now%20officially%20down.%0D%0AMost%20of%20it%27s%20content%20is%20also%20available%20here.%20Try%20the%20search%20bar%20on%20the%20right%20side%21%0D%0A%0D%0AJaZz" title="Google Bookmarks"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F21%2Fzorrox-com-officially-down%2F&amp;title=zorrox.com%20officially%20down&amp;source=Blog+by+Andreas+Glaser+Development%2C+Technology+and+such...&amp;summary=My%20old%20domain%20%22zorrox.com%22%20is%20now%20officially%20down.%0D%0AMost%20of%20it%27s%20content%20is%20also%20available%20here.%20Try%20the%20search%20bar%20on%20the%20right%20side%21%0D%0A%0D%0AJaZz" title="LinkedIn"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=zorrox.com%20officially%20down&amp;body=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F21%2Fzorrox-com-officially-down%2F" title="email"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=zorrox.com%20officially%20down&amp;link=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F21%2Fzorrox-com-officially-down%2F" title="FriendFeed"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.andreas-glaser.com/feed/" title="RSS"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F21%2Fzorrox-com-officially-down%2F&amp;title=zorrox.com%20officially%20down" title="StumbleUpon"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=zorrox.com%20officially%20down%20-%20http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F21%2Fzorrox-com-officially-down%2F" title="Twitter"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F21%2Fzorrox-com-officially-down%2F&amp;partner=sociable" title="Print"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/10/21/zorrox-com-officially-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Internet Explorer 6 No More&#8221; Campaign</title>
		<link>http://www.andreas-glaser.com/2009/10/20/internet-explorer-6-no-more-campaign/</link>
		<comments>http://www.andreas-glaser.com/2009/10/20/internet-explorer-6-no-more-campaign/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 13:49:35 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=453</guid>
		<description><![CDATA[A few months ago i came across this campaign called &#8220;IE6 No More&#8221;,
it&#8217;s attempt or better yet it&#8217;s goal is to erase once and for all, the source of all evil &#8220;Internet Explorer 6&#8243;. :)
Quote

Why?
Enough is enough. Microsoft Internet Explorer 6 was released in late 2001. For its time, it was a decent browser, but [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago i came across this campaign called &#8220;IE6 No More&#8221;,<br />
it&#8217;s attempt or better yet it&#8217;s goal is to erase once and for all, the source of all evil &#8220;Internet Explorer 6&#8243;. :)</p>
<p><strong>Quote</strong></p>
<blockquote>
<h2 style="text-align: left;">Why?</h2>
<div style="text-align: left; display: block;"><span style="font-weight: bold;">Enough is enough.</span> Microsoft Internet Explorer 6 was released in late 2001. For its time, it was a decent browser, but in 2009, it is still in use by a significant portion of the web population, and its time is now up.</p>
<p>As any web developer will tell you, working with IE 6 is one of the most difficult and frustrating things they have to deal with on a daily basis, taking up a disproportionate amount of their time. Beyond that, IE 6&#8217;s support for modern web standards is very lacking, restricting what developers can create and holding the web back.</p></div>
<h2 style="text-align: left;">What?</h2>
<div style="text-align: left; display: block;">This website is run by a group of people who want to see IE 6 disappear as soon as possible. To help make that happen, we&#8217;re encouraging the IE 6 users of our websites to upgrade to a more modern browser, so they can have a better experience using our sites and browsing the web.</div>
<h2 style="text-align: left;">How?</h2>
<p>Check out the <a href="http://www.ie6nomore.com/code-samples.html">code samples</a> for different styles and languages, or just copy and paste the following code onto your site</p></blockquote>
<div style="border: 1px solid #f7941d; background: #feefda none repeat scroll 0% 0%; text-align: center; clear: both; height: 75px; position: relative;">
<div style="position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;"><a onclick="javascript:this.parentNode.parentNode.style.display=&quot;none&quot;; return false;" href="#"><img style="border: none;" src="http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg" alt="Close this notice" /></a></div>
<div style="margin: 0pt auto; padding: 0pt; overflow: hidden; width: 640px; text-align: left; color: black;">
<div style="width: 75px; float: left;"><img src="http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg" alt="Warning!" /></div>
<div style="width: 275px; float: left; font-family: Arial,sans-serif;">
<div style="font-size: 14px; font-weight: bold; margin-top: 12px;">You are using an outdated browser</div>
<div style="font-size: 12px; margin-top: 6px; line-height: 12px;">For a better experience using this site, please upgrade to a modern web browser.</div>
</div>
<div style="width: 75px; float: left;"><a href="http://www.firefox.com" target="_blank"><img style="border: none;" src="http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg" alt="Get Firefox 3.5" /></a></div>
<div style="width: 75px; float: left;"><a href="http://www.browserforthebetter.com/download.html" target="_blank"><img style="border: none;" src="http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg" alt="Get Internet Explorer 8" /></a></div>
<div style="width: 73px; float: left;"><a href="http://www.apple.com/safari/download/" target="_blank"><img style="border: none;" src="http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg" alt="Get Safari 4" /></a></div>
<div style="float: left;"><a href="http://www.google.com/chrome" target="_blank"><img style="border: none;" src="http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg" alt="Get Google Chrome" /></a></div>
</div>
</div>
<p>This is definitely worth to support.<br />
If you feel like supporting the campaign as well, visit their website and follow the instructions.</p>
<p><strong>External Links</strong></p>
<ul>
<li><a href="http://www.ie6nomore.com">www.ie6nomore.com</a></li>
</ul>



Share:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F20%2Finternet-explorer-6-no-more-campaign%2F&amp;title=%22Internet%20Explorer%206%20No%20More%22%20Campaign%20&amp;bodytext=A%20few%20months%20ago%20i%20came%20across%20this%20campaign%20called%20%22IE6%20No%20More%22%2C%0D%0Ait%27s%20attempt%20or%20better%20yet%20it%27s%20goal%20is%20to%20erase%20once%20and%20for%20all%2C%20the%20source%20of%20all%20evil%20%22Internet%20Explorer%206%22.%20%3A%29%0D%0A%0D%0AQuote%0D%0A%0D%0AWhy%3F%0D%0AEnough%20is%20enough.%20Microsoft%20Internet%20Explorer%206%20" title="Digg"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F20%2Finternet-explorer-6-no-more-campaign%2F&amp;title=%22Internet%20Explorer%206%20No%20More%22%20Campaign%20&amp;notes=A%20few%20months%20ago%20i%20came%20across%20this%20campaign%20called%20%22IE6%20No%20More%22%2C%0D%0Ait%27s%20attempt%20or%20better%20yet%20it%27s%20goal%20is%20to%20erase%20once%20and%20for%20all%2C%20the%20source%20of%20all%20evil%20%22Internet%20Explorer%206%22.%20%3A%29%0D%0A%0D%0AQuote%0D%0A%0D%0AWhy%3F%0D%0AEnough%20is%20enough.%20Microsoft%20Internet%20Explorer%206%20" title="del.icio.us"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F20%2Finternet-explorer-6-no-more-campaign%2F&amp;t=%22Internet%20Explorer%206%20No%20More%22%20Campaign%20" title="Facebook"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F20%2Finternet-explorer-6-no-more-campaign%2F&amp;title=%22Internet%20Explorer%206%20No%20More%22%20Campaign%20&amp;annotation=A%20few%20months%20ago%20i%20came%20across%20this%20campaign%20called%20%22IE6%20No%20More%22%2C%0D%0Ait%27s%20attempt%20or%20better%20yet%20it%27s%20goal%20is%20to%20erase%20once%20and%20for%20all%2C%20the%20source%20of%20all%20evil%20%22Internet%20Explorer%206%22.%20%3A%29%0D%0A%0D%0AQuote%0D%0A%0D%0AWhy%3F%0D%0AEnough%20is%20enough.%20Microsoft%20Internet%20Explorer%206%20" title="Google Bookmarks"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F20%2Finternet-explorer-6-no-more-campaign%2F&amp;title=%22Internet%20Explorer%206%20No%20More%22%20Campaign%20&amp;source=Blog+by+Andreas+Glaser+Development%2C+Technology+and+such...&amp;summary=A%20few%20months%20ago%20i%20came%20across%20this%20campaign%20called%20%22IE6%20No%20More%22%2C%0D%0Ait%27s%20attempt%20or%20better%20yet%20it%27s%20goal%20is%20to%20erase%20once%20and%20for%20all%2C%20the%20source%20of%20all%20evil%20%22Internet%20Explorer%206%22.%20%3A%29%0D%0A%0D%0AQuote%0D%0A%0D%0AWhy%3F%0D%0AEnough%20is%20enough.%20Microsoft%20Internet%20Explorer%206%20" title="LinkedIn"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=%22Internet%20Explorer%206%20No%20More%22%20Campaign%20&amp;body=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F20%2Finternet-explorer-6-no-more-campaign%2F" title="email"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=%22Internet%20Explorer%206%20No%20More%22%20Campaign%20&amp;link=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F20%2Finternet-explorer-6-no-more-campaign%2F" title="FriendFeed"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.andreas-glaser.com/feed/" title="RSS"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F20%2Finternet-explorer-6-no-more-campaign%2F&amp;title=%22Internet%20Explorer%206%20No%20More%22%20Campaign%20" title="StumbleUpon"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=%22Internet%20Explorer%206%20No%20More%22%20Campaign%20%20-%20http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F20%2Finternet-explorer-6-no-more-campaign%2F" title="Twitter"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.andreas-glaser.com%2F2009%2F10%2F20%2Finternet-explorer-6-no-more-campaign%2F&amp;partner=sociable" title="Print"><img src="http://www.andreas-glaser.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/10/20/internet-explorer-6-no-more-campaign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
