<?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>Moorscode</title>
	<atom:link href="http://www.moors-code.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.moors-code.com</link>
	<description>Coding by Jip Moors</description>
	<lastBuildDate>Fri, 17 May 2013 11:19:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Vlindertjevleugelvernielveel</title>
		<link>http://www.moors-code.com/as3/vlindertjevleugelvernielveel/</link>
		<comments>http://www.moors-code.com/as3/vlindertjevleugelvernielveel/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 13:36:01 +0000</pubDate>
		<dc:creator>Moorscode</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[flash game]]></category>

		<guid isPermaLink="false">http://www.moors-code.com/?p=60</guid>
		<description><![CDATA[After making the tank game (rupsbandjenooitgenoeg) we thought it might have gotten a bit complicated. The points Jos has to get are pretty basic. (To understand more about this, read the Rupsbandjenooitgenoeg post). So we created a simple, top to bottom scrolling shooter! And we did this within 8 hours. Check out the result at: [...]]]></description>
		<wfw:commentRss>http://www.moors-code.com/as3/vlindertjevleugelvernielveel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rupsbandjenooitgenoeg</title>
		<link>http://www.moors-code.com/as3/rupsbandjenooitgenoeg/</link>
		<comments>http://www.moors-code.com/as3/rupsbandjenooitgenoeg/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 13:33:38 +0000</pubDate>
		<dc:creator>Moorscode</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[flash game]]></category>

		<guid isPermaLink="false">http://www.moors-code.com/?p=58</guid>
		<description><![CDATA[Jos, a friend of mine, who I know from school asked if I could help him make a Flash game. He has to get some final points before he&#8217;s allowed to graduate. So I said yes! Rupsbandjenooitgenoeg (based upon caterpillar very hungry in dutch with an added joke) is the result of this project! Check [...]]]></description>
		<wfw:commentRss>http://www.moors-code.com/as3/rupsbandjenooitgenoeg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Directory listing</title>
		<link>http://www.moors-code.com/php/directory-listing/</link>
		<comments>http://www.moors-code.com/php/directory-listing/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 15:36:10 +0000</pubDate>
		<dc:creator>Moorscode</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.moors-code.com/?p=44</guid>
		<description><![CDATA[A simple directory lister, with custom download function for all files. This way you can download all files, no matter what the server would do with them on default. &#60;?php $download&#160;=&#160;$_GET['file']; &#160; if(file_exists($download))&#160;{ &#160;&#160;&#160;&#160;header("content-disposition:attachment;filename=\""&#160;.&#160;$download&#160;.&#160;"\""); /*&#160;&#160;&#160;&#160;header("content-type:"&#160;.&#160;);&#160;*/ &#160;&#160;&#160;&#160;header("Content-Length:&#160;"&#160;.&#160;filesize($download)); &#160;&#160;&#160;&#160;echo&#160;file_get_contents($download); &#160;&#160;&#160;&#160;die(); } &#160; ?&#62;&#60;!DOCTYPE&#160;html&#160;PUBLIC&#160;"-//W3C//DTD&#160;XHTML&#160;1.0&#160;Transitional//EN"&#160;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&#62; &#60;html&#160;xmlns="http://www.w3.org/1999/xhtml"&#62; &#60;head&#62; &#160;&#160;&#160;&#160;&#60;meta&#160;http-equiv="Content-Type"&#160;content="text/html;&#160;charset=UTF-8"&#160;/&#62; &#160;&#160;&#60;style&#160;type="text/css"&#62; &#160;&#160;&#160;&#160;td&#160;{ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;font-family:&#160;Georgia,&#160;"Times&#160;New&#160;Roman",&#160;Times,&#160;serif; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;font-size:&#160;12px; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;border-top:&#160;1px&#160;dotted&#160;black; &#160;&#160;&#160;&#160;} &#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;table&#160;{&#160;border:&#160;1px&#160;solid&#160;black;&#160;} &#160;&#160;&#160;&#160;thead&#160;{&#160;background-color:&#160;#efefef;&#160;} &#160;&#160;&#160;&#160;thead&#160;td&#160;{&#160;font-weight:&#160;bold;&#160;border-top:&#160;none;&#160;} &#160;&#160;&#160;&#160; [...]]]></description>
		<wfw:commentRss>http://www.moors-code.com/php/directory-listing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphics: pie-chart (semi) 3d</title>
		<link>http://www.moors-code.com/php/graphics-pie-chart-semi-3d/</link>
		<comments>http://www.moors-code.com/php/graphics-pie-chart-semi-3d/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 14:24:39 +0000</pubDate>
		<dc:creator>Moorscode</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.moors-code.com/?p=36</guid>
		<description><![CDATA[Forth example in the php graphics samples, the pie-chart with semi-3d features. &#60;?php //&#160;PHP&#160;script&#160;made&#160;by&#160;Rasmus&#160;-&#160;http://www.peters1.dk&#160;// //&#160;modified&#160;by&#160;Jip&#160;Moors&#160;-&#160;http://www.moors-code.com&#160;// //&#160;&#160;&#160;added&#160;hashing&#160;/&#160;caching&#160;function //////////////////////////////////////////////////////////////// &#160; session_start(); //&#160;if&#160;a&#160;similar&#160;image&#160;has&#160;been&#160;accessed&#160;before&#160;it&#160;will&#160;be&#160;displayed&#160;from&#160;user-cache $hash&#160;=&#160;md5($_SERVER['REQUEST_URI'].$_SERVER['QUERY_STRING']); if(!empty($_SESSION[$hash]))&#160;{ &#160;&#160;&#160;&#160;//&#160;Output&#160;image&#160;to&#160;the&#160;browser &#160;&#160;&#160;&#160;header('Content-Type:&#160;image/png'); &#160;&#160;&#160;&#160;imagepng($_SESSION[$hash]); &#160;&#160;&#160;&#160;die(); } &#160; $width&#160;=&#160;$_GET['w']; $background_color&#160;=&#160;'FFFFFF';&#160;//&#160;background-color&#160;of&#160;the&#160;chart... &#160; $colors&#160;=&#160;array('003366',&#160;'CCD6E0',&#160;'7F99B2','F7EFC6',&#160;'C6BE8C',&#160;'CC6600','990000','520000','BFBFC1','808080');&#160;//&#160;colors&#160;of&#160;the&#160;slices. &#160; $shadow_height&#160;=&#160;ceil($width&#160;/&#160;12);&#160;//&#160;Height&#160;on&#160;shadow. $shadow_dark&#160;=&#160;true;&#160;//&#160;true&#160;=&#160;darker&#160;shadow,&#160;false&#160;=&#160;lighter&#160;shadow... &#160; //&#160;DON'T&#160;CHANGE&#160;ANYTHING&#160;BELOW&#160;THIS&#160;LINE...&#160;(tip&#160;by&#160;Rasmus,&#160;ignored&#160;by&#160;Jip&#160;Moors..&#160;obviously) $data&#160;=&#160;array(); &#160; $i&#160;=&#160;1; while(!empty($_GET['p'.$i]))&#160;{ &#160;&#160;&#160;&#160;$data[]&#160;=&#160;intval($_GET['p'.$i]); &#160;&#160;&#160;&#160;$i++; } &#160; $height&#160;=&#160;ceil($width/2); &#160; $img&#160;=&#160;imagecreate($width+1,&#160;$height+$shadow_height+1); $transparent&#160;=&#160;colorHex($img,&#160;$background_color); $black&#160;=&#160;colorHex($img,&#160;'000000'); &#160; imagefilledrectangle($img,&#160;0,&#160;0,&#160;$width,&#160;$height,&#160;$transparent); imagecolortransparent($img,&#160;$transparent); &#160; foreach&#160;($colors&#160;as&#160;$colorkode)&#160;{ [...]]]></description>
		<wfw:commentRss>http://www.moors-code.com/php/graphics-pie-chart-semi-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphics: graph</title>
		<link>http://www.moors-code.com/php/graphics-graph/</link>
		<comments>http://www.moors-code.com/php/graphics-graph/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 14:21:59 +0000</pubDate>
		<dc:creator>Moorscode</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.moors-code.com/?p=31</guid>
		<description><![CDATA[Third example in the php graphics series, the graph. &#60;?php session_start(); &#160; //&#160;if&#160;a&#160;similar&#160;image&#160;has&#160;been&#160;accessed&#160;before&#160;it&#160;will&#160;be&#160;displayed&#160;from&#160;user-cache $hash&#160;=&#160;md5($_SERVER['REQUEST_URI'].$_SERVER['QUERY_STRING']); if(!empty($_SESSION[$hash]))&#160;{ &#160;&#160;&#160;&#160;//&#160;Output&#160;image&#160;to&#160;the&#160;browser &#160;&#160;&#160;&#160;header('Content-Type:&#160;image/png'); &#160;&#160;&#160;&#160;imagepng($_SESSION[$hash]); &#160;&#160;&#160;&#160;die(); } &#160; $height&#160;=&#160;intval($_GET['h']); $width&#160;=&#160;intval($_GET['w']); &#160; if($height&#160;==&#160;0&#160;&#124;&#124;&#160;$width&#160;==&#160;0)&#160;{ &#160;&#160;&#160;&#160;die("I&#160;need&#160;dimensions."); } &#160; $im&#160;=&#160;imagecreate($width,&#160;$height); &#160; $width&#160;-=&#160;1; $height&#160;-=&#160;1; &#160; $transparent&#160;=&#160;imagecolorallocate&#160;($im,&#160;255,&#160;255,&#160;255); $black&#160;&#160;&#160;&#160;&#160;&#160;&#160;=&#160;imagecolorallocate&#160;($im,&#160;0,&#160;0,&#160;0); &#160; $colors&#160;=&#160;array('003366',&#160;'CCD6E0',&#160;'7F99B2','F7EFC6',&#160;'C6BE8C',&#160;'CC6600','990000','520000','BFBFC1','808080');&#160;//&#160;colors&#160;of&#160;the&#160;slices. &#160; $randcolor&#160;=&#160;array(); foreach($colors&#160;as&#160;$color)&#160;{ &#160;&#160;&#160;&#160;$randcolor[]&#160;=&#160;colorHex($im,&#160;$color); } &#160; //&#160;fill&#160;the&#160;background&#160;with&#160;the&#160;to-be&#160;transparent&#160;color imagefilledrectangle($im,&#160;0,&#160;0,&#160;$width-1,&#160;$height-1,&#160;$transparent); imagecolortransparent($im,&#160;$transparent); &#160; $data&#160;=&#160;array(); &#160; $i&#160;=&#160;1; while(!empty($_GET['p'.$i])&#160;&#38;&#38;&#160;intval($_GET['p'.$i])&#160;&#62;&#160;0)&#160;{ &#160;&#160;&#160;&#160;$data[]&#160;=&#160;$d&#160;=&#160;intval($_GET['p'.$i]); &#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;$datamax&#160;=&#160;($d&#160;&#62;&#160;$datamax)?$d:$datamax; &#160;&#160;&#160;&#160;$datamin&#160;=&#160;($d&#160;&#60;&#160;$datamin)?$d:$datamin; [...]]]></description>
		<wfw:commentRss>http://www.moors-code.com/php/graphics-graph/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
