<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss version="2.0">
    <channel>
        <title>Tuesday's Coming</title>
        <link>http://www.tuesdayscoming.com/</link>
        <description>Jamie Bicknell's Blog</description>
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/tuesdayscoming" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="tuesdayscoming" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
            <title>Thumbnail Creation via PHP</title>
            <description><![CDATA[<p>I got a bit tired of numerous security holes and sheer bulkiness of other thumbnail generation scripts, so decided to build my own from scratch, for local images only. Simply upload, create a writable cache directory and parse the image through the PHP script like so:</p><pre><code>&lt;img src='thumb.php?src=./images/photo.jpg&amp;size=400x300' /&gt;</code></pre><p>It's super simple and only 155 lines in total. You can specify the width and height, or just the width so the height will get calculated automatically and vice versa. It also allows you to set a maximum width/height, which is best suited for photo thumbnails.</p><p><strong>Features:</strong></p><ul><li>File based cache</li><li>Automatic deletion of expired cache files</li><li>Optional browser based cache via the IF&#95;MODIFIED&#95;SINCE HTTP header</li><li>Multiple size types</li><li>Options whether to crop, trim, zoom and set alignment</li><li>Set sharpness based on a percentage midpoint between two values, so you can specify the strength of the sharpness rather than just turning it on or off</li></ul><p><a href="http://github.com/jamiebicknell/Thumb.php">Check out the code and usage instructions on Github</a></p>]]></description>
            <guid>http://www.tuesdayscoming.com/18-Jul-2012/Thumbnail-Creation-via-PHP</guid>
            <link>http://www.tuesdayscoming.com/18-Jul-2012/Thumbnail-Creation-via-PHP</link>
            <pubDate>Wed, 18 Jul 2012 13:00:41 +0100</pubDate>
        </item>
        <item>
            <title>JavaScript Markdown Helper</title>
            <description><![CDATA[<p>What I love about Markdown is the simplicity of it, not needing to mess around with those rich text editors, all it needs is a standard plain old textarea. The annoying thing is when inputting code or creating lists, it doesn't preserve the indentation or list prefix when starting a new line.</p><p>So, I built my own Markdown helper script which when you hit the return key, it checks to see if the line is a bullet, numbered list, code block or blockquote and automatically indents and adds the Markdown syntax. If you hit return again on an empty line, it will remove that item and return to regular paragraph text.</p><p><a href="http://jamiebicknell.github.io/Markdown-Helper"><img src="http://www.tuesdayscoming.com/uploads/1333101623.jpg" alt="JavaScript Markdown Helper" /></a></p><p>It's a pretty lightweight script that's super easy to use, just include the JavaScript file and call the function via onKeyPress() on the textarea. Tried and tested in the usual Firefox 11, Safari 5, Chrome 18 and Internet Explorer 6 onwards.</p><p>You can <a href="http://jamiebicknell.github.io/Markdown-Helper">view the working example</a> or <a href="http://github.com/jamiebicknell/Markdown-Helper">fork the code on Github</a>.</p>]]></description>
            <guid>http://www.tuesdayscoming.com/30-Mar-2012/JavaScript-Markdown-Helper</guid>
            <link>http://www.tuesdayscoming.com/30-Mar-2012/JavaScript-Markdown-Helper</link>
            <pubDate>Fri, 30 Mar 2012 13:18:01 +0100</pubDate>
        </item>
        <item>
            <title>Toggle Switch Using a PNG Overlay</title>
            <description><![CDATA[<p>I was in need of a more robust and cross browser compatible toggle switch, so I though I'd approach it in a different way than your usual CSS3 switches.</p><p>My solution uses a semi transparent PNG overlay for the rounded rectangle, with an inner image which animates from left to right, and vice versa. The toggle can be triggered by either clicking the switch, or the accompanying label.</p><p><a href="http://jamiebicknell.github.io/Toggle-Switch"><img src="http://www.tuesdayscoming.com/uploads/1331733137.jpg" alt="Toggle Switch" /></a></p><p>The result is a jQuery powered, checkbox based toggle switch that looks and functions the same in most browsers, even IE6. It also has retina images for any iDevices that support them.</p><p>You can <a href="http://jamiebicknell.github.io/Toggle-Switch">view the working example</a> or <a href="http://github.com/jamiebicknell/Toggle-Switch">fork the code on Github</a>.</p>]]></description>
            <guid>http://www.tuesdayscoming.com/14-Mar-2012/Toggle-Switch-Using-a-PNG-Overlay</guid>
            <link>http://www.tuesdayscoming.com/14-Mar-2012/Toggle-Switch-Using-a-PNG-Overlay</link>
            <pubDate>Wed, 14 Mar 2012 17:09:13 +0000</pubDate>
        </item>
        <item>
            <title>Minecraft Avatar via PHP</title>
            <description><![CDATA[<p>Here's a little something I built for fun a while back, when I was more active on <a href="http://www.minecraft.net">Minecraft</a>. I wanted a real simple way to generate a user's Minecraft avatar from their skin, and be able to display at any size.</p><p><a href="http://github.com/jamiebicknell/Minecraft-Avatar"><img src="http://www.tuesdayscoming.com/uploads/1330012333.jpg" alt="Minecraft Avatar" /></a></p><p>It's as easy as this to use: </p><pre><code>&lt;img src='minecraft.php?u={username}&amp;s={size}' /&gt;</code></pre><p>What the script does is grabs their skin from the Minecraft server, copies the face and facial accessories only and merges them into an 8 x 8 image, then resizes to the specified size. If the username does not exist, then it uses the default skin, which is stored in a base64 encoded variable to save an extra cURL request.</p><p><a href="http://github.com/jamiebicknell/Minecraft-Avatar">Check out the code on Github</a></p>]]></description>
            <guid>http://www.tuesdayscoming.com/23-Feb-2012/Minecraft-Avatar-via-PHP</guid>
            <link>http://www.tuesdayscoming.com/23-Feb-2012/Minecraft-Avatar-via-PHP</link>
            <pubDate>Thu, 23 Feb 2012 16:21:33 +0000</pubDate>
        </item>
        <item>
            <title>Isle of Wight Photos</title>
            <description><![CDATA[<p>Last week I was on holiday in the Isle of Wight and used it as an ideal opportunity to take some photos. Below is one of my favorite photos of the week, which was taken at the Duver in Bembridge and shows the Bembridge beach and lifeboat station in the far distance.</p><p><a href="http://flic.kr/p/a6BnD5"><img src="http://farm7.static.flickr.com/6017/5970695106_dcfe4470f1.jpg" alt="The Duver, Bembridge" /></a></p><p>Another photo I was really happy with, is of the River Yar in Bembridge, taken just before dusk. I managed to get this great shot in between lots of bursts of rain which occurred throughout the week.</p><p><a href="http://flic.kr/p/a6y71V"><img src="http://farm7.static.flickr.com/6018/5970057213_de9dc4ea84.jpg" alt="River Yar, Bembridge" /></a></p><p>If you would like to see more photos from the Isle of Wight, please view my <a href="http://www.flickr.com/photos/jamiebicknell/sets/72157627269652598/">Flickr Photo Set</a>.</p>]]></description>
            <guid>http://www.tuesdayscoming.com/27-Jul-2011/Isle-of-Wight-Photos</guid>
            <link>http://www.tuesdayscoming.com/27-Jul-2011/Isle-of-Wight-Photos</link>
            <pubDate>Wed, 27 Jul 2011 17:40:50 +0100</pubDate>
        </item>
        <item>
            <title>XBOX Last Seen Widget</title>
            <description><![CDATA[<p><img src="http://tuesdayscoming.com/uploads/1309882319.jpg" alt="XBOX Last Seen Widget" /></p><p>Today I spent a little bit of time creating a tiny XBOX widget. It's a shame the XBOX Community Developer Program has taken so long for me to gain access to, so instead all the data is scraped from <a href="http://gamercard.xbox.com/en-US/rentedsmile.card">http://gamercard.xbox.com/en-US/rentedsmile.card</a>.</p><p>Usually I don't tend to rely on scraping to get my data, but since I have no access to their API I had no choice really. Also, the gamercard has so much hidden information, it's almost as if they expect you to scrape it.</p>]]></description>
            <guid>http://www.tuesdayscoming.com/05-Jul-2011/XBOX-Last-Seen-Widget</guid>
            <link>http://www.tuesdayscoming.com/05-Jul-2011/XBOX-Last-Seen-Widget</link>
            <pubDate>Tue, 05 Jul 2011 17:24:58 +0100</pubDate>
        </item>
        <item>
            <title>Bengal Cats</title>
            <description><![CDATA[<p>Finally managed to find some time to play around with my camera when visiting our friends at the weekend. Managed to get some pretty decent snaps of their awesome bengal cats. This rather dapper dudette below is Kiri</p><p><a href="http://flic.kr/p/9Yfw8a"><img src="http://farm6.static.flickr.com/5306/5887410823_89a648e4b4.jpg" alt="DSC_5016" /></a></p><p>Please feel free to check out my other photos of the bengals on <a href="http://www.flickr.com/photos/jamiebicknell/sets/72157627084354594/">Flickr</a></p>]]></description>
            <guid>http://www.tuesdayscoming.com/30-Jun-2011/Bengal-Cats</guid>
            <link>http://www.tuesdayscoming.com/30-Jun-2011/Bengal-Cats</link>
            <pubDate>Thu, 30 Jun 2011 16:15:31 +0100</pubDate>
        </item>
        <item>
            <title>Movie Lookup Sneak Preview</title>
            <description><![CDATA[<p>Following on from my previous post about a <a href="http://www.tuesdayscoming.com/10-May-2011/Movie-Catalogue-and-APIs">Movie Catalogue and APIs</a>, I've finally got round to coding the movie lookup / auto-complete tool that will be used to easily add movies into my database.</p><p><img src="http://www.tuesdayscoming.com/uploads/1307460077.jpg" alt="Movie Lookup Sneak Preview" /></p><p>It uses the built-in autocomplete method in jQuery UI, and queries my PHP script which grabs the search results from the Rotten Tomatoes API, strips out all the unnecessary data, and outputs the JSON.</p><p>Speed is a bit of an issue, and I would have it query the API directly instead of having to use a Intermediary script, but the API requires a key that's unique to me and needs to remain hidden, so sadly there's no room for improvement there.</p>]]></description>
            <guid>http://www.tuesdayscoming.com/07-Jun-2011/Movie-Lookup-Sneak-Preview</guid>
            <link>http://www.tuesdayscoming.com/07-Jun-2011/Movie-Lookup-Sneak-Preview</link>
            <pubDate>Tue, 07 Jun 2011 16:45:57 +0100</pubDate>
        </item>
        <item>
            <title>Movie Catalogue and APIs</title>
            <description><![CDATA[<p>I've always wanted somewhere I can catalog all my DVDs and Blu Rays. Somewhere I can instantly see what I've got, view movie details, rate them, and easily add new movies.</p><p>Extracting data from IMDB would be perfect but sadly, the IMDB API is out of reach for me with the annual membership cost in the low tens of thousands of dollars. However, lately I've discovered and been playing around with a mixture of the <a href="http://www.imdbapi.com">unofficial IMDB</a> API, <a href="http://www.rottentomatoes.com">Rotten Tomatoes</a> API and <a href="http://www.themoviedb.org">TMBd</a> API, all of which are very simple, have high usage allowances, and are completely free.</p><p>Rotten Tomatoes is by far looking the most stable, informative, and simple with movie look-ups as easy as this:</p><pre><code>http://api.rottentomatoes.com/api/public/v1.0/movies.json?apikey={API_KEY}&amp;q=I+Saw+The+Devil&amp;page_limit=1</code></pre><p>At the moment, I'm still in the 'playing around' stage, which will be quickly followed by the 'do I actually have enough free time to build it' stage. Maybe in the near future you may see some Dribbble shots of what I'm working on.</p><p>If you want to read up more on any of the API's mentioned, follow the links below:</p><ul><li><a href="http://www.imdb.com/interfaces">IMDB Interfaces</a></li><li><a href="http://www.imdbapi.com">Unofficial IMDB API</a></li><li><a href="http://developer.rottentomatoes.com/docs">Rotten Tomatoes API Documentation</a></li><li><a href="http://api.themoviedb.org/2.1/">The Movie DB API Documentation</a></li></ul>]]></description>
            <guid>http://www.tuesdayscoming.com/10-May-2011/Movie-Catalogue-and-APIs</guid>
            <link>http://www.tuesdayscoming.com/10-May-2011/Movie-Catalogue-and-APIs</link>
            <pubDate>Tue, 10 May 2011 18:02:09 +0100</pubDate>
        </item>
        <item>
            <title>Marwell Zoo</title>
            <description><![CDATA[<p>Yesterday, we took a rather short drive up to Marwell Zoo. I hadn't been since I was a little lad, and was nice to see how much had changed or stayed the same. Got some pretty decent pictures, but that's not surprising when you have some awesome subjects to photograph.</p><p>Here is my favourite from the day - It shows one of the snow leopards stretching after just waking from a little nap.</p><p><a href="http://flic.kr/p/9CiT4p"><img src="http://farm6.static.flickr.com/5144/5661736665_267ac15329.jpg" alt="DSC_4705" /></a></p><p>If you would like to see my other photos from my outing to the zoo, please check out the <a href="http://www.flickr.com/photos/jamiebicknell/sets/72157626593623074/">Photo Set</a> on Flickr</p>]]></description>
            <guid>http://www.tuesdayscoming.com/28-Apr-2011/Marwell-Zoo</guid>
            <link>http://www.tuesdayscoming.com/28-Apr-2011/Marwell-Zoo</link>
            <pubDate>Thu, 28 Apr 2011 16:52:45 +0100</pubDate>
        </item>
    </channel>
</rss>
