<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Technical posts</title>
		<link>http://qfox.nl/notes</link>
		<description>Blog posts regarding technical, coding or related material. Javascript, PHP, Front-end development.</description>
		<copyright>Copyright 2010, Peter van der Zee</copyright>
		<pubDate>Tue, 09 Mar 2010 12:34:04 +0100</pubDate>
		<lastBuildDate>Tue, 09 Mar 2010 12:34:04 +0100</lastBuildDate>
		<category>Tech</category>
		<generator>My own PHP abomination</generator>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<ttl>60</ttl>
		

			<item>
				<title>JS Regex Unicode Categories</title>
				<link>http://qfox.nl/notes?90</link>
				<description>For a project I needed to parse characters from specific Unicode categories. while &amp;lt;a href='http://www.regular-expressions.info/unicode.html' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;this page&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt; suggests using the \p syntax for that, this is no...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?90</guid>
				<pubDate>Sat, 20 Feb 2010 16:54:40 +0100</pubDate>
			</item>
				
			<item>
				<title>JS boolean arrays</title>
				<link>http://qfox.nl/notes?89</link>
				<description>So Brian Leroux released his &amp;lt;a href='http://wtfjs.com/' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;WTFJS&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;. An interesting collection of oddities concerning Javascript.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Now it so happens to be I'm working on a similar project, going through t...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?89</guid>
				<pubDate>Mon, 15 Feb 2010 21:18:12 +0100</pubDate>
			</item>
				
			<item>
				<title>JS arguments to array</title>
				<link>http://qfox.nl/notes?88</link>
				<description>Why do I keep forgetting this... :/&amp;lt;br /&amp;gt;Convert the arguments object to a proper array.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Code: (&amp;lt;b&amp;gt;JS&amp;lt;/b&amp;gt;)&amp;lt;/p&amp;gt;&amp;lt;p class='code'&amp;gt;&amp;lt;br /&amp;gt;Array.prototype.slice.call(arguments);&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Hope it helps you... and hope I can remember ...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?88</guid>
				<pubDate>Sun, 14 Feb 2010 10:48:42 +0100</pubDate>
			</item>
				
			<item>
				<title>PHP dir cycle</title>
				<link>http://qfox.nl/notes?87</link>
				<description>Cycle through a dir and get all the filenames...&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Code: (&amp;lt;b&amp;gt;PHP&amp;lt;/b&amp;gt;)&amp;lt;/p&amp;gt;&amp;lt;p class='code'&amp;gt;$strDir = 'source'; // no trailing slash&amp;lt;br /&amp;gt;$hndlDir = opendir($strDir);&amp;lt;br /&amp;gt;while (($strFile = readdir($hndlDir)) !== false) {&amp;lt;br /&amp;gt;	if ($str...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?87</guid>
				<pubDate>Sun, 07 Feb 2010 14:13:57 +0100</pubDate>
			</item>
				
			<item>
				<title>Forgetfull wording</title>
				<link>http://qfox.nl/notes?86</link>
				<description>These are words I forget. I tend ti forget very specific words and it's quite annoying. This list will grow over time, but you can probably just ignore it :)&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Augment...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?86</guid>
				<pubDate>Sun, 07 Feb 2010 13:59:50 +0100</pubDate>
			</item>
				
			<item>
				<title>PHP Creating a Zip</title>
				<link>http://qfox.nl/notes?85</link>
				<description>This is how you create and serve a new zip file dynamically in PHP...&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Code: (&amp;lt;b&amp;gt;PHP&amp;lt;/b&amp;gt;)&amp;lt;/p&amp;gt;&amp;lt;p class='code'&amp;gt;&amp;lt;br /&amp;gt;$zipFileName = 'tmp.zip';&amp;lt;br /&amp;gt;$fileToInclude = 'files/file.txt';&amp;lt;br /&amp;gt;$textToInclude = 'hello world';&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;$objZip = ne...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?85</guid>
				<pubDate>Sun, 07 Feb 2010 11:54:57 +0100</pubDate>
			</item>
				
			<item>
				<title>PHP random string</title>
				<link>http://qfox.nl/notes?84</link>
				<description>I needed to generate random usernames for creating random users and wanted to use a random string generator.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;There are quite some elaborate string generators out there, but I just wanted something ...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?84</guid>
				<pubDate>Fri, 05 Feb 2010 11:14:06 +0100</pubDate>
			</item>
				
			<item>
				<title>Smarty date proxy</title>
				<link>http://qfox.nl/notes?83</link>
				<description>Today I was building an RSS feed in Smarty. Pretty straightforward (really, why the hell would you need complex libraries for such a simple tasks??). Anyhow, the database is MySQL and as such, will re...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?83</guid>
				<pubDate>Fri, 29 Jan 2010 17:20:18 +0100</pubDate>
			</item>
				
			<item>
				<title>Javascript IDE</title>
				<link>http://qfox.nl/notes?82</link>
				<description>After &amp;lt;a href='http://qfox.nl/notes/81'&amp;gt;my rip&amp;lt;/a&amp;gt; on &amp;lt;a href='http://aptana.org' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;Aptana&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt; yesterday, I figured it's only fair to try and sum up what kind of IDE would satisfy me.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Right now I'm using a text editor ...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?82</guid>
				<pubDate>Thu, 28 Jan 2010 21:39:50 +0100</pubDate>
			</item>
				
			<item>
				<title>Aptana fail</title>
				<link>http://qfox.nl/notes?81</link>
				<description>I heard a lot of buzz about &amp;lt;a href='http://aptana.org/' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;Aptana&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt; lately and just had to try it. So far I've not been able to find a good Javascript IDE but this sounded very promising. As the title sugg...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?81</guid>
				<pubDate>Tue, 26 Jan 2010 21:29:52 +0100</pubDate>
			</item>
				
			<item>
				<title>JS Incremental Operator Flux</title>
				<link>http://qfox.nl/notes?80</link>
				<description>Javascript, like so many other languages, supports the unary incremental operator (++). It supports both the prefix and postfix versions.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Another blog post about &amp;lt;a href='http://webreflection.blogspot.co...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?80</guid>
				<pubDate>Wed, 20 Jan 2010 17:20:44 +0100</pubDate>
			</item>
				
			<item>
				<title>PHP Constants in Smarty</title>
				<link>http://qfox.nl/notes?79</link>
				<description>&amp;lt;a href='http://www.smarty.net/' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;Smarty&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt; is a good templating system. In my experience it lacks a bit of customizability, but so far I have been able to hold back on the urge of hacking it to do what I ...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?79</guid>
				<pubDate>Mon, 11 Jan 2010 23:10:34 +0100</pubDate>
			</item>
				
			<item>
				<title>Tile scroll demo</title>
				<link>http://qfox.nl/notes?78</link>
				<description>So I built &amp;lt;a href='http://tiledemo.qfox.nl' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;a fancy Javascript application&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt; where some actor moves around in the screen. When the actor hits an invisible border near the center, the background starts s...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?78</guid>
				<pubDate>Fri, 08 Jan 2010 20:04:16 +0100</pubDate>
			</item>
				
			<item>
				<title>Clean HTML</title>
				<link>http://qfox.nl/notes?77</link>
				<description>When I learned HTML about 12 years ago, I got this book from a friend about HTML 3. I learned about breaks and bold, about head and body and about font and blink.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;For me, it was just another langua...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?77</guid>
				<pubDate>Fri, 08 Jan 2010 19:15:47 +0100</pubDate>
			</item>
				
			<item>
				<title>Wrath of magic set</title>
				<link>http://qfox.nl/notes?76</link>
				<description>&amp;quot;Javascript&amp;quot; had it &amp;lt;a href='https://developer.mozilla.org/En/Core_JavaScript_1.5_Guide:Creating_New_Objects:Defining_Getters_and_Setters' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;for a while&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt; now but the new &amp;lt;a href='http://www.ecma-international.o...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?76</guid>
				<pubDate>Wed, 30 Dec 2009 19:38:03 +0100</pubDate>
			</item>
				
			<item>
				<title>JS animation</title>
				<link>http://qfox.nl/notes?75</link>
				<description>After creating the &amp;lt;a href='http://qfox.nl/notes?72' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;parallax demo&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt; I wanted to create an actual animation. But I suck at graphics so I figured I'd use an animation tutorial in flash and copy that to Ja...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?75</guid>
				<pubDate>Sat, 26 Dec 2009 10:58:59 +0100</pubDate>
			</item>
				
			<item>
				<title>Ajax script</title>
				<link>http://qfox.nl/notes?73</link>
				<description>&amp;lt;a href='http://qfox.nl/files/Ajax.107.js' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;This&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt; is a small Ajax script I use. It amounts to 8k uncompressed, make that 2.5k when &amp;lt;a href='http://fmarcia.info/jsmin/test.html' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;minified&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;a href='http://qfox...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?73</guid>
				<pubDate>Tue, 22 Dec 2009 17:30:50 +0100</pubDate>
			</item>
				
			<item>
				<title>Parallax effect</title>
				<link>http://qfox.nl/notes?72</link>
				<description>So after seeing Rom&amp;Atilde;&amp;iexcl;n Cort&amp;Atilde;&amp;copy;s' &amp;lt;a href='http://www.romancortes.com/blog/css-3d-meninas/' target='_blank' class='nurl'&amp;gt;&amp;lt;span class='redline'&amp;gt;&amp;lt;span class='cb'&amp;gt;parallax effect&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt; in pure HTML+CSS I thought to myself, that'd be easy in Javascript. So I made it my Xmas projec...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?72</guid>
				<pubDate>Tue, 22 Dec 2009 17:03:26 +0100</pubDate>
			</item>
				
			<item>
				<title>Vragenlijstje</title>
				<link>http://qfox.nl/notes?71</link>
				<description>Vragenlijstje die ik eens voor een sollicatieprocedure heb opgezet. Uiteindelijk besloten we om toch maar gewoon wat directe vragen te stellen :p&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Php&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;- Stel, je hebt 120 verschillende kla...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?71</guid>
				<pubDate>Fri, 11 Dec 2009 13:50:02 +0100</pubDate>
			</item>
				
			<item>
				<title>SVN vs GIT</title>
				<link>http://qfox.nl/notes?70</link>
				<description>Ok so we're at yet another crossroad where we can make some lasting decisions. The question at hand is do we keep using old SVN or should we switch to the ever so popular GIT?&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Lately I hear a lot o...</description>
				<author>Peter@van.der.Zee</author>
				<category>Tech</category>
				<guid>http://qfox.nl/weblog?70</guid>
				<pubDate>Wed, 09 Dec 2009 19:37:20 +0100</pubDate>
			</item>
						
	</channel>
</rss>
