<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

  <title>James Duncombe's </title>
  <subtitle>@profession</subtitle>
  
  <link href="http://jamesduncombe.com/" hreflang="en" rel="alternate" type="text/html" />
  
  <updated>2012-02-12T01:47:59+11:00</updated>
  <generator uri="http://staceyapp.com/" version="2.3.0">Stacey</generator>

  <author>
    <name>James Duncombe</name>
    <uri>http://jamesduncombe.com</uri>
  </author>

  <id>tag:jamesduncombe.com,2012:/feed/</id>
  <rights>©2012 James Duncombe</rights>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/jamesduncombe" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="jamesduncombe" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
   <title>What&amp;rsquo;s Brewing?</title>
   <id>tag:jamesduncombe.com,2012:/whats-brewing/</id>
   <updated>2012-01-13T00:31:47+11:00</updated>
   <link rel="alternate" type="text/html" href="http://jamesduncombe.com/whats-brewing/" />
   <content type="xhtml" xml:lang="en">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
				  <p>A collection of projects exploring the latest technology has to offer&amp;hellip;</p>

		
      </div>
   </content>
</entry>
    <entry>
   <title>PHP Wrapper for Paymo API</title>
   <id>tag:jamesduncombe.com,2012:/whats-brewing/php-wrapper-for-paymo-api/</id>
   <updated>2012-02-12T01:47:59+11:00</updated>
   <link rel="alternate" type="text/html" href="http://jamesduncombe.com/whats-brewing/php-wrapper-for-paymo-api/" />
   <content type="xhtml" xml:lang="en">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
				  <h1>PHP Wrapper for Paymo API</h1>

<p>I use a great time tracking bit of software called <a href="http://www.paymo.biz/">Paymo</a>. For a while now I've wanted to create
a PHP wrapper for it's API and I've finally got around to doing it. Please feel free to fork it on <a href="https://github.com/jamesduncombe/php-paymo-api-wrapper">GitHub</a>. I've also included the <a href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</a> config file which you can use to create documentation for the classes.</p>

<p><small><a href="http://people.mozilla.com/~jbalogh/ribbon/ribbon.html">Credit</a> for the GitHub CSS3 ribbon idea.</small></p>

<p><a href="https://github.com/jamesduncombe/php-paymo-api-wrapper" class="ribbon"><span>Fork me on GitHub</span></a></p>

		
      </div>
   </content>
</entry>
  
  <entry>
   <title>Sketches of Co'ordinates / Speed / Altitude</title>
   <id>tag:jamesduncombe.com,2012:/whats-brewing/sketches/</id>
   <updated>2012-02-12T01:42:30+11:00</updated>
   <link rel="alternate" type="text/html" href="http://jamesduncombe.com/whats-brewing/sketches/" />
   <content type="xhtml" xml:lang="en">
      <div xmlns="http://www.w3.org/1999/xhtml">
        		  <h1>Sketches of Co'ordinates / Speed / Altitude</h1>

<p>I really like data visualization so after discovering that my MacBook has inbuilt accelerometers I decided it would be cool to see whether I could use these to map a cars journey. For this I used <a href="http://processing.org">Processing</a>, a Python library for interrogating the MacBook's accelerometers called <a href="http://pypi.python.org/pypi/PyAppleSMS/1.0">PyAppleSMS</a> and an external Bluetooth GPS unit.</p>

<figure>
	<img src="http://jamesduncombe.com/content/1.whats-brewing//4.sketches/a24-altitude-and-speed.png" alt="The A24 mapped for altitude and speed" />
</figure>

<figure>
	<img src="http://jamesduncombe.com/content/1.whats-brewing//4.sketches/roundabout-1262011.png" alt="2 roundabouts mapped for roll" />	
</figure>

<p>The image above shows two roundabouts. The lines coming off at right angles show the roll of the car (using the MacBook's accelerometer. Speed (using the GPS unit) was shown using <span class="turquoise">turquoise</span> for fast, slowing to <span class="green">green</span> and <span class="orange">orange</span> for slow.</p>
		
		
      </div>
   </content>
</entry>
  
  <entry>
   <title>Cos &amp; Sin on Canvas</title>
   <id>tag:jamesduncombe.com,2012:/whats-brewing/cos-and-sin/</id>
   <updated>2012-02-12T01:42:54+11:00</updated>
   <link rel="alternate" type="text/html" href="http://jamesduncombe.com/whats-brewing/cos-and-sin/" />
   <content type="xhtml" xml:lang="en">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
				  <h1>Cos &amp; Sin on Canvas</h1>

<p>A quick demonstration of a bit of maths (cos &amp;amp; sin) on HTML5's canvas element.</p>

<p><canvas width="1000" height="500" /></p>

		
      </div>
   </content>
</entry>
  
  <entry>
   <title>iPod - HTML5/CSS3</title>
   <id>tag:jamesduncombe.com,2012:/whats-brewing/ipod/</id>
   <updated>2012-02-01T11:43:42+11:00</updated>
   <link rel="alternate" type="text/html" href="http://jamesduncombe.com/whats-brewing/ipod/" />
   <content type="xhtml" xml:lang="en">
      <div xmlns="http://www.w3.org/1999/xhtml">
        		  <aside>
	<h1><span>Pretty</span>iPoddie</h1>
	<h3>So, what can this thing do?</h3>
	<p>Well, it can do some of the things a real iPod can. It can skip tracks, pause, play, fast forward
	through tracks. It will autoplay tracks right through an album.</p>
	<p>Update 27/01/11 - Now supports some support for accelerometers on Black MacBook &amp; MacBook Pro under Firefox 3.6+</p>
	<h3>What's next?</h3>
	<p>Well, it would be cool to use some of Mozilla's new <a href="https://wiki.mozilla.org/Audio_Data_API">Audio Data API</a> extension.</p>
</aside>
<div id="ipod-body">
			
	<div id="ipod-screen">
		<div id="ipod-screen-top">
			<p />
			<div id="screen-icons">
				<div id="battery-indicator">
					<div id="nib" />
				</div>
			</div><!--/screen-icons-->
		</div><!--/ipod-screen-top-->
		<div id="container" /><!--/container-->
	</div><!--/ipod-screen-->
	
	<nav id="ipod-controls">
		<a href="#albums" id="control-menu" class="control">menu</a>
		<a href="#control-prev" id="control-prev" class="control">▮◀◀</a>
			<a href="#control-select" id="control-select" />
		<a href="#control-next" id="control-next" class="control">▮◀◀</a>
		<a href="#control-play" id="control-play" class="control">▶ <span>▮▮</span></a>	
	</nav><!--/ipod-controls-->

</div><!--/ipod-body-->
<div class="bg" />
		
				  

		
      </div>
   </content>
</entry>
  
  <entry>
   <title>Base64 Encoder</title>
   <id>tag:jamesduncombe.com,2012:/whats-brewing/base64/</id>
   <updated>2012-02-01T11:44:42+11:00</updated>
   <link rel="alternate" type="text/html" href="http://jamesduncombe.com/whats-brewing/base64/" />
   <content type="xhtml" xml:lang="en">
      <div xmlns="http://www.w3.org/1999/xhtml">
        		  <h1>Base64 it <span>beta</span></h1>

<p>Using the drag and drop API and <a href="https://developer.mozilla.org/en/DOM/FileReader">FileReader</a> to read a local image file and encode it to Base64 using the <a href="https://developer.mozilla.org/en/DOM/FileReader#readAsDataURL()">readAsDataURL</a> method... yeah, this is pretty geeky!</p>
	
<form action="" method="post" enctype="multipart/form-data">
	<fieldset>
		<input name="image" type="file" />
		<span id="browse-for-image">Browse for file</span>
		<span id="file-selected" />
		<button type="submit" value="Submit">Base it!</button>
	</fieldset>
</form>

<section><p>Drag n' Drop an image in here!</p></section>
			
<div id="output" />

		
				  

		
      </div>
   </content>
</entry>
  



</feed><!-- Stacey(2.3.0). -->

