<?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>Full On Design</title>
	<atom:link href="http://www.fullondesign.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fullondesign.co.uk</link>
	<description>Mike Rogers&#039; Blog &#38; Portfolio</description>
	<lastBuildDate>Sun, 10 Mar 2013 11:45:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>How to use Twitter OAuth v1.1 with JavaScript/jQuery</title>
		<link>http://www.fullondesign.co.uk/coding/2516-how-use-twitter-oauth-1-1-javascriptjquery.htm</link>
		<comments>http://www.fullondesign.co.uk/coding/2516-how-use-twitter-oauth-1-1-javascriptjquery.htm#comments</comments>
		<pubDate>Mon, 25 Feb 2013 21:18:31 +0000</pubDate>
		<dc:creator>Mike Rogers</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=2516</guid>
		<description><![CDATA[<p>In March 2013 Twitter plans to retire version 1 of their REST API, however it&#8217;s replacement requires all requests to use OAuth signed headers. As a result if you&#8217;re using JavaScript to pull in a twitter feed to show on your website, you might be  in for a spot of bother. However I&#8217;ve put together [...]</p><p>The post <a href="http://www.fullondesign.co.uk/coding/2516-how-use-twitter-oauth-1-1-javascriptjquery.htm">How to use Twitter OAuth v1.1 with JavaScript/jQuery</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>In March 2013 <a href="https://dev.twitter.com/blog/planning-for-api-v1-retirement">Twitter plans to retire version 1</a> of their REST API, however it&#8217;s replacement requires all requests to use OAuth signed headers. As a result if you&#8217;re using JavaScript to pull in a twitter feed to show on your website, you might be  in for a spot of bother. However I&#8217;ve put together a little script which will allow you to remain using your JavaScript implementation, until you have time to move to the Twitter API 1.1 completely.</p>
<h2>The Code</h2>
<p>Create a file called twitter-proxy.php and place it somewhere publicly accessible on your server.</p>
<noscript><pre>&lt;?php

/**
 *  Usage:
 *  Send the url you want to access url encoded in the url paramater, for example (This is with JS): 
 *  /twitter-proxy.php?url='+encodeURIComponent('statuses/user_timeline.json?screen_name=MikeRogers0&amp;count=2')
*/

// The tokens, keys and secrets from the app you created at https://dev.twitter.com/apps
$config = array(
	'oauth_access_token' =&gt; 'token-here',
	'oauth_access_token_secret' =&gt; 'token-here',
	'consumer_key' =&gt; 'token-here',
	'consumer_secret' =&gt; 'token-here',
	'use_whitelist' =&gt; true, // If you want to only allow some requests to use this script.
	'base_url' =&gt; 'http://api.twitter.com/1.1/'
);

// Only allow certain requests to twitter. Stop randoms using your server as a proxy.
$whitelist = array(
	'statuses/user_timeline.json?screen_name=MikeRogers0&amp;count=10&amp;include_rts=false&amp;exclude_replies=true'=&gt;true
);

/*
* Ok, no more config should really be needed. Yay!
*/

// We'll get the URL from $_GET[]. Make sure the url is url encoded, for example encodeURIComponent('statuses/user_timeline.json?screen_name=MikeRogers0&amp;count=10&amp;include_rts=false&amp;exclude_replies=true')
if(!isset($_GET['url'])){
	die('No URL set');
}

$url = $_GET['url'];


if($config['use_whitelist'] &amp;&amp; !isset($whitelist[$url])){
	die('URL is not authorised');
}

// Figure out the URL parmaters
$url_parts = parse_url($url);
parse_str($url_parts['query'], $url_arguments);

$full_url = $config['base_url'].$url; // Url with the query on it.
$base_url = $config['base_url'].$url_parts['path']; // Url without the query.

/**
* Code below from http://stackoverflow.com/questions/12916539/simplest-php-example-retrieving-user-timeline-with-twitter-api-version-1-1 by Rivers 
* with a few modfications by Mike Rogers to support variables in the URL nicely
*/

function buildBaseString($baseURI, $method, $params) {
	$r = array();
	ksort($params);
	foreach($params as $key=&gt;$value){
	$r[] = &quot;$key=&quot; . rawurlencode($value);
	}
	return $method.&quot;&amp;&quot; . rawurlencode($baseURI) . '&amp;' . rawurlencode(implode('&amp;', $r));
}

function buildAuthorizationHeader($oauth) {
	$r = 'Authorization: OAuth ';
	$values = array();
	foreach($oauth as $key=&gt;$value)
	$values[] = &quot;$key=\&quot;&quot; . rawurlencode($value) . &quot;\&quot;&quot;;
	$r .= implode(', ', $values);
	return $r;
}

// Set up the oauth Authorization array
$oauth = array(
	'oauth_consumer_key' =&gt; $config['consumer_key'],
	'oauth_nonce' =&gt; time(),
	'oauth_signature_method' =&gt; 'HMAC-SHA1',
	'oauth_token' =&gt; $config['oauth_access_token'],
	'oauth_timestamp' =&gt; time(),
	'oauth_version' =&gt; '1.0'
);
	
$base_info = buildBaseString($base_url, 'GET', array_merge($oauth, $url_arguments));
$composite_key = rawurlencode($config['consumer_secret']) . '&amp;' . rawurlencode($config['oauth_access_token_secret']);
$oauth_signature = base64_encode(hash_hmac('sha1', $base_info, $composite_key, true));
$oauth['oauth_signature'] = $oauth_signature;

// Make Requests
$header = array(
	buildAuthorizationHeader($oauth), 
	'Expect:'
);
$options = array(
	CURLOPT_HTTPHEADER =&gt; $header,
	//CURLOPT_POSTFIELDS =&gt; $postfields,
	CURLOPT_HEADER =&gt; false,
	CURLOPT_URL =&gt; $full_url,
	CURLOPT_RETURNTRANSFER =&gt; true,
	CURLOPT_SSL_VERIFYPEER =&gt; false
);

$feed = curl_init();
curl_setopt_array($feed, $options);
$result = curl_exec($feed);
$info = curl_getinfo($feed);
curl_close($feed);

// Send suitable headers to the end user.
if(isset($info['content_type']) &amp;&amp; isset($info['size_download'])){
	header('Content-Type: '.$info['content_type']);
	header('Content-Length: '.$info['size_download']);

}

echo($result);
?&gt;</pre>
	twitter-proxy.php
	</noscript><script src="https://gist.github.com/5033286.js?file=twitter-proxy.php"> </script>
<p>Be sure to update the $config variable with the tokens, keys and secrets provided by Twitter when you create an <a href="https://dev.twitter.com/apps">app on their developer site</a> (this is free).</p>
<h2>Usage</h2>
<p>Usage is pretty simple, instead of pointing your JavaScript XML request to Twitter just point it to the file you created instead. For example:</p>
<noscript><pre>/*
 * Before code
*/
$.getJSON('http://api.twitter.com/1/statuses/user_timeline.json?screen_name=MikeRogers0&amp;count=2', function(d){
// Some magic here
}

/*
 * Change to 
*/
$.getJSON('/twitter-proxy.php?url='+encodeURIComponent('statuses/user_timeline.json?screen_name=MikeRogers0&amp;count=2'), function(d){
// Some magic here
}</pre>
	usage.js
	</noscript><script src="https://gist.github.com/5033286.js?file=usage.js"> </script>
<p>The post <a href="http://www.fullondesign.co.uk/coding/2516-how-use-twitter-oauth-1-1-javascriptjquery.htm">How to use Twitter OAuth v1.1 with JavaScript/jQuery</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/coding/2516-how-use-twitter-oauth-1-1-javascriptjquery.htm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update all the things!</title>
		<link>http://www.fullondesign.co.uk/news/projects/socialize-this/2513-update-all-the-things.htm</link>
		<comments>http://www.fullondesign.co.uk/news/projects/socialize-this/2513-update-all-the-things.htm#comments</comments>
		<pubDate>Fri, 01 Feb 2013 19:16:40 +0000</pubDate>
		<dc:creator>Mike Rogers</dc:creator>
				<category><![CDATA[Socialize This]]></category>
		<category><![CDATA[WP HTML5 Category Selector]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=2513</guid>
		<description><![CDATA[<p>I finally found a bit of time to update a few of my WordPress plugins, here is a quick summary of the changes. Socialize This &#8211; This is one of my oldest plugins, the update from 2.2.4 to 2.3.0 is mostly just a clean up of unnecessary UI linkage. Hopefully I should have version 3 finish by [...]</p><p>The post <a href="http://www.fullondesign.co.uk/news/projects/socialize-this/2513-update-all-the-things.htm">Update all the things!</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I finally found a bit of time to update a few of my WordPress plugins, here is a quick summary of the changes.</p>
<ul>
<li><a style="line-height: 13px;" href="http://wordpress.org/extend/plugins/socialize-this/">Socialize This</a><span style="line-height: 13px;"> &#8211; This is one of my oldest plugins, the update from 2.2.4 to 2.3.0 is mostly just a clean up of unnecessary UI linkage. Hopefully I should have version 3 finish by the summer (It&#8217;ll mostly be a recode from top to bottom).</span></li>
<li><a href="http://wordpress.org/extend/plugins/wp-html5-category-selector/">WP HTML5 Category Selector</a> &#8211; I removed a load of unnecessary code from the plugin &amp; the clear button. It now makes use of the search input type.</li>
<li><a href="http://wordpress.org/extend/plugins/gist-shortcode/">Gist Shortcode</a> &#8211; I&#8217;ve been using this on my site for a while now, I decided it was finally worth sharing you everyone.</li>
</ul>
<p>One of the main changes for all the above plugins is that I&#8217;m going to try &amp; use their GitHub repos as the main issue tracker &amp; develop them a bit more often.</p>
<p>The post <a href="http://www.fullondesign.co.uk/news/projects/socialize-this/2513-update-all-the-things.htm">Update all the things!</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/news/projects/socialize-this/2513-update-all-the-things.htm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stuff I&#8217;m going to use more in 2013</title>
		<link>http://www.fullondesign.co.uk/uncategorized/2507-stuff-im-going-learn-2012.htm</link>
		<comments>http://www.fullondesign.co.uk/uncategorized/2507-stuff-im-going-learn-2012.htm#comments</comments>
		<pubDate>Sun, 16 Dec 2012 22:08:26 +0000</pubDate>
		<dc:creator>Mike Rogers</dc:creator>
				<category><![CDATA[Bits & bytes]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=2507</guid>
		<description><![CDATA[<p>Bootstrap Twitters bootstrap has really grown on me in the last few months, while I still code front end sites with a &#8220;keep it as small as possible&#8221; approach, the efficiency gained when using bootstrap is awesome. PHP Frameworks I finally started getting into using frameworks this year (Once I got my head around MVC they started [...]</p><p>The post <a href="http://www.fullondesign.co.uk/uncategorized/2507-stuff-im-going-learn-2012.htm">Stuff I&#8217;m going to use more in 2013</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Bootstrap</h2>
<p><a href="http://twitter.github.com/bootstrap/">Twitters bootstrap</a> has really grown on me in the last few months, while I still code front end sites with a &#8220;keep it as small as possible&#8221; approach, the efficiency gained when using bootstrap is awesome.</p>
<h2>PHP Frameworks</h2>
<p>I finally started getting into using frameworks this year (Once I got my head around MVC they started clicking more &amp; more). <a href="http://www.yiiframework.com/">Yii</a> has been one of the frameworks I thought was pretty cool (mostly because you can build a site based on the database set up).</p>
<p>I reckon this year I&#8217;m going to move more towards <a href="http://framework.zend.com/">Zend</a> &amp; <a href="http://fuelphp.com/">FuelPHP</a> (maybe <a href="http://laravel.com/">Laravel</a> too).</p>
<h2>SASS/LESS</h2>
<p>I&#8217;ve really taken to using <a href="http://lesscss.org/">LESS</a> in most my projects this year, though I&#8217;ve been using it with <a href="http://incident57.com/codekit/">CodeKit</a> on my Mac which feels messy. I&#8217;m looking at setting up my stack so it just complies on the server on the fly &amp; caches on a CDN.</p>
<h2>Node.JS</h2>
<p>I&#8217;ve played a little with Node.js, it&#8217;s on my todo to use it more.</p>
<h2>iTunes U</h2>
<p>I love kicking back &amp; watching videos on my iPad. I&#8217;m going to try and make use of some of the videos on iTunes U this year.</p>
<h2>More Linux</h2>
<p>I&#8217;m currently on OSX, which is nice but too many of the updates cause issues. I&#8217;m pretty tempted to make Linux Mint/Pear OS my default OS.</p>
<p>The post <a href="http://www.fullondesign.co.uk/uncategorized/2507-stuff-im-going-learn-2012.htm">Stuff I&#8217;m going to use more in 2013</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/uncategorized/2507-stuff-im-going-learn-2012.htm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List current active connections on Mac OSX</title>
		<link>http://www.fullondesign.co.uk/coding/2483-list-current-active-connections-mac-osx.htm</link>
		<comments>http://www.fullondesign.co.uk/coding/2483-list-current-active-connections-mac-osx.htm#comments</comments>
		<pubDate>Tue, 20 Nov 2012 18:23:31 +0000</pubDate>
		<dc:creator>Mike Rogers</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=2483</guid>
		<description><![CDATA[<p>This is a handy little terminal script I&#8217;ve used a lot recently which lists the current active connections on OSX. It&#8217;s really handy for seeing if Apache / Node.js / Ruby stuff is running on ports correctly.</p><p>The post <a href="http://www.fullondesign.co.uk/coding/2483-list-current-active-connections-mac-osx.htm">List current active connections on Mac OSX</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>This is a handy little terminal script I&#8217;ve used a lot recently which lists the current active connections on OSX. It&#8217;s really handy for seeing if Apache / Node.js / Ruby stuff is running on ports correctly.</p>
<noscript><pre>lsof -i | grep -E &quot;(LISTEN|ESTABLISHED)&quot; </pre>
	currentConnections.sh
	</noscript><script src="https://gist.github.com/4119811.js"> </script>
<p>The post <a href="http://www.fullondesign.co.uk/coding/2483-list-current-active-connections-mac-osx.htm">List current active connections on Mac OSX</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/coding/2483-list-current-active-connections-mac-osx.htm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get better signal from the Virgin Media Super Hub</title>
		<link>http://www.fullondesign.co.uk/uncategorized/2437-getting-more-juice-out-of-virgin-media-super-hubs.htm</link>
		<comments>http://www.fullondesign.co.uk/uncategorized/2437-getting-more-juice-out-of-virgin-media-super-hubs.htm#comments</comments>
		<pubDate>Sun, 04 Nov 2012 22:26:35 +0000</pubDate>
		<dc:creator>Mike Rogers</dc:creator>
				<category><![CDATA[Bits & bytes]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=2437</guid>
		<description><![CDATA[<p>I&#8217;ve recently moved to my ISP over to Virgin Media, the download speed is pretty decent but the no-so-super hub they provide is pants. The super hub has terrible signal strength (standing 8m away from it lead to a 50% drop in download speed) &#38; it regularly dropped out. The only solution I could find online to get [...]</p><p>The post <a href="http://www.fullondesign.co.uk/uncategorized/2437-getting-more-juice-out-of-virgin-media-super-hubs.htm">How to get better signal from the Virgin Media Super Hub</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve recently moved to my ISP over to Virgin Media, the download speed is pretty decent but the no-so-super hub they provide is pants. The super hub has terrible signal strength (standing 8m away from it lead to a 50% drop in download speed) &amp; it regularly dropped out.</p>
<p><span id="more-2437"></span></p>
<p>The only solution I could find online to get decent signal was to change the super hub into Modem Mode than attach a decent router. I decided on the <a href="http://www.amazon.co.uk/gp/product/B002YETVTQ/ref=as_li_ss_tl?ie=UTF8&amp;camp=1634&amp;creative=19450&amp;creativeASIN=B002YETVTQ&amp;linkCode=as2&amp;tag=fulondes-21">TP-Link TL-WR1043ND</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.co.uk/e/ir?t=fulondes-21&amp;l=as2&amp;o=2&amp;a=B002YETVTQ" alt="" width="1" height="1" border="0" /> from Amazon (It&#8217;s was £43 or so) &amp; now my signal is almost 95% at the other side of my house with very little noticeable speed loss. If your on Virgin Media &amp; have a spare £40 you should give it a try. Below is a picture of my setup.</p>
<p><img class="aligncenter size-full wp-image-2475" title="superhub-with-better-router" src="http://cdn.fullondesign.co.uk/uploads/2012/11/superhub-with-better-router.jpg" alt="" width="500" height="697" /></p>
<p>The post <a href="http://www.fullondesign.co.uk/uncategorized/2437-getting-more-juice-out-of-virgin-media-super-hubs.htm">How to get better signal from the Virgin Media Super Hub</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/uncategorized/2437-getting-more-juice-out-of-virgin-media-super-hubs.htm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LivePage 1.4 &#8211; Backend rewrite, improved polling</title>
		<link>http://www.fullondesign.co.uk/news/projects/livepage/2440-livepage-1-4-improved-backend-priority-polling-higher-frequency-polling.htm</link>
		<comments>http://www.fullondesign.co.uk/news/projects/livepage/2440-livepage-1-4-improved-backend-priority-polling-higher-frequency-polling.htm#comments</comments>
		<pubDate>Mon, 08 Oct 2012 16:36:29 +0000</pubDate>
		<dc:creator>Mike Rogers</dc:creator>
				<category><![CDATA[LivePage]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=2440</guid>
		<description><![CDATA[<p>I&#8217;ve finally found some time to work on LivePage and implement a few improvements. The new version isn&#8217;t a big change visually, but backend wise it&#8217;s mostly been rewritten. You can download the most recent LivePage from the Chrome web store (free of course). Backend rewrite The previous engine was written over a rainy weekend, which [...]</p><p>The post <a href="http://www.fullondesign.co.uk/news/projects/livepage/2440-livepage-1-4-improved-backend-priority-polling-higher-frequency-polling.htm">LivePage 1.4 &#8211; Backend rewrite, improved polling</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve finally found some time to work on LivePage and implement a few improvements. The new version isn&#8217;t a big change visually, but backend wise it&#8217;s mostly been rewritten.</p>
<p>You can download the most recent LivePage from <a href="https://chrome.google.com/webstore/detail/pilnojpmdoofaelbinaeodfpjheijkbh">the Chrome web store</a> (free of course).</p>
<p><span id="more-2440"></span></p>
<h2>Backend rewrite</h2>
<p>The previous engine was written over a rainy weekend, which meant the code became a little unmanageable over time. One of the main changes was rewriting the backend with a strong Object Oriented focus, as a result the code is much more manageable &amp; has decent comments.</p>
<h2>Priority polling</h2>
<p>LivePage now polls the file which previously updated more frequently, so if your working on a single css file you should see what you save quicker.</p>
<h2>Higher frequency polling</h2>
<p>The new engine has more efficient code, as a resource on a pages resources can be polled at much higher rate (In a test, I managed to about 1500 polls per minute on the fastest (25ms) setting). As a result of this, I tweaked the default polling rate to 200ms from 750ms and changed the option list to a range field in the options page.</p>
<p>The post <a href="http://www.fullondesign.co.uk/news/projects/livepage/2440-livepage-1-4-improved-backend-priority-polling-higher-frequency-polling.htm">LivePage 1.4 &#8211; Backend rewrite, improved polling</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/news/projects/livepage/2440-livepage-1-4-improved-backend-priority-polling-higher-frequency-polling.htm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LivePage 1.3 &#8211; LESS, entire domain &amp; file:// support</title>
		<link>http://www.fullondesign.co.uk/news/projects/livepage/2404-livepage-1-3-less-entire-domain-file-support.htm</link>
		<comments>http://www.fullondesign.co.uk/news/projects/livepage/2404-livepage-1-3-less-entire-domain-file-support.htm#comments</comments>
		<pubDate>Fri, 03 Aug 2012 21:41:21 +0000</pubDate>
		<dc:creator>Mike Rogers</dc:creator>
				<category><![CDATA[LivePage]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=2404</guid>
		<description><![CDATA[<p>I&#8217;ve just finished typing out the last few lines of code for LivePage 1.3, and it&#8217;s pretty slick. As side from adding a few of the requested features, I also tidied up the code a little &#38; made a few performance tweaks. You can download LivePage from the Chrome web store (free of course). Some [...]</p><p>The post <a href="http://www.fullondesign.co.uk/news/projects/livepage/2404-livepage-1-3-less-entire-domain-file-support.htm">LivePage 1.3 &#8211; LESS, entire domain &#038; file:// support</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve just finished typing out the last few lines of code for LivePage 1.3, and it&#8217;s pretty slick. As side from adding a few of the requested features, I also tidied up the code a little &amp; made a few performance tweaks.</p>
<iframe width="600" height="338" src="https://www.youtube.com/embed/XE1tPf0kf-8?rel=0" frameborder="0" class="embeded-video" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
<p>You can download <a href="https://chrome.google.com/webstore/detail/pilnojpmdoofaelbinaeodfpjheijkbh">LivePage from the Chrome web store</a> (free of course). Some of it&#8217;s key new features have been described a bit more below.</p>
<p><span id="more-2404"></span></p>
<h2>Less</h2>
<p><a href="http://lesscss.org/">LESS</a> is my favourite CSS preprocessing tool. So I want to introduce as many people to it as possible. So LivePage will now monitor LESS files on the page for changes &amp; load their changes without a page refresh.</p>
<p>LivePage 1.3 currently ships with LESS version 1.3.0, as new versions are released I&#8217;ll updated LivePage and push out an update after testing. By default LivePage will monitor for LESS style sheets.</p>
<h2>Entire domains can be live</h2>
<p>One of the original feature I pulled until I could perfect the implementing was making entire domains &#8220;live&#8221;. So say your developing on the domain example.local, and you click to LivePage button, every page being served from example.local will be live.</p>
<p>This feature is off by default as I didn&#8217;t want to have a major UX change for current users of LivePage.</p>
<h2>file://</h2>
<p>Supporting the file:// protocol was a tad tricky, as a result LivePage needs an extra permission. But it&#8217;s worth it to be able to quickly drag and drop files into your browser and start editing them in real time.</p>
<p>To use this feature make sure on the extension page (chrome://chrome/extensions/), you have ticked &#8220;Allow access to file URLs &#8221; for the LivePage extension. </p>
<p><a href="http://cdn.fullondesign.co.uk/uploads/2012/08/allow-access-to-files.jpg"><img src="http://cdn.fullondesign.co.uk/uploads/2012/08/allow-access-to-files.jpg" alt="" title="allow-access-to-files" width="600" height="130" class="aligncenter size-full wp-image-2421" /></a></p>
<p>The post <a href="http://www.fullondesign.co.uk/news/projects/livepage/2404-livepage-1-3-less-entire-domain-file-support.htm">LivePage 1.3 &#8211; LESS, entire domain &#038; file:// support</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/news/projects/livepage/2404-livepage-1-3-less-entire-domain-file-support.htm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 tips for traveling with Android smartphones</title>
		<link>http://www.fullondesign.co.uk/uncategorized/2370-traveling-with-android.htm</link>
		<comments>http://www.fullondesign.co.uk/uncategorized/2370-traveling-with-android.htm#comments</comments>
		<pubDate>Thu, 19 Jul 2012 08:56:38 +0000</pubDate>
		<dc:creator>Mike Rogers</dc:creator>
				<category><![CDATA[Bits & bytes]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=2370</guid>
		<description><![CDATA[<p>I recently spent a month backpacking around western Europe. I didn&#8217;t want to take my MacBook Pro with me (The kerfuffle with insurance if it was stolen outweighed my need for it), so my main source of information was my HTC Desire S. Here are a few notes on stuff I found was useful. 1. Improving battery life One [...]</p><p>The post <a href="http://www.fullondesign.co.uk/uncategorized/2370-traveling-with-android.htm">5 tips for traveling with Android smartphones</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I recently spent a month backpacking around western Europe. I didn&#8217;t want to take my MacBook Pro with me (The kerfuffle with insurance if it was stolen outweighed my need for it), so my main source of information was my <a href="http://www.htc.com/www/smartphones/htc-desire-s/">HTC Desire S</a>. Here are a few notes on stuff I found was useful.</p>
<h2>1. Improving battery life</h2>
<p>One of the main let downs with Android is the crapware networks &amp; manufactures put on the handset (in most cases you can&#8217;t even uninstall it). So I rooted my phone &amp; put <a href="http://www.cyanogenmod.com/">CyanogenMod</a> on it. Removing the unused apps gave me about 25% more battery per day.</p>
<p>I also put my phone in Airplane mode when I wasn&#8217;t using it. I found having my phone in airplane mode used about 1/20 of the battery it would have if I didn&#8217;t have airplane mode on.</p>
<h2>2. Improve security</h2>
<p>I was fairly paranoid about losing my phone, or my data while I was away. Here are a three apps &amp; one technique I used to keep myself a little safer.</p>
<h3>Prey</h3>
<p><a href="http://preyproject.com/">Prey</a> lets you keep track of your stolen device via a web interface &amp; in some cases you can take pictures of the people who have taken it. It&#8217;s also free, so this seemed like a no brainer.</p>
<h3>SugarSync</h3>
<p>I didn&#8217;t want to lose my photos, so I set up <a href="https://www.sugarsync.com/referral?rf=bvzwfmawhdkjh&amp;utm_source=website&amp;utm_medium=web&amp;utm_campaign=referral&amp;shareEvent=1204296">SugarSync</a> to backup the photos I took while I was away, so if I did lose my phone, my photos will still be ok. It also meant that when I was home, my Mac had the photos I had taken already on it ready for me to sort through.</p>
<h3>Set DNS</h3>
<p>I used a a few shared wireless hotspots, quite a few of these offered some pretty interesting DNS servers. So I used <a href="https://play.google.com/store/apps/details?id=uk.co.mytechie.setDNS&amp;hl=en">Set DNS</a> for rooted android phones to change the DNS servers to the one offered by Google (8.8.8.8, 8.8.4.4).</p>
<h3>VPN</h3>
<p>I also used a private VPN while I was traveling mostly because I wanted to keep my data secure from anyone listening over wifi or mobile network connections. If you have a VPS, you can install <a href="http://blog.ninjahideout.com/posts/osx-ubuntu-and-openvpn-in-5-minutes">OpenVPN</a> pretty easily (though make sure your VPS provider is ok about it).</p>
<h2>3. Finding my way around</h2>
<p>Before I went away, I was given a couple of books to help find my way about. However, carrying a big book around a city during the day seemed a little silly. Here are a few apps I used to help find my way around.</p>
<h3>Google maps</h3>
<p>Google maps was pretty handy to find my way around town, I also found it was pretty handy to make &#8220;My Places&#8221; map in google maps  to save a few useful locations (Like my hostel &amp; cool things to do during the day). That said, google maps didn&#8217;t cache the maps I made, so I had to keep downloading them every time I wanted to check it.</p>
<h3>TripAdvisor &amp; Lonely Planet</h3>
<p>I found the <a href="https://play.google.com/store/apps/developer?id=TripAdvisor">TripAdvisor</a> / <a href="https://play.google.com/store/apps/developer?id=Lonely+Planet,+Inc.">Lonely Planet</a> app guides really useful, they listed the top things to do &amp; all the data it needed (about 32mb per city) was downloaded on wifi so it didn&#8217;t eat to much data.</p>
<h3>FourSquare</h3>
<p><a href="https://play.google.com/store/apps/details?id=com.joelapenna.foursquared">FourSquare</a> was really handy for finding awesome places around the cities, though reading the reviews &amp; checking in ate lots of data.</p>
<h2>4. Dealing with data</h2>
<p>Even with lower data roaming prices within Europe, the price of sending the odd tweet or checking google maps was silly. So I picked up a prepaid data sim (it&#8217;s pretty easy to walk into a phone shop and ask for one, they should only cost a few euros for 1GB data) and used a <a href="http://www.amazon.co.uk/gp/product/B005SV2H9I/ref=as_li_ss_tl?ie=UTF8&amp;camp=1634&amp;creative=19450&amp;creativeASIN=B005SV2H9I&amp;linkCode=as2&amp;tag=fulondes-21">Micro Sim Adaptor</a> to make it work with my phone.</p>
<p>In most cities the signal was pretty awesome, I could download at about 100kb/s. That said, you may want to look into a picking up a <a href="http://www.amazon.co.uk/gp/product/B005KLOLM2/ref=as_li_ss_tl?ie=UTF8&amp;camp=1634&amp;creative=19450&amp;creativeASIN=B005KLOLM2&amp;linkCode=as2&amp;tag=fulondes-21">unlocked MiFi</a> to get more out of your SIM.</p>
<h2>5. Making calls on the cheap</h2>
<p>Calling &amp; texting while traveling looked friggin expensive! However with the data sim I had &amp; jumping onto free wifi, I used <a href="http://www.viber.com/">Viber</a> (It&#8217;s like Skype, but not a bloated OTT POS) to make calls &amp; message people.</p>
<p>The post <a href="http://www.fullondesign.co.uk/uncategorized/2370-traveling-with-android.htm">5 tips for traveling with Android smartphones</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/uncategorized/2370-traveling-with-android.htm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m going to be a Spain.js this summer (+ other things)</title>
		<link>http://www.fullondesign.co.uk/uncategorized/2364-im-going-spain-js-summer-other-things.htm</link>
		<comments>http://www.fullondesign.co.uk/uncategorized/2364-im-going-spain-js-summer-other-things.htm#comments</comments>
		<pubDate>Tue, 03 Jul 2012 14:45:48 +0000</pubDate>
		<dc:creator>Mike Rogers</dc:creator>
				<category><![CDATA[Bits & bytes]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=2364</guid>
		<description><![CDATA[<p>Just a quick heads up, I&#8217;m planning to attend Spain.js this July &#38; explore a bit a europe while I&#8217;m there. I&#8217;ve made a quick google map so you can see where I should be  on a given date You can follow my travels, by searching #Holi2012 / @MikeRogers0 on Twitter.</p><p>The post <a href="http://www.fullondesign.co.uk/uncategorized/2364-im-going-spain-js-summer-other-things.htm">I&#8217;m going to be a Spain.js this summer (+ other things)</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Just a quick heads up, I&#8217;m planning to attend <a href="http://spainjs.org/">Spain.js</a> this July &amp; explore a bit a europe while I&#8217;m there.</p>
<p>I&#8217;ve made a quick <a href="http://www.fullondesign.co.uk/summer-2012/">google map</a> so you can see where I should be  on a given date <img src='http://www.fullondesign.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You can follow my travels, by searching <a href="https://twitter.com/search/realtime/%23Holi2012%20from%3AMikeRogers0">#Holi2012 / @MikeRogers0</a> on Twitter.</p>
<p>The post <a href="http://www.fullondesign.co.uk/uncategorized/2364-im-going-spain-js-summer-other-things.htm">I&#8217;m going to be a Spain.js this summer (+ other things)</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/uncategorized/2364-im-going-spain-js-summer-other-things.htm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with Git</title>
		<link>http://www.fullondesign.co.uk/coding/git/2228-getting-started-git.htm</link>
		<comments>http://www.fullondesign.co.uk/coding/git/2228-getting-started-git.htm#comments</comments>
		<pubDate>Tue, 26 Jun 2012 09:38:22 +0000</pubDate>
		<dc:creator>Mike Rogers</dc:creator>
				<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=2228</guid>
		<description><![CDATA[<p>Git is a really powerful piece of version control software. Here is a short crash course on how to get started  on it, I presented at the University of Portsmouth in April 2012. What is version control? Version control allows you to keep changes to files organised. What makes Git so great? Git is really [...]</p><p>The post <a href="http://www.fullondesign.co.uk/coding/git/2228-getting-started-git.htm">Getting started with Git</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Git is a really powerful piece of version control software. Here is a short crash course on how to get started  on it, I presented at the University of Portsmouth in April 2012.</p>
<iframe src="http://player.vimeo.com/video/42888074?portrait=0" width="600" height="338" frameborder="0" class="embeded-video" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<p><span id="more-2228"></span></p>
<h2>What is version control?</h2>
<p>Version control allows you to keep changes to files organised.</p>
<h2>What makes Git so great?</h2>
<ul>
<li>Git is really fast, mostly because it keeps a database on your local machine.</li>
<li>Git is great for collaborative changes to files, so it&#8217;s great for teams.</li>
<li>Distributed. Git uses remotes, so I can push to a main repo or I can push to my mates a repo.</li>
<li>Adds a .git folder in the root of the git folder as a database, so unlike SVN it will not add a .git folder to each folder in your tree.</li>
<li>You can commit parts of a file to staging you have worked on for better peer review.</li>
<li>Git doesn&#8217;t delete anything, so it&#8217;s almost impossible to lose stuff you&#8217;ve worked on.</li>
</ul>
<h2>Setting up Git (&amp; SSH Keys)</h2>
<p>GitHub have written a really good tutorial on<a href="http://help.github.com/set-up-git-redirect/"> setting up Git on your OS</a>. For the most part, just you need to run through the installer using the default options.</p>
<h2>Cloning a Repo</h2>
<p>Cloning a repo will copy it&#8217;s files &amp; history to your machine. Most git repos will provide you with a URL like &#8216;git@github.com:MikeRogers0/siteng.in&#8212;SiteEngines-Site.git&#8217;. The &#8216;foldername&#8217; is the directory you wish to clone to.</p>
<p>git clone URL foldername</p>
<h2>Reviewing &amp; Staging Changes</h2>
<p>Once you have some some edits, you can stage them (Add them into version control with a brief message about what you have done).</p>
<p># Add all the new files in the repo into the next commit.<br />
git add .</p>
<p>git commit -m &#8216;Message Here&#8217;</p>
<p>or</p>
<p>git commit -a -m &#8216;Message here&#8217;</p>
<h2>Branches</h2>
<p>Branches are really powerful, they allow you to work on features independent from other peoples work. So for example, you could have someone adding a new feature to a site while the CSS is being edited in another branch &amp; you will not overwrite each others work. When your happy that the feature is done you can than merge is back into your master brach &amp; deploy it.</p>
<p>Review the branches available<br />
git branch</p>
<p>Change branch<br />
git checkout branchname</p>
<p>Make a new branch<br />
git checkout -b branchname</p>
<h2>Merging</h2>
<p>Git is really good at looking at changes in different versions of a file &amp; merging them together as to not cause errors.</p>
<p>git checkout master; git merge branchname;</p>
<h2>Pushing Changes</h2>
<p>Pushing a branch updates a remote repo.</p>
<p>git push</p>
<h2>Pulling changes</h2>
<p>Pulling changes will fetch what others have pushed to a repo &amp; merge them into your local git repo.</p>
<p>git pull</p>
<p>or</p>
<p>git fetch; git merge origin/branchname</p>
<h2>Useful videos</h2>
<ul>
<li><a href="http://www.youtube.com/watch?v=ZDR433b0HJY">Introduction to Git with Scott Chacon of GitHub</a></li>
<li><a href="http://git-scm.com/videos">Quick start videos from Git-scm</a></li>
<li><a href="http://www.arlocarreon.com/blog/git/deploying-your-git-repo-to-arvixe-web-hosting/">Deploying Your Git Repo To Arvixe Web Hosting</a></li>
</ul>
<p>The post <a href="http://www.fullondesign.co.uk/coding/git/2228-getting-started-git.htm">Getting started with Git</a> appeared first on <a href="http://www.fullondesign.co.uk">Full On Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/coding/git/2228-getting-started-git.htm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
