<?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>GoSquared - Blog &#187; Tutorials</title>
	<atom:link href="http://www.gosquared.com/liquidicity/archives/category/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gosquared.com/liquidicity</link>
	<description>The blog on design and technology by GoSquared</description>
	<lastBuildDate>Fri, 03 Feb 2012 14:17:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Using GoSquared Trends in your OS X Menubar</title>
		<link>http://www.gosquared.com/liquidicity/archives/1845</link>
		<comments>http://www.gosquared.com/liquidicity/archives/1845#comments</comments>
		<pubDate>Wed, 23 Mar 2011 13:21:45 +0000</pubDate>
		<dc:creator>James Gill</dc:creator>
				<category><![CDATA[liquidicity]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[App]]></category>
		<category><![CDATA[Easy]]></category>
		<category><![CDATA[Fluid]]></category>
		<category><![CDATA[GoSquared]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Menubar]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Quick]]></category>
		<category><![CDATA[Stats]]></category>
		<category><![CDATA[Trends]]></category>

		<guid isPermaLink="false">http://www.gosquared.com/liquidicity/?p=1845</guid>
		<description><![CDATA[Guest Post This is a guest post from one of our part-time interns &#8211; Zak Auerbach (@zaksoup) Want to work at GoSquared? See our open positions now! Set up Fluid First, go grab yourself a copy of Fluid for OS X completely free. Learn more about Fluid. Fluid lets you create â€œsite specific browsersâ€, essentially [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.gosquared.com/images/liquidicity/11_03_23_trendsfluid_790x200.jpg" alt="GoSquared Trends - real-time website analytics on your desktop with OS X." /></p>
<div class="guestpost_intro">
<h4>Guest Post</h4>
<p>This is a guest post from one of our part-time interns &#8211; <strong>Zak Auerbach</strong> (@<a href="http://twitter.com/zaksoup">zaksoup</a>)</p>
<p class="smallprint">Want to <a href="http://www.gosquared.com/jobs/">work at GoSquared</a>? See our <a href="http://www.gosquared.com/jobs/">open positions</a> now!</p>
</div>
<h3>Set up Fluid</h3>
<p>First, go grab yourself a copy of Fluid for OS X completely free. <a href="http://fluidapp.com/">Learn more about Fluid</a>. Fluid lets you create â€œsite specific browsersâ€, essentially a browsers that are dedicated to individual sites that you can run as if they&#8217;re a native app on Mac OS X. Once youâ€™ve downloaded Fluid, start it up, and youâ€™ll see a window asking you for a URL and icon.</p>
<p><span id="more-1845"></span></p>
<p><img src="http://static.gosquared.com/images/liquidicity/11_03_23_trendfluidblank_01.png" alt="Fill in Fluid's application settings for using GoSquared Trends" /></p>
<p>Simply fill in the fields with the following details. In the URL field, fill in &#8220;www.gosquared.com&#8221; (including www) if you want to ensure you can access Trends and related pages like the sign in screen. You can <a href="http://static.gosquared.com/images/trends/icon/menubar_01_16x16.png" title="Download icon for GoSquared Trends">download a custom icon</a> (the GoSquared logo), otherwise, Fluid will use the GoSquared site favicon. It&#8217;s up to you.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/11_03_23_trendsfluidcomplete_01.png" alt="The details filled in to get up and running with Trends in Fluid" /></p>
<p>I chose to call my app GoSquared Trends, but you can call it whatever you feel like. Go crazy. Create the app, and choose to launch it. The first thing you see will be the main GoSquared website page. Sign in, and navigate to the Trends page you want to have in your menubar.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/11_03_23_trendsfluid_01.png" alt="Tredns running as a standard Fluid application" width="790" /></p>
<h3>Put it in the menubar</h3>
<p>Now, go to the main app menu, and select â€œ<b>convert to menuextra SSB</b>â€.</p>
<p>The app will relaunch in your menubar. You will be prompted to log in once more, and then youâ€™re done! You can choose to log in each time, or check the â€œkeep me signed inâ€ box to stay signed in when you quit the app.</p>
<p><img style="padding-left: 10px;" src="http://static.gosquared.com/images/liquidicity/11_03_23_trensmenufluid_01.png" alt="Trends menu in OS X" /></p>
<p>If everything went well you should have GoSquared Trends for your site in your menubar for your obsessive stat checking pleasure.</p>
<p><img style="padding-left: 10px;" src="http://static.gosquared.com/images/liquidicity/11_03_23_trendsinmenubar_01.png" alt="Presto! GoSquared Trends running as a Fluid app in your menubar. Grab your stats any time of the day with one click." /></p>
<p>Don&#8217;t have GoSquared yet? <a href="https://www.gosquared.com/plans/">Sign up for a 30 day free trial</a> now, to get both <a href="http://www.gosquared.com/livestats/">LiveStats</a> and <a href="http://www.gosquared.com/trends/">Trends</a> for just $9.99 per month.</p>
<div class="guestpost_intro">
<h4>Guest Post</h4>
<p>This is a guest post from one of our part-time interns &#8211; <strong>Zak Auerbach</strong> (@<a href="http://twitter.com/zaksoup">zaksoup</a>)</p>
<p class="smallprint">Want to <a href="http://www.gosquared.com/jobs/">work at GoSquared</a>? See our <a href="http://www.gosquared.com/jobs/">open positions</a> now! Learn more <a href="http://www.gosquared.com/about/">about GoSquared</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.gosquared.com/liquidicity/archives/1845/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Developers &#8211; Using AWS tags for Instance Identification</title>
		<link>http://www.gosquared.com/liquidicity/archives/1772</link>
		<comments>http://www.gosquared.com/liquidicity/archives/1772#comments</comments>
		<pubDate>Mon, 28 Feb 2011 11:16:53 +0000</pubDate>
		<dc:creator>Geoff Wagstaff</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Help Sheets]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[bashrc]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[hostnames]]></category>
		<category><![CDATA[identification]]></category>
		<category><![CDATA[instance]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tagging]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://www.gosquared.com/liquidicity/?p=1772</guid>
		<description><![CDATA[A few months ago, AWS introduced an extremely useful little feature to their consistently developing EC2 platform: Instance Tagging. Before tags, it was relatively tricky to define a clear instance nomenclature, forcing you to implement a vague approach using security groups if you wanted something close to the same functionality. Since there is also a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.gosquared.com/images/liquidicity/09_12_06_geoffdev_790x100.jpg" alt="Develop with Geoff at GoSquared" title="Develop with Geoff at GoSquared" width="790" height="100" class="size-full wp-image-1105" /></p>
<p>A few months ago, AWS introduced an extremely useful little feature to their consistently developing EC2 platform: <a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/Using_Tags.html">Instance Tagging</a>. Before tags, it was relatively tricky to define a clear instance nomenclature, forcing you to implement a vague approach using <a href="http://shlomoswidler.com/2009/06/tagging-ec2-instances-using-security_30.html">security groups</a> if you wanted something close to the same functionality. Since there is also a full API surrounding tags, they can be put to work in many useful ways.</p>
<h3>Naming instances</h3>
<p>Besides attaching up to ten custom nuggets of arbitrary data to instances, tags can be extremely handy when it comes to naming your EC2 instances, and more importantly, using these names to differentiate between instances and their roles. For example, you have three instances. One holds your master database and website, the second is a slave database in replication, and the third is a staging/test server. You&#8217;ll want to make pretty damn sure that when you&#8217;re SSH&#8217;d into all three of your instances, the commands you send are received by the intended recipient server.<br />
<span id="more-1772"></span><br />
In the EC2 management console, you can define a tag key for an instance which is then mapped to a value. There is a default tag key called &#8220;Name&#8221;. In the value for that &#8220;Name&#8221; key, you can type in the name you want to assign to that instance. For our servers in this example we can call the master server master-0, the slave server slave-0, and the staging server staging-0. I like this naming system because on the left of the hyphen you can define the type or classification of that server representing the role it performs, and the number following the hyphen can be incremented for each server of the same type, therefore acting as a unique ID for each server. </p>
<p>Conveniently, you can define which of these tags become a column in the table listing all of your instances. If you have a large number of instances, having this custom column for tags present can make it far quicker to find the instance you&#8217;re looking for at a glance, rather than trying to derive the right one from all of the other parameters displayed.</p>
<p><a href="http://www.gosquared.com/liquidicity/wp-content/uploads/2011/02/aws_columns.png"><img style="padding-left: 10px;" src="http://www.gosquared.com/liquidicity/wp-content/uploads/2011/02/aws_columns.png" alt="" title="aws_columns" width="637" height="380" class="alignnone size-full wp-image-1780" /></a></p>
<h3>Doing some magic with .bashrc</h3>
<p>I am a big fan of customising the bash prompt so that it displays only useful contextual information I need to know when I send commands. One of the problems I came across whilst working simultaneously on multiple instances is making sure I am sending commands to the correct one. Sure, most bash prompts include the server&#8217;s hostname in the prompt, but beware &#8211; there are flaws with this. For example, if you reboot an EBS-backed instance, the hostname it shows is not necessarily the one it is operating from. I needed something more definitive than that.</p>
<p>Here&#8217;s some example code you can place in your .bashrc file to display the instance ID and server name in the command prompt:</p>
<p><code>INSTANCEID=`curl -s http://169.254.169.254/latest/meta-data/instance-id`<br />
SERVER_IDENTIFIER=$INSTANCEID<br />
SERVER_TAG=0<br />
if [ -f /var/opt/server-tag ]; then<br />
    SERVER_TAG=`cat /var/opt/server-tag`<br />
    SERVER_IDENTIFIER="$SERVER_TAG:$SERVER_IDENTIFIER"<br />
fi<br />
if [ "$color_prompt" = yes ]; then<br />
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@${SERVER_IDENTIFIER}\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '<br />
else<br />
    PS1='${debian_chroot:+($debian_chroot)}\u@${SERVER_IDENTIFIER}:\w\$ '<br />
fi<br />
unset color_prompt force_color_prompt</code></p>
<p>The great thing about this bashrc code is that if you have a file saved at /var/opt/server-tag which contains the server&#8217;s tagged name, the prompt will look something like this:</p>
<p><a href="http://www.gosquared.com/liquidicity/wp-content/uploads/2011/02/command_prompt.png"><img style="padding-left: 10px;" src="http://www.gosquared.com/liquidicity/wp-content/uploads/2011/02/command_prompt.png" alt="" title="command_prompt" width="237" height="19" class="alignnone size-full wp-image-1781" /></a></p>
<p>That prompt clearly defines that I am working as user Ubuntu on a server called Node#1 with instance ID of i-b92990d5, so I don&#8217;t need to think twice about that.</p>
<h3>Using tags as hostnames</h3>
<p>Now that we have named our instances using tags, we can turn them into hostnames so we can address them directly in our scripts, avoiding the need for expensive lookups against Amazon&#8217;s API to find server internal IPs. I&#8217;ve written a simple script to add entries to the /etc/hosts file for each of your instances that have a tag called &#8220;Name&#8221;. The value in this &#8220;Name&#8221; tag will become that server&#8217;s hostname, which then forwards to its internal IP address. While we&#8217;re at it, we also create the aforementioned /var/opt/server-tag file so our .bashrc script can display the server name in the command prompt. Note this script requires the <a href="http://docs.amazonwebservices.com/AWSSDKforPHP/latest/">AWS SDK for PHP</a> and because we&#8217;re modifying the /etc/hosts file, you need to run it as root.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php
<span style="color: #666666; font-style: italic;">// Install the AWS PHP SDK from http://docs.amazonwebservices.com/AWSSDKforPHP/latest/ and follow the setup instructions on that page.</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #0000ff;">&quot;aws-php-sdk/sdk.class.php&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SERVER_TAG'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/var/opt/server-tag'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
try<span style="color: #009900;">&#123;</span>
	<span style="color: #666666; font-style: italic;">// Parse hosts file into an array</span>
	<span style="color: #000088;">$hosts_file</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/etc/hosts'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$hosts_lines</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span>PHP_EOL<span style="color: #339933;">,</span> <span style="color: #000088;">$hosts_file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosts_lines</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$hlkey</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$hline</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hline</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$host_lines</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$hlkey</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_split</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/\s/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$hline</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000088;">$hosts_updated</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$this_instance_id</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://169.254.169.254/latest/meta-data/instance-id'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// Check server tag directory</span>
	<span style="color: #000088;">$server_tag_dir</span> <span style="color: #339933;">=</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span>SERVER_TAG<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">file_exists</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$server_tag_dir</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">mkdir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$server_tag_dir</span><span style="color: #339933;">,</span> <span style="color: #208080;">0777</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// Get the server tag</span>
	<span style="color: #000088;">$server_tag</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span>SERVER_TAG<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$EC2</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> AmazonEC2<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$EC2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">describe_instances</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">isOK</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">throw</span> <span style="color: #000000; font-weight: bold;">new</span> Exception<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ec2-&gt;describe_instances failed&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// Each &quot;reservationSet&quot; is essentially an instance or compute &quot;reservation&quot;</span>
	<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">body</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">reservationSet</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">item</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$rset</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$iset</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$rset</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">instancesSet</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">item</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$iset</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">instanceState</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">code</span> <span style="color: #339933;">!=</span> <span style="color: #cc66cc;">16</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Instance is not in &quot;running&quot; state, so ignore</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$iset</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">tagSet</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #666666; font-style: italic;">// Server is tagged. We should note it down in the /etc/hosts file</span>
			<span style="color: #000088;">$tset</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$iset</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">tagSet</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">item</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$server_identifier</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tset</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tset</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tset</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$tag</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
					<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tag</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">key</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'Name'</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$server_identifier</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$tag</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">value</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span>
			<span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
				<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tset</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">key</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'Name'</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$server_identifier</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$tset</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">value</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
			<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$server_identifier</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				<span style="color: #666666; font-style: italic;">// This server is tagged with an identifier. Make sure we've got it recorded in the server-tag file if this is our server</span>
				<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$iset</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">instanceId</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$this_instance_id</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$server_tag</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$server_identifier</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">file_put_contents</span> <span style="color: #009900;">&#40;</span>SERVER_TAG<span style="color: #339933;">,</span> <span style="color: #000088;">$server_identifier</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #666666; font-style: italic;">// Now me ensure the correct host entry is written or up to date</span>
				<span style="color: #000088;">$nice_si</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'#'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'-'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$server_identifier</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Replace # with - to avoid conflicts</span>
				<span style="color: #000088;">$hosts_match</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
				<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$host_lines</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$hlkey</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$hline</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
					<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strstr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hline</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'#'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Skip comment lines</span>
					<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hostname</span> <span style="color: #339933;">=</span> <span style="color: #990000;">next</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hline</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// Loop through the hostnames to see if this server exists in the host file</span>
						<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hostname</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$nice_si</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// Found a hostname match, so check the mapped IP address</span>
							<span style="color: #000088;">$hosts_match</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
							<span style="color: #000088;">$ip_addr</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$iset</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">privateIpAddress</span><span style="color: #339933;">;</span>
							<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hline</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$ip_addr</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
								<span style="color: #666666; font-style: italic;">// Private IP address has changed. Update it after a quick sanity check on IP address</span>
								<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ip_addr</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ip_addr</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;=</span> <span style="color: #cc66cc;">7</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$hline</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$ip_addr</span><span style="color: #339933;">;</span>
								<span style="color: #000088;">$host_lines</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$hlkey</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$hline</span><span style="color: #339933;">;</span>
								<span style="color: #000088;">$hosts_updated</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
							<span style="color: #009900;">&#125;</span>
						<span style="color: #009900;">&#125;</span>
					<span style="color: #009900;">&#125;</span>
				<span style="color: #009900;">&#125;</span>
				<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$hosts_match</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
					<span style="color: #666666; font-style: italic;">// This server does not exist in the hosts list. Add it.</span>
					<span style="color: #000088;">$ip_addr</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$iset</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">privateIpAddress</span><span style="color: #339933;">;</span>
					<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ip_addr</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ip_addr</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;=</span> <span style="color: #cc66cc;">7</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
						<span style="color: #000088;">$host_lines</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ip_addr</span><span style="color: #339933;">,</span> <span style="color: #000088;">$nice_si</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						<span style="color: #000088;">$hosts_updated</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
					<span style="color: #009900;">&#125;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosts_updated</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$host_lines</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$hlkey</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$hline</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$host_lines</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$hlkey</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$hline</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">file_put_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/etc/hosts'</span><span style="color: #339933;">,</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$host_lines</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;/etc/hosts has been updated successfully<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Could not update /etc/hosts file<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;No changes to make<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
catch<span style="color: #009900;">&#40;</span>Exception <span style="color: #000088;">$e</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$e</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getMessage</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>After running this script, we will have entries in our /etc/hosts file for all of our tagged servers, and because these are now defined as operating system hostnames, you can use these hostnames for connections between your servers (for example, if you were connecting to mysql from slave-0 to master-0 you could define the hostname for the connection as master-0:3306 and the connection will be made via Amazon&#8217;s internal DNS network. If you set this script to a regular cron job, you can ensure that the hostnames are kept updated and new ones are added as you tag new instances.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gosquared.com/liquidicity/archives/1772/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Instant Gratification &#8211; Using GoSquared to Improve your Website</title>
		<link>http://www.gosquared.com/liquidicity/archives/1750</link>
		<comments>http://www.gosquared.com/liquidicity/archives/1750#comments</comments>
		<pubDate>Tue, 22 Feb 2011 18:15:54 +0000</pubDate>
		<dc:creator>James Gill</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[liquidicity]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Chart]]></category>
		<category><![CDATA[Clicky]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GoSquared]]></category>
		<category><![CDATA[Graph]]></category>
		<category><![CDATA[Immediate]]></category>
		<category><![CDATA[instant]]></category>
		<category><![CDATA[Live]]></category>
		<category><![CDATA[LiveStats]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Real]]></category>
		<category><![CDATA[Real-Time]]></category>
		<category><![CDATA[Realtime]]></category>
		<category><![CDATA[Time]]></category>
		<category><![CDATA[Traffic]]></category>
		<category><![CDATA[Zak]]></category>
		<category><![CDATA[Zaksoup]]></category>

		<guid isPermaLink="false">http://www.gosquared.com/liquidicity/?p=1750</guid>
		<description><![CDATA[Guest Post This is a guest post from one of our part-time interns &#8211; Zak Auerbach (@zaksoup) Want to work at GoSquared? See our open positions now! &#8220;I&#8217;m already using Google Analytics&#8221; is what most people seem to say when asked if they&#8217;d like to try a new analytics solution for their site. Google Analytics [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.gosquared.com/images/liquidicity/11_02_22_hero_01_790x200.jpg" alt="If it's not Live I don't want to know." width="790" height="200" /></p>
<div class="guestpost_intro">
<h4>Guest Post</h4>
<p>This is a guest post from one of our part-time interns &#8211; <strong>Zak Auerbach</strong> (@<a href="http://twitter.com/zaksoup">zaksoup</a>)</p>
<p class="smallprint">Want to <a href="http://www.gosquared.com/jobs/">work at GoSquared</a>? See our <a href="http://www.gosquared.com/jobs/">open positions</a> now!</p>
</div>
<p>&#8220;I&#8217;m already using Google Analytics&#8221; is what most people seem to say when asked if they&#8217;d like to try a new analytics solution for their site.</p>
<p>Google Analytics is great if you&#8217;re looking at trends, and seeing how your site has been doing in the past. It&#8217;s a fantastically advanced tool that does almost anything you could want a reporting tool to do. But it&#8217;s never up to date &#8211; it&#8217;s never instant. Google Analytics is great at finding out why things <em>happened</em>. Sometimes you need to know what&#8217;s happening right now.</p>
<p>GoSquared LiveStats is about deciding how to make changes <em>now</em>, how to improve your site to maximise the effects of what is currently happening, rather than what&#8217;s happened.</p>
<p>When you tweet about your latest blog post &#8211; you likely want to see the immediate response. Wouldn&#8217;t it be cool if you could see exactly who was on you site before and after you post on Twitter? Wouldn&#8217;t it be great to see if the people who saw your tweet actually stayed around on your site?</p>
<p><span id="more-1750"></span></p>
<p><img style="float: left;" src="http://static.gosquared.com/images/liquidicity/11_02_22_screenshot_01_400x850.png"/></p>
<h3>Observe flow of new <span class="ampersand">&#038;</span> returning visitors.</h3>
<p>Ever wish you could watch your visitors as they browse around your site? Keeping an eye on them as things happen makes support responses much easier when you can see exactly what they&#8217;ve been doing.</p>
<p>A user visiting a website browses through the siteÊ¼s pages, rather than staying on a single page or tab. As a user looks at your website they â€œflowâ€ around the site. Knowledge about flow of your website is an incredibly important tool for a content provider to have. If you know which links are being followed the most, and which get the least attention then you can very easily serve users the pages you want them to see. Knowing where on your site users are lets you know where to put your high-profile information.</p>
<p>A website is like a city, and it must be treated as such. In order to be profitable you must stay streamlined. If there are areas of your site that have extremely low traffic get rid of them. Make sure the flow of your site sends users to the areas that you want them to be. If you know where users are at this moment, then you can find out where theyÊ¼re going and where theyÊ¼ve been. Use that information to figure out how to map your site out.</p>
<h3>What works? What doesn&#8217;t?</h3>
<p>Real-time analytics can be incredibly powerful for planning your siteÊ¼s flow. Watch your users move through your site and keep track of where they go. Pages that attract more users have more potential to be profitable in the end.</p>
<p>Know which pages donÊ¼t attract or bore users. If a user has been on a page for an abnormally short time then perhaps they are not finding what they&#8217;re looking for fast enough. Visitors that never show more than a green light on any page are probably leaving pages too quickly to absorb most of the info on each page. These pages are cruft and might distract users from the rest of your site. Often times these pages are an unnecessary step in between a user and their goal. For every user that goes through them, one just leaves your site. Same for pages that have users for an abnormally long amount of time, although often if a visitor keeps a post open for a long time they may have left the tab open while making a coffee or eating some toast &#8211; they may return to use the info at a later point.</p>
<p>Real-time analytics can give you some incredibly detailed and powerful data. If you know what to look for. If you use that data successfully you can improve the flow of your site that will benefit not only you as a content provider, but your users as they will be able to navigate your site with increased ease.</p>
<p><img src="http://static.gosquared.com/images/livestats/public/livestats_screenshot_05_inbrowser_672x444.png" alt="Screenshot of LiveStats 3 by GoSquared" width="672" height="444"/></p>
<h3>Interact with your users.</h3>
<p>LiveStats doesnÊ¼t just give you data, it gives you an in with your users. DonÊ¼t let that potential go to waste. Get in touch with your visitors. Because LiveStats shows you where and when (what time zone) your users visit your page from you can change your site to reflect your users. If you have a lot of Canadians visiting at certain times of the day, start offering deals for Canadian users at those times. Target your advertising as well. Interaction is just as important as the content on your site. If you want to reach your visitors you must act.</p>
<p>Create a rapport with your visitors and users, even if it isnÊ¼t actual communication. Make it known that you see where they are and what they want. When you choose to improve the site, people will be more likely to come back.</p>
<p><img src="http://static.gosquared.com/images/livestats/public/banner_infobar_960x100.jpg" alt="Tools within LiveStats 3 by GoSquared monitoring your current traffic levels and analysing traffic spikes"/></p>
<h3>Respond to Traffic spikes.</h3>
<p>Knowing where your users are coming from is great during a traffic spike. If you just got linked from <a href="http://techcrunch.com/2011/01/11/can-gosquared-put-the-heat-on-chartbeat-in-real-time-site-analytics/">TechCrunch</a> you may want to update your article to appeal more to technically minded visitors. DonÊ¼t wait until the spike has passed, do it immediately. Spikes are a blessing and a curse. If your site is experiencing increased traffic you will want to know exactly where these users are coming from and where they are ending up. Use this info to make your site ready for the traffic.</p>
<p>When instant gratification is everything, you canÊ¼t ignore your users. Make sure that you are paying attention to the data you are getting from your analytics and that you are using it to change your site for the better. The results will be astonishing if you can harness the power of real-time analytics to improve the interaction visitors have with your site, and you have with your visitors.</p>
<div class="guestpost_intro">
<h4>Guest Post</h4>
<p>This is a guest post from one of our part-time interns &#8211; <strong>Zak Auerbach</strong> (@<a href="http://twitter.com/zaksoup">zaksoup</a>)</p>
<p class="smallprint">Want to <a href="http://www.gosquared.com/jobs/">work at GoSquared</a>? See our <a href="http://www.gosquared.com/jobs/">open positions</a> now! Learn more <a href="http://www.gosquared.com/about/">about GoSquared</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.gosquared.com/liquidicity/archives/1750/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to Bake a Cake in Illustrator</title>
		<link>http://www.gosquared.com/liquidicity/archives/882</link>
		<comments>http://www.gosquared.com/liquidicity/archives/882#comments</comments>
		<pubDate>Tue, 15 Sep 2009 22:54:18 +0000</pubDate>
		<dc:creator>James Gill</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Birthday]]></category>
		<category><![CDATA[Cake]]></category>
		<category><![CDATA[Drawing]]></category>
		<category><![CDATA[Food]]></category>
		<category><![CDATA[Hungry]]></category>
		<category><![CDATA[Icons]]></category>
		<category><![CDATA[Illustrator]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Pie]]></category>
		<category><![CDATA[Taste]]></category>
		<category><![CDATA[Vectors]]></category>
		<category><![CDATA[Wedding]]></category>

		<guid isPermaLink="false">http://www.gosquared.com/liquidicity/?p=882</guid>
		<description><![CDATA[We&#8217;ve shown you how to make pie with Adobe&#8217;s vector drawing application, but how about those times when you need to give someone a cake? Let&#8217;s start with a new document (obviously) &#8211; choose web if that&#8217;s what you&#8217;re planning to use the final image to your site as this will ensure all measurements are [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.gosquared.com/images/liquidicity/09_09_15_cake_01_790x200.jpg" alt="09_09_15_cake_01_790x200" title="09_09_15_cake_01_790x200" width="790" height="200" /></p>
<p>We&#8217;ve shown you <a href="http://www.gosquared.com/liquidicity/archives/103">how to make pie</a> with Adobe&#8217;s vector drawing application, but how about those times when you need to give someone a cake?</p>
<p>Let&#8217;s start with a new document (obviously) &#8211; choose web if that&#8217;s what you&#8217;re planning to use the final image to your site as this will ensure all measurements are in pixels and colours are set in RGB. The canvas size doesn&#8217;t matter too much either, but 800&#215;600 makes sense in this scenario.</p>
<p><a href="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-New-Document.png"><img src="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-New-Document.png" alt="Illustrator - New Document" title="Illustrator - New Document" width="782" height="428" /></a></p>
<p>To start the basic shape, use the <strong>Ellipse Tool (L)</strong> to draw a stretched circle with vaguely the same dimensions as those in the image. Make a couple of copies of this, and drag them off the canvas for now. Make another copy by <strong>Alt dragging</strong> the circle directly below by about 150 pixels. Also hold down <strong>Shift</strong> while dragging to keep the duplicate copy of the shape aligned to the original.</p>
<p><span id="more-882"></span><br />
<a href="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Circles-01.png"><img src="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Circles-01.png" alt="Illustrator - Circles 01" title="Illustrator - Circles 01" width="663" height="427" class="alignnone size-full wp-image-890" /></a></p>
<p>Using the <strong>Direct Selection Tool (A)</strong> select the top point of each ellipse and delete it by hitting backspace.</p>
<p><a href="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Circles-02.png"><img src="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Circles-02.png" alt="Illustrator - Circles 02" title="Illustrator - Circles 02" width="663" height="353" class="alignnone size-full wp-image-893" /></a></p>
<p>Using the <strong>Direct Selection Tool (A)</strong> again, select the point on the right of the top ellipse, and holding down <strong>Shift</strong> also select the same point on the lower ellipse. Now join these two points by going to <strong>Object > Path > Join (Command J)</strong>. Now do the same for the points on the left of each ellipse. This will create a single shape from our two deformed ellipses.</p>
<p>To get this fairly random looking shape looking vaguely cylindrical we need to fill it with a gradient. Go the <strong>Gradient Palette (Command F9)</strong> and make 3 colour points. Make the points at the two ends of the gradient spectrum the same light brown colour. Make the third point slightly darker brown positioned at about <strong>85%</strong>.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Circles-02.png" alt="09_09_15_cake_02_790x200" title="09_09_15_cake_02_790x200" width="790" height="200" /></p>
<p>Now for something that many people don&#8217;t use enough in Illustrator &#8211; <strong>Photoshop Effects</strong>. Make a <strong>duplicate</strong> of the main cylindrical shape we just made and go to <strong>Effect > Texture > Grain&#8230;</strong> This will bring up the <strong>Photoshop Effect Palette</strong> that will be pretty familiar to anyone who&#8217;s ever dabbled in Photoshop. These textures aren&#8217;t vectorised, though, so use them with wisely otherwise you could quickly defeat the whole point of using Illustrator in the first place.</p>
<p><a href="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Grain-100.png"><img src="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Grain-100.png" alt="Illustrator - Grain-100" title="Illustrator - Grain-100" width="300" height="193" /></a></p>
<p>Once you&#8217;ve clicked <strong>OK</strong> on the Photoshop Effects Palette, you&#8217;ll see your new textured cake shape. Change its <strong>Opacity</strong> to about <strong>65%</strong> by going to the <strong>Transparency Palette (Shift + Command + F10)</strong>. Now just <strong>align</strong> the textured shape over the previous non textured shape of the same size.</p>
<p><a href="http://static.gosquared.com./images/liquidicity/09_09_15_cake_04_790x200.jpg"><img src="http://static.gosquared.com/images/liquidicity/09_09_15_cake_04_790x200.jpg" alt="09_09_15_cake_04_790x200" title="09_09_15_cake_04_790x200" width="790" height="200" class="alignnone size-full wp-image-900" /></a></p>
<p>So we&#8217;ve created the main part of the cake, and I guess you can take that out the oven for now and leave it to cool. Now for the icing. This part is pretty similar to before where we had the the 2 ellipses. Create another 2 ellipses of the same size as before (this is where making a few copies comes in handy) and keep them aligned, but ensure they&#8217;re closer together than the ellipses we used for the main part of the cake. This time, delete the bottom point on the top ellipse, and delete the top point on the lower ellipse using the <strong>Direct Selection Tool (A)</strong>. Now <strong>Join (Command J)</strong> the points and make it into a shape like below.</p>
<p>Fill the shape we just created with a 3 colour linear gradient. Place each colour in the same positions as before &#8211; 2 of the same colour points (I&#8217;ve used just white here) at each end, and then a very slightly darker colour at <strong>85%</strong>. I used a slight purple just to spice things up a bit. Make your icing any colour you like.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/09_09_15_cake_03_790x200.jpg" alt="09_09_15_cake_03_790x200" title="09_09_15_cake_03_790x200" width="790" height="200" /></p>
<p>Position the layer of icing on top of the main cake base by ensuring it&#8217;s above everything else. Send the icing to the front by pressing <strong>Command + Shift + ]</strong>.</p>
<p>Now take another one of those ellipses that you dragged off the canvas earlier. Fill this ellipse with <strong>white</strong> and <strong>Feather (Effect > Stylise > Feather)</strong> it with a <strong>Feather Radius of 15px</strong>. Ensure this circle is above everything (including the icing layer we just brought to the front) and align it to the horizontal centre, and vertical top of the main icing layer. The <strong>Alignment Palette</strong> can be accessed by hitting <strong>Shift F7</strong>.</p>
<p><a href="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Circle-Feather.png"><img src="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Circle-Feather.png" alt="Illustrator - Circle Feather" title="Illustrator - Circle Feather" width="645" height="439" /></a></p>
<p>Now select the icing layer that we formed with our two ellipses earlier. Use the A<strong>dd Another Anchor Point Tool (+)</strong> to add a bunch of new points on the bottom edge of the icing shape. These don&#8217;t have to be accurately spaced out or anything &#8211; they&#8217;re supposed to give the effect of dripping icing once we&#8217;ve moved them about in the next step.</p>
<p>Using the <strong>Direct Solution Tool (A)</strong>, select each of the points you just created, one at a time. Move every other point down a few pixels, and move a few random points up a few pixels. With a little experimentation, you should get a fairly natural effect similar to that in the image below.</p>
<p>To make the icing look like it&#8217;s slightly raised above the cake it&#8217;s dripping from, add a subtle drop shadow to the icing shape. Select the icing shape and go to <strong>Effects > Stylise > Drop Shadow</strong>. On the <strong>Drop Shadow Pane</strong>, set the <strong>Mode</strong> to <strong>Normal</strong>, <strong>Opacity</strong> to <strong>45%</strong>, <strong>X-Offset</strong> to <strong>0</strong>, <strong>Y-Offset</strong> to <strong>1px</strong>, and <strong>Blur</strong> to <strong>0px</strong>. Ensure the colour is black or very dark brown.</p>
<p><a href="http://static.gosquared.com/images/liquidicity/09_09_15_cake_05_790x200.jpg"><img src="http://static.gosquared.com/images/liquidicity/09_09_15_cake_05_790x200.jpg" alt="09_09_15_cake_05_790x200" title="09_09_15_cake_05_790x200" width="790" height="200" /></a></p>
<p>We&#8217;ve got a fairly tasty looking cake, baked and iced, now for a shiny silver base to sit it on. Using the same method as earlier, create two larger ellipses and delete their top points. <strong>Join (Command + J)</strong> the two ellipses to make one very short cylindrical shape just like a wider, shorter version of the cake base shape. Fill this shape with a <strong>linear gradient of 4 colours</strong> to give a chrome like appearance keeping these colours in greyscale. Give this cylindrical shape a <strong>drop shadow (Effect > Stylise > Drop Shadow&#8230;)</strong> Set the drop shadow <strong>Mode</strong> to <strong>Normal</strong>, <strong>Opacity</strong> to <strong>65%</strong>, <strong>X-Offset</strong> to <strong>0px</strong>, <strong>Y-Offset</strong> to <strong>1px</strong>, <strong>Blur</strong> to <strong>3px</strong>, and ensure the colour is <strong>black</strong>.</p>
<p>Create another ellipse of the same size as the ones used to create the shape we just made, and fill it with a dark grey. I used a colour of <strong>50% black</strong>.</p>
<p>Drag another one of the ellipses onto the canvas that you dragged off earlier &#8211; keeping it the same size as the main cake shape. Fill this circle with a very dark grey (darker than the last one we created) &#8211; I used <strong>80% black</strong>. <strong>Feather</strong> this ellipse with a <strong>Feather Radius</strong> of <strong>15px</strong>.</p>
<p><a href="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Cake-Base.png"><img src="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Cake-Base.png" alt="Illustrator - Cake Base" title="Illustrator - Cake Base" width="652" height="557" /></a></p>
<p>Align each of these 3 shapes to the horizontal centre and <strong>Group (Command + G)</strong> them. Send them to the back with <strong>Command + Shift + [</strong> and ensure they are horizontally centred with the main cake shape too. Now you have a cake, baked, iced, and on a shiny plate!</p>
<p><a href="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Cake-So-Far-01.png"><img src="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Cake-So-Far-01.png" alt="Illustrator - Cake So Far 01" title="Illustrator - Cake So Far 01" width="630" height="479" /></a></p>
<p>Now for the candles. It's time to draw a few more ellipses - this time we need to make a really tall, thin version of the basic cake shape that we made before. Use the same method - draw two small ellipses directly above one another and then delete the top points and <strong>Join (Command + J)</strong> the two shapes. Fill this shape with a 3 colour linear gradient with the 2 end point colours the same, and a darker shade of the same colour at around <strong>85%</strong> along. Your candles can be any colour, but I decided to go for a bright pinky red.</p>
<p>Make a copy of an ellipse of the same size as the ones you just used to create the basic candle shape. Fill it with a similar, preferably slightly darker colour as that of the main candle shape. Align this to the top of the candle shape so it forms the top of the candle.</p>
<p>Make another copy of that same ellipse, but scale it down to about a third of the original size. Fill this ellipse with a dark colour, I just used black. <strong>Feather</strong> this ellipse with a <strong>Feather Radius of 2px</strong>. Align this to the <strong>centre</strong> of the ellipse sitting on top of the candle.</p>
<p>Make yet another copy of the ellipse and proportionally stretch it so that it's slightly larger than the candle width. My ellipse was around <strong>50px</strong> wide and <strong>14px</strong> high. Fill this ellipse with black and <strong>Feather</strong> it with a <strong>Feather Radius of 12px</strong>.</p>
<p><a href="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Candle-01.png"><img src="http://static.gosquared.com/images/liquidicity/09_09_15_Illustrator-Candle-01.png" alt="Illustrator - Candle 01" title="Illustrator - Candle 01" width="600" height="618" /></a></p>
<p>That's the main candle made, now to light it. To make the flame, draw another ellipse, but this time stretch it vertically so it's taller than it is wide. Using the <strong>Convert Anchor Point Tool (Shift + C)</strong> click on the top point of the ellipse you just made. This will cause that point to become a vertex rather than a smooth curve. You should now have a nice flame shape. Fill it with bright yellow.</p>
<p>To make the flame more realistic, make a copy of the shape and proportionally scale it so that it's slightly smaller. Align it to the bottom centre of the first flame shape. Fill this with a slightly darker shade of yellow. Repeat this same step a few times, making the shape smaller and filling it with a slightly darker colour. The centre of a flame, if you look closely, is actually made up of a spectrum of blue. Fill the smallest couple of flame shapes with blue. Ensure all of these shapes are horizontally aligned to the centre and vertically aligned to the bottom of one another. It would probably make life a little easier to <strong>Group (Command + G)</strong> the flame shapes together so that you can easily align them slightly above the centre of the candle shape.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/09_09_15_cake_06_790x200.jpg" alt="09_09_15_cake_06_790x200" title="09_09_15_cake_06_790x200" width="790" height="200"/></p>
<p>Now make a few copies of the whole candle shape (again, easier if you <strong>Group</strong> all the candle elements together here) and position them on the top of your cake however you wish.</p>
<p> Now just dim the lights, and you're ready to sing happy birthday. Here's the outcome. Yum.</p>
<p><a href="http://static.gosquared.com/images/liquidicity/09_09_14_tut_cake_01.jpg"><img src="http://static.gosquared.com/images/liquidicity/09_09_14_tut_cake_01_790x593.jpg" alt="09_09_14_tut_cake_01_790x593" title="09_09_14_tut_cake_01_790x593" width="790" height="593"/></a></p>
<p><a href="http://www.gosquared.com/images/help_sheets/tut_cake_01.ai" title="Ai" onclick="pageTracker._trackPageview('/images/help_sheets/tut_cake_01.ai');"><img src="http://static.gosquared.com/images/liquidicity/doc_ai_icon.png" title="Ai" alt="Ai" align="left" height="48" width="48" /> Get the Adobe Illustrator CS2 File [705KB]</a></p>
<p>Don&#8217;t have Adobe Illustrator? <a href="http://www.gosquared.com/images/help_sheets/tut_cake_01.svg" onclick="pageTracker._trackPageview('/images/help_sheets/tut_cake_01.a');">Download the SVG</a>.</p>
<p>Don&#8217;t forget to save some cake for me when you&#8217;re done. Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gosquared.com/liquidicity/archives/882/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Manually Install PECL Extensions on a Media Temple (dv) Server</title>
		<link>http://www.gosquared.com/liquidicity/archives/836</link>
		<comments>http://www.gosquared.com/liquidicity/archives/836#comments</comments>
		<pubDate>Fri, 28 Aug 2009 12:55:42 +0000</pubDate>
		<dc:creator>Geoff Wagstaff</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Help Sheets]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[(mt)]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[MediaTemple]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[PECL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.gosquared.com/liquidicity/?p=836</guid>
		<description><![CDATA[Having used MediaTemple&#8216;s hosting options for quite some time, we&#8217;ve built up a fair amount of experience working with their (dv) servers. Every now and again you may find it necessary to extend the core functionality of the pre-compiled PHP supplied with the (dv) server using PECL extensions to give your apps that little bit [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.gosquared.com/images/liquidicity/09_12_06_geoffdev_790x100.jpg" alt="Dev with Geoff - Development help and advice from our CTO Geoff Wagstaff" width="790" height="100"/></p>
<p>Having used <a href="http://www.mediatemple.net">MediaTemple</a>&#8216;s hosting options for quite some time, we&#8217;ve built up a fair amount of experience working with their (dv) servers. Every now and again you may find it necessary to extend the core functionality of the pre-compiled PHP supplied with the (dv) server using <a href="http://pecl.php.net/">PECL extensions</a> to give your apps that little bit more of a cutting edge.</p>
<p>There is a quick and easy way to insall the PECL modules on your (dv) server: pecl install [extension]. However, if for whatever reason this does not work for you, this guide documents a manual installation method.</p>
<p><span id="more-836"></span></p>
<p><strong>A preliminary word of warning &#038; disclaimer</strong><br />
We have only tested the following guide on (dv) 3.5 servers, and cannot in any way guarantee that this method will provide a stable and/or functional installation of your chosen PECL module(s) on your server, version 3.5 or otherwise. If your (dv) server is not version 3.5, this guide may not work due to possible path and environment differences. Therefore, any attempt to follow this guide is undertaken at entirely at your own risk and we cannot be held responsible for any resultant problems.</p>
<p>Phew, now I got that off my chest, let&#8217;s get started.</p>
<p><strong>Paths needed</strong><br />
PHP extension (modules) directory: <em>/usr/lib/php/modules</em><br />
php.ini file: <em>/etc/php.ini</em><br />
PHP extension .ini files (to facilitate autoload of extensions): <em>/etc/php.d/</em></p>
<p>For this to work, you&#8217;ll need to have root access to your server, and you&#8217;ll most probably need developer tools installed as well. To obtain these, log in to your MediaTemple (ac) panel and enable them both there.</p>
<p>Note: Replace [extension] with actual extension name</p>
<p>Open up your terminal using a remote SSH client (if you don&#8217;t have one, install an SSH client like <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PUTTY</a>) and log into your server as root.</p>
<p>Download the extension from PECL to somewhere on the server (e.g. /tmp/download/):<br />
<code>cd /tmp/download/<br />
wget http://pecl.php.net/get/[extension].tgz</code></p>
<p><strong>N.B.</strong> For this bit, [extension] must be replaced by your extension name including any version numbers of the version you downloaded e.g. memcache-2.2.5</p>
<p>Extract the compressed package and change directory to the extracted source folder<br />
<code>tar -xvf [extension].tgz<br />
cd [extension]</code></p>
<p>From this point onwards, [extension] now represents the actual name of the extension, for example, memcache instead of memcache-2.2.5</p>
<p>Prepare the build environment for the extension and make the binaries<br />
<code>phpize &#038;&#038; ./configure --enable-[extension] &#038;&#038; make</code></p>
<p>You may see lots of code/writing flicking up in your terminal. This is normal.<br />
If all that goes good, run:<br />
<code>make install</code></p>
<p>This should install the shared extension into <em>/usr/lib/php/extensions</em>. If this works properly, the [extension].so extension file will be automatically placed in the PHP extensions directory (<em>/usr/lib/php/extensions</em>)</p>
<p>Navigate to folder containing the .ini files for extensions:<br />
<code>cd /etc/php.d/</code></p>
<p>Create a new file called [extension].ini<br />
<code>vi [extension].ini</code></p>
<p>Press i and write/paste the following inside, <strong>replacing [extension] with the extension name</strong>:<br />
<code>; Enable [extension] extension<br />
extension=[extension].so</code></p>
<p>Press ESC then type :wq and press enter to save and exit the file.</p>
<p>Restart apache so PHP can load the new extension when it starts up:<br />
<code>/etc/init.d/httpd restart</code></p>
<p>That&#8217;s it! The new module is now installed and should be working properly. If you want to verify this, create a test.php file somewhere on your site, place</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php <span style="color: #990000;">phpinfo</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p> inside and access it with your browser. Information for the new extension will appear in the list of extensions if everything has installed correctly.</p>
<p>We hope this helps you out. We would greatly appreciate it if anyone can test this on (dv) servers older or newer than (dv) 3.5 and let us know the result.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gosquared.com/liquidicity/archives/836/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make indented text with this super easy method</title>
		<link>http://www.gosquared.com/liquidicity/archives/200</link>
		<comments>http://www.gosquared.com/liquidicity/archives/200#comments</comments>
		<pubDate>Wed, 12 Sep 2007 19:35:50 +0000</pubDate>
		<dc:creator>James Gill</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Help Sheets]]></category>
		<category><![CDATA[liquidicity]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Illustrator]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Text]]></category>
		<category><![CDATA[Typography]]></category>

		<guid isPermaLink="false">http://www.gosquared.com/liquidicity/archives/200</guid>
		<description><![CDATA[A popular graphical style at the moment is to make your text look indented. I spent months and months trying to work out how to do this after seeing it perhaps for the first time in iTunes. I always looked for a filter or a tool to &#8220;emboss&#8221; or &#8220;bevel&#8221; the text, but these never [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.gosquared.com/images/liquidicity/07_09_12_lq_tut_bevel01.jpg" alt="Bevel post main image" /></p>
<p>A popular graphical style at the moment is to make your text look indented. I spent months and months trying to work out how to do this after seeing it perhaps for the first time in iTunes. I always looked for a filter or a tool to &#8220;emboss&#8221; or &#8220;bevel&#8221; the text, but these never looked quite as nice, and often made the text hard to read.</p>
<p>One day, it hit me: it&#8217;s SO SIMPLE! And the method I came up with didn&#8217;t involve filters, plug-ins, or any other jazz like that.</p>
<p>All you need to do to create the effect of indented text is to <strong>duplicate</strong> the line of text, with the duplicate behind, and slightly below the original.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/07_09_12_lq_tut_bevel02.jpg" alt="Bevelled dark text in Illutsrator" /></p>
<p>Then, make the duplicated text slightly lighter than the original text. This will work perfectly when you have dark text, just like in the title of this post.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/07_09_12_lq_tut_bevel03.jpg" alt="Bevelled light text in Iluustrator" /></p>
<p>Also, not many people realise you can use this method with light coloured text aswell. However, instead of moving the duplicated line of text <strong>below</strong> the original, you move it <strong>above</strong>, and make it <strong>darker</strong> than the original text. This will look just as good and give the same effect.</p>
<p>This method can be used in almost any application, but I made these with Adobe Illustrator. It&#8217;s great to know that something that looks so good can be done so easily.</p>
<p>Hope this helps  <img src='http://www.gosquared.com/liquidicity/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://downloads.gosquared.com/vectors/Bevel_Text_01.ai" title="Ai"><img src="http://static.gosquared.com/images/liquidicity/doc_ai_icon.png" title="Ai" alt="Ai" align="left" height="48" width="48" /> Get the Adobe Illustrator CS2 File [1.1MB]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gosquared.com/liquidicity/archives/200/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Download ANY file from ANY site using Safari.</title>
		<link>http://www.gosquared.com/liquidicity/archives/133</link>
		<comments>http://www.gosquared.com/liquidicity/archives/133#comments</comments>
		<pubDate>Sun, 20 May 2007 14:21:04 +0000</pubDate>
		<dc:creator>James Gill</dc:creator>
				<category><![CDATA[Popular]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Downloading]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[Get]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Upload]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.gosquared.com/liquidicity/archives/133</guid>
		<description><![CDATA[Listen up Mac users. You may already know this, but I didn&#8217;t until the other day, and it really comes in handy. Safari has a little tool called the Activity Window, which can be accessed by going to going to &#8220;Window &#62; Activity&#8221; (shortcut: alt + apple + a). In here you can see every [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.gosquared.com/images/liquidicity/07_05_20_lq_download_safari_2.jpg" alt="SafariÃ¢â‚¬â„¢s hidden secret" /></p>
<p>Listen up Mac users. You may already know this, but I didn&#8217;t until the other day, and it really comes in handy. Safari has a little tool called the Activity Window, which can be accessed by going to going to &#8220;Window &gt; Activity&#8221; (shortcut: alt + apple + a). In here you can see every file that the website you are viewing is calling upon. The brilliant thing is that by double clicking any one of these files, it will download straight to your desktop.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/07_05_20_lq_download_safari.jpg" alt="Where is the activity window" /></p>
<p>Considering you would most likely want to download a file containing video or audio, look in the column on the right to see its size. By process of elimination you will see that the biggest file will be the one you want.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/07_05_20_lq_download_safari_1.jpg" alt="The activity window" /></p>
<p>So if you happened to be on YouTube, you could download any video you wanted. Similarly, if you were on MySpace, and had no respect for copyright law, you could download anything you wanted.</p>
<p>This, if you didn&#8217;t know it already, could save a lot of people a lot of time (and money).</p>
<p>You might also like <a href="http://www.gosquared.com/liquidicity/archives/122">165 Vector Icons</a>, <a href="http://www.gosquared.com/liquidicity/archives/114">50 Ways to Become a Better Designer</a>, <a href="http://www.gosquared.com/liquidicity/archives/96">77 Vector Buttons</a></p>
<p><span id="more-133"></span></p>
<p>GoSquared does not endorse piracy. Please ensure that you use the mentioned functions of Safari as they were intended, and abide by any laws that apply to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gosquared.com/liquidicity/archives/133/feed</wfw:commentRss>
		<slash:comments>126</slash:comments>
		</item>
		<item>
		<title>50 Ways to Become a Better Designer</title>
		<link>http://www.gosquared.com/liquidicity/archives/114</link>
		<comments>http://www.gosquared.com/liquidicity/archives/114#comments</comments>
		<pubDate>Thu, 17 May 2007 12:45:23 +0000</pubDate>
		<dc:creator>James Gill</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[liquidicity]]></category>
		<category><![CDATA[Popular]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[50]]></category>
		<category><![CDATA[Achieve]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[Better]]></category>
		<category><![CDATA[Designer]]></category>
		<category><![CDATA[GoSquared]]></category>
		<category><![CDATA[Graphic]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Improve]]></category>
		<category><![CDATA[Style]]></category>
		<category><![CDATA[Win]]></category>

		<guid isPermaLink="false">http://www.gosquared.com/liquidicity/archives/114</guid>
		<description><![CDATA[Being a successful creative has a lot to do with the way you work. Sure, you can&#8217;t teach good design, but it never hurts to learn a few new tricks, or simply make the most of your talents. So without further adieu, here&#8217;s 50 ways to be more successful as a designer. Take &#8216;em or [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.gosquared.com/images/liquidicity/07_05_17_lq_50_designer.jpg" alt="50 Ways to Become a Better Designer" /></p>
<p>Being a successful creative has a lot to do with the way you work. Sure, you can&#8217;t teach good design, but it never hurts to learn a few new tricks, or simply make the most of your talents. So without further adieu, here&#8217;s 50 ways to be more successful as a designer. Take &#8216;em or leave &#8216;em.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/07_05_17_lq_50_designer_ideas.jpg" alt="Ideas" /></p>
<p>Don&#8217;t get stuck before you&#8217;ve started: get some good ideas.</p>
<h3>1] Metaphors.</h3>
<p>Great ideas can stem from using themes and metaphors. Basing a site design around the idea of a school, for example, can open up a whole avenue of ideas. A great design works because the theme houses and conveys the content seamlessly.</p>
<h3>2] Don&#8217;t take all day to brainstorm.</h3>
<p>It always helps to throw ideas around with a colleague or friend (as long as he knows what he&#8217;s doing). Try to have a couple of short sessions of brainstorming rather than one massive one as ideas can quickly go cold.</p>
<h3>3] Get off that computer!</h3>
<p>Sometimes it&#8217;s best to just have a break. Leaving the computer can seem like going on holiday in rush hour, but it usually helps if you just take a 10 minute break and get some fresh air. If you can&#8217;t do that, try listening to some music, or taking your jumper off.</p>
<h3>4] Join a forum.</h3>
<p>A lot of creatives work from home, but that doesn&#8217;t mean they can&#8217;t talk to anyone. There are a lot of really helpful and talented people out there willing to have a chat about design, you just need to find them. Here are some of my favorite forums:</p>
<blockquote>
<p><a href="http://www.graphicdesignforum.com/forum/index.php?" title="GDF" target="_blank">Graphic Design Forum</a> (one of the oldest and largest forums on graphic design)<br />
<a href="http://forum.smashingmagazine.com/" title="Smashing Magazine" target="_blank">Smashing Magazine Forums</a><br />
<a href="http://www.layersmagazine.com/forum/" title="Layers Magazine" target="_blank">Layers Magazine</a><br />
<a href="http://www.designateonline.com/" title="Do." target="_blank">Designate Online</a><br />
<a href="http://www.devlounge.net/" title="DevLounge" target="_blank">DevLounge</a> (OK, it&#8217;s not a forum, but it&#8217;s a really decent site)</p>
</blockquote>
<h3>5] Think brand.</h3>
<p>Try going to a few courses on branding, as brand thinking is vital to developing the way you think. Keep your ideas squeaky simple, and 9 times out 0f 10 they will work. Thinking in terms of branding means you can develop key words to stem your ideas from. Complexity just doesn&#8217;t work.</p>
<h3>6] Use a sketchbook.</h3>
<p>I almost always start with ideas that I have scribbled down in my trusty sketchbook. Whenever I get an idea I just make sure I get it down on paper. This always helps as whenever you&#8217;re stuck at a later date, you don&#8217;t have to go out and buy another book, just refer to your own! Don&#8217;t just keep it to ideas though, put URLs, book titles, words, and all the sketches down that you can. It will develop into your creative mind, on paper.</p>
<h3>7] Get your specs straight.</h3>
<p>Always ensure you know the media you&#8217;re going to be using at the start of working on a project. Knowing that there&#8217;s going to be photography involved means you may need to think about locating a shoot. 3D may mean getting some help to make it look that little bit better. Taking it to print in the last minute is also not advised: things never go to plan! Ensure you know the scale of production you&#8217;re going to be dealing with, and research the printing processes you&#8217;re going to use.</p>
<h3>8] Draw a map.</h3>
<p>I find it helps to visualise the brief. Highlight key words and phrases, and jot them down in your trusty sketchbook. Then see how these ideas could link up  by drawing lines between them and branching out from those core ideas. Pretty soon you&#8217;ll have enough on the page to sketch out some decent ideas.</p>
<h3>9] Rough it out.</h3>
<p>Once you have THE idea, and it&#8217;s on paper, try putting it together at low res on the computer. This way you can see what you might need to rethink or improve to get the job done well. At this stage you don&#8217;t need to worry about perfect dimensions or colours, just see how it goes.</p>
<h3>10] Take a shower.</h3>
<p>No, not because your odor is putting your colleagues off, but because (apparently) running water increases brain productivity. Try not bring the brief in with you, but spending time in a place that you feel really comfortable in can greatly help those ideas flow.<span id="more-114"></span><img src="http://static.gosquared.com/images/liquidicity/07_05_17_lq_50_designer_practice.jpg" alt="Practice makes Perfect" /></p>
<p>Getting into good habits is one of the best pieces of advice for any designer. But how?</p>
<h3>11] Stay on top of the latest happenings.</h3>
<p>Don&#8217;t let yourself fall behind the times of design and technology: they&#8217;re both fast moving industries. On the other hand, don&#8217;t go following the latest fads just because everyone else is. Keep up to date by visiting sites such as <a href="http://www.smashingmagazine.com/" title="Smashing Magazine" target="_blank">Smashing Magazine</a> and <a href="http://designiskinky.com/" title="DesignIsKinky" target="_blank">DesignIsKinky</a>. However, our personal favourite for up-to-date design is this absolutely mind blowingly awesome site called <a href="http://www.gosquared.com/liquidicity/" title="Liquidicity" target="_blank">Liquidicity</a> <img src='http://www.gosquared.com/liquidicity/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<h3>12] Keep to web standards.</h3>
<p>It always looks like you mean business when your site is 100% standards compliant. However, some browsers (cough *IE* cough) still don&#8217;t always like to play ball. If it works and looks the same in all browsers then you have done your job, no matter how compliant you are. If there is one tool you&#8217;re going to get to dramatically improve your web design standards it would have to be the <a href="https://addons.mozilla.org/en-US/firefox/addon/60" title="Web Developer" target="_blank">Web Developer Toolbar</a> for <a href="http://www.mozilla.com/en-US/firefox/" title="Firefox is da best" target="_blank">Firefox</a>.</p>
<h3>13] Make a library.</h3>
<p>In most programs, you end up reusing something that you once made a while ago. It always helps to keep a well organised library of all your reusable files. This especially applies when you&#8217;re working with Flash, where you can keep track of loops, buttons, timers, code snippets, and symbols. This centralised library can also help keep you&#8217;re work consistent.</p>
<h3>14] Save. Save. Save. Save again.</h3>
<p>Are you getting the message? No matter how decent your computer is, don&#8217;t leave yourself in a position where you could lose all of your days work in one flick of a switch. Sometimes it helps to have had a dodgy computer in the past, as I now save every time I leave the window I&#8217;m working in. Sometimes my Mac just won&#8217;t play ball, and the only option is a reboot. Don&#8217;t let a reboot ruin your day.</p>
<h3>15] Collaborate.</h3>
<p>We never let things go before we&#8217;re completely happy about the final version. Working together means you can share your ideas as mentioned before, but also give critique to one another before finalising the design. These friendly, supportive criticisms can save you from harsher comments later on from your boss or client. Working together is also a whole lot more fun.</p>
<h3>16] Do it right first time.</h3>
<p>It&#8217;s not always easy, but ensuring you have tested your site across browsers thoroughly before putting it out in the open will ensure your customers and clients are a lot more happy. This sort of service is what a lot of clients will look out for when choosing someone to design (or redesign) their site.</p>
<h3>17] Save your repeated actions</h3>
<p>In a lot of applications you can end up doing the same tasks over and over again. For example in Photoshop you can save repeated procedures as &#8220;actions&#8221;. If you happen to be a Mac user and have OS X Tiger, you can use Automator to run repetitive aspects of your work flow for you. To be honest, I have never really got on with &#8220;Auto&#8221;, but I know a lot of people find it really helpful.</p>
<h3>18] Your assets&#8217; greatest asset.</h3>
<p>Keeping track of your assets can be a challenge, but it&#8217;s important you keep them how YOU want. Everyone has a different way of working. For example, when working on a site, I keep all of my full res and vector images in an entirely separate folder to the site, and when it comes to getting final composites ready for the web, I export at a compressed size to the respective folder of the site. One of the reasons why I like Illustrator so much is because there&#8217;s no need to worry about starting off at a large resolution, due to the vector based design. This is important in Photoshop, where it&#8217;s always best to start off big, and scale down when you need to.</p>
<h3>19] Simplify.</h3>
<p>Striving for simplicity may not seem too tricky at first, but when you have a wealth of ideas, it&#8217;s important not to complicate and distort your original message. If you are using a lot of complex visual elements, try to keep the colours simple, and vice versa. This way, your colours and design won&#8217;t compete with each other.</p>
<h3>20] Experience is everything.</h3>
<p>The longer you have worked in design, the more experienced you become. Spending more time focusing on the applications you use can really speed up your production, making you more efficient and more knowledgeable of their feature sets.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/07_05_17_lq_50_designer_softskills.jpg" alt="Software Skills" /></p>
<p>Don&#8217;t be a bad workman and blame your tools. Ensure you know your applications like the back of your hand.</p>
<h3>21] Naming Files.</h3>
<p>Often overlooked, but naming your files in an organised and consistent way really helps you see how things have progressed, and what file belongs where. Never EVER attach &#8220;final&#8221; to a filename, because you will always go back to it and change it. Eventually you&#8217;ll have a folder full of twenty newer versions of that &#8220;final&#8221; revision. I have got into the habit of naming my work and putting &#8220;01&#8243;, &#8220;02&#8243; etc after it so I can see how many revisions I have made easily, and recall an older one to compare quickly.</p>
<h3>22] Gradients in Flash.</h3>
<p>The default green to black gradient in Flash is evil. Don&#8217;t use it. Ever.</p>
<h3>23] Another layer of Photoshop Cake.</h3>
<p>Always try to use as many layers as possible when working in Photoshop, avoiding merging them together. The worst thing possible is doing an amazing composition and thinking &#8220;actually, I think I&#8217;ll change that&#8221; and realising you merged those 2 layers. What&#8217;s worse is if you have gone past its history state, meaning even if you undo the last 50 changes you have made, there will still be nothing you can do!</p>
<h3>24] Use a pen and paper.</h3>
<p>In this day and age, it&#8217;s getting less and less common to use a pen and paper (I hope you remember what they look like). Try sketching a few images out and scanning them in. Bring them into Photoshop and play around for a bit. This can really help you build a more organic and original feel to your work.</p>
<h3>25] Play with Colour. Like no other.</h3>
<p>After creating your image in Illustrator, or whichever application you use, try modifying the colours slightly by pulling it into Photoshop. This can really help you to unify the final colour of the composition.</p>
<h3>26] Buy a new computer.</h3>
<p>Call that a tip?! Well, it&#8217;s often forgotten, but the apps on the shelves today are getting faster and faster. To be honest, if your computer is more than 5 years old it&#8217;s time to consider an upgrade. Obviously your requirements are going to be unique: 3D animation is a whole lot more demanding than print design, but never the less, the faster your computer, the faster you can work. Many designers prefer Macs (I do), but PCs can run all of the applications that Adobe provide, and a few more. The PC vs. Mac argument is entirely up to you.</p>
<h3>27] More RAM.</h3>
<p>Just bought a new computer? Time to buy more RAM. Can&#8217;t afford a new computer right now? Buy more RAM. All the small jobs, like working on a couple of images, writing on your site, and playing back previews in Flash build up to devour any RAM you have. It&#8217;s as simple as this. Buy more RAM and you&#8217;ll be able to work faster.</p>
<h3>28] Get more plug ins.</h3>
<p>No matter which application you use, there&#8217;s almost always more plug ins available. Getting new filters and effects for Photoshop can greatly help you improve and speed up your work. <a href="http://www.adobe.com/products/plugins/photoshop/index.html" title="Photoshop CS3 Plug ins" target="_blank">Adobe&#8217;s own site</a> is great for Photoshop plug ins.</p>
<h3>29] Gradients in Photoshop.</h3>
<p>To avoid the horrid &#8220;banding&#8221; that occurs when printing gradients in Photoshop, add a little noise to the layer. Obviously the amount of noise varied depending on canvas size and resolution.</p>
<h3>30] Learn more.</h3>
<p>Buy a few books, and visit a few of the websites that have been created to teach you how to use the software you own. For example, when I was learning Flash, the first thing I did was go out and buy a book. <a href="http://www.samspublishing.com/index.asp?rl=1" title="Sams Publishing" target="_blank">Sams Publishing</a> run a great series of books claiming to teach you [app name or programming language] in 24 hours.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/07_05_17_lq_50_designer_finishing.jpg" alt="Finishing Work" /></p>
<p>A good designer checks his work. A great designer double checks it.</p>
<h3>31] Ask your friend.</h3>
<p>Get a friend or someone nearby to give their thoughts on your work. Even if they&#8217;re not a designer, it always helps to get another perspective on your work.</p>
<h3>32] Do some Acrobatics.</h3>
<p>If you have to send a piece of work for printing (gasp), check, double check, and triple check everything in Adobe Acrobat Professional. Things you should look for are overprints, spot colours, trapping, and knock-outs. Doing this simple step thoroughly will save a ton of time, and money.</p>
<h3>33] Add texture.</h3>
<p>To give pieces a more organic feel, consider adding hand made gestures, and bringing a texture to your work. Don&#8217;t over do the organic additions, though, ultimately you should know when the work is complete.</p>
<h3>34] Bring a little shade in.</h3>
<p>Adding a few shadows, and darker areas can really enhance your work. These little touches can really create a flow in your work, especially if using vectors, as they bring a little smoothness to an otherwise sharp composition.</p>
<h3>35] Take a Break. Then Stare Until your eyes hurt.</h3>
<p>Once you are nearing completion of a project, try taking a break, going outside, and looking at other things- anything, for a few minutes. Then come back, and stare at the project again, for ages, looking for anything that could be changed for the better. Specifically look for colours that could be made stronger or weakened in images. In sites, look for the simple things that you would assume are correct, like links. There&#8217;s almost always at least one link where you have forgotten to put &#8220;http://&#8221; beforehand.</p>
<h3>36] Stop. STOP!</h3>
<p>Knowing when enough is enough is an essential skill. As time goes on you will get better at knowing when a piece is at its peak. Not every cake needs a cherry on top.</p>
<h3>37] Print finishes.</h3>
<p>Once your work leaves the computer, it doesn&#8217;t have to stop having any creative input. There&#8217;s a whole universe of ways you can dramatically enhance your work in print that are just impossible when it&#8217;s on screen. For example, you could try using metallic inks, foil blocking, embossing, and die-cutting. These effects can even be used together to create a really unique and inventive composition.</p>
<h3>38] Prepare yourself.</h3>
<p>When working with motion projects and animation you need to be prepared. Compressing clips early on in a project will eventually grow into a noticeably poor quality shot. Don&#8217;t compress anything until the final cut, and even then, keep a full, high quality version somewhere safe. Just in case.</p>
<h3>39] Proof read.</h3>
<p>They always said so at school: check your work before handing it in. Always ensure you re read work, and then pass it over to someone else and then someone else again. Get as many people to read your work as possible, ensure it all makes sense, and you&#8217;ll be fine.</p>
<h3>40] Return to the brief.</h3>
<p>Once you feel you&#8217;ve finished, give the project back to the team. Ensure everyone likes (maybe that&#8217;s a strong word, shall we say &#8220;doesn&#8217;t hate&#8221;) it. This is where you need to evaluate whether or not it meets the original brief, and if you have kept closely to your original idea.</p>
<p><img src="http://static.gosquared.com/images/liquidicity/07_05_17_lq_50_designer_avoid.jpg" alt="What to avoid" /><br />
Don&#8217;t dwell on your mistakes. Learn from them, and move on. (Heard that before?)</p>
<h3>41] Never ever rely on the spell checker.</h3>
<p>I really can&#8217;t emphasize this enough. Ensuring your text has no mistakes will not guarantee you more work, but letting work go out with mistakes will guarantee you being unpopular with your clients.</p>
<h3>42] Work with clients, not against them.</h3>
<p>Your clients may seem to be the ones holding you back, but they&#8217;re the ones that you need to listen to. Think of them as the ones who will lead you to the starting post and get you off in the right direction.</p>
<h3>43] Re re read.</h3>
<p>Again, it&#8217;s all about checking. Especially when writing emails, for example, don&#8217;t fill in the address bar until last. Not only does this avoid accidental sending of an unfinished email, but it also forces you to write it in full, and to think twice before sending it. Re read your own emails at least twice. You can&#8217;t just &#8220;undo&#8221; a sent email. If only&#8230;</p>
<h3>44] Stick to the brief like honey sticks to toast.</h3>
<p>A lot of companies try very hard, in fact too hard to win a pitch, and come across to potential clients as desperate. Just ensure you do what it says in the brief, and no more. This way you will save time and money.</p>
<h3>45] Specifics.</h3>
<p>Just ensure you are specific about what you are offering. If a client asks for something you are going to find difficult, make it clear that they will either have to give you more time, more money, or just leave it. Simple as that.</p>
<h3>46] Do what you do best.</h3>
<p>Don&#8217;t try to win clients who are going to demand more from you than you can offer. If you&#8217;re an amazing web designer, don&#8217;t go trying to dabble in professional 3D animation because it just won&#8217;t work. Stick to one thing, and show everyone else how awesome you are at it.</p>
<h3>47] Keep a back up of everything.</h3>
<p>Too often, I have lost files due to a disk error, or over written a folder by accident. These sorts of incidents are even more common with web design, when several members of a team have access to upload any files they want to the server. However, when running a site, you can also avoid loosing online files by ensuring everyone makes a copy of all the files on the server on a regular basis. You can even get scripts that will run a daily backup for you. For back up on your local machine, there&#8217;s already a plethora of options, but in OS X Leopard, the next version of the Mac OS, there will be a new back up utility called Time Machine, which will ensure everything is constantly backed up to an external hard disc. It can&#8217;t come soon enough.</p>
<h3>48] Never assume anything.</h3>
<p>Never *ass**u**me*: it will make an *ass* out of *u* and *me*. Too many times, people make assumptions and then kick themselves when it&#8217;s too late. For example, sending something off for printing, assuming the colours are all correct without a pre-print mock-up.</p>
<h3>49] Justify yourself.</h3>
<p>If you want to make a statement, or do something a little differently, many clients will say outright &#8220;No.&#8221; Try giving them a persuasive and valid reason for the decision, however, and they may feel more inclined to let you go with it.</p>
<h3>50] Don&#8217;t over sell yourself.</h3>
<p>Be up front and clear about what you are able to do. The last thing you want to do is make the client think you&#8217;re the best thing since sliced bread, and let them down at every stage of the project. Treat clients as they deserve. That&#8217;s all I&#8217;ll say.</p>
<p>Man I need a coffee.</p>
<p>You might also like: <a href="http://www.gosquared.com/liquidicity/archives/33" title="CSS Help Sheet">CSS Help Sheet</a>, <a href="http://www.gosquared.com/liquidicity/archives/81" title="Colour">Colour</a>, <a href="/liquihttp://www.gosquared.comdicity/archives/70" title="165 Vector Icons for free">165 Vector Icons (for free)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gosquared.com/liquidicity/archives/114/feed</wfw:commentRss>
		<slash:comments>218</slash:comments>
		</item>
		<item>
		<title>Pie Charts in Illustrator</title>
		<link>http://www.gosquared.com/liquidicity/archives/103</link>
		<comments>http://www.gosquared.com/liquidicity/archives/103#comments</comments>
		<pubDate>Mon, 14 May 2007 21:11:37 +0000</pubDate>
		<dc:creator>James Gill</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.gosquared.com/liquidicity/archives/103</guid>
		<description><![CDATA[Pie Charts are the epitome of boring. Ughh. Figures again. To top off the boringness, it usually means joining Excel in a joyful number crunching, board room pleasing game. It doesn&#8217;t have to be as painful for us designers though. Our friend Illustrator can be a saviour when it comes to putting together a few [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_how_to_pie_1.jpg" alt="Illustrator likes Pie" /></p>
<p>Pie Charts are the epitome of boring. Ughh. Figures again. To top off the boringness, it usually means joining Excel in a joyful number crunching, board room pleasing game.</p>
<p>It doesn&#8217;t have to be as painful for us designers though. Our friend Illustrator can be a saviour when it comes to putting together a few pies for those presentations. Just follow a few simple steps, and you&#8217;ll view pie charts in a whole new light!</p>
<p><img src="http://www.gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_how_to_pie_2.jpg" alt="Breakdown of time spent on web development" /></p>
<p>That&#8217;s my completed pie chart, showing the breakdown of time we seem to end up spending on web development. Here&#8217;s how to make it.</p>
<p><img src="http://www.gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_how_to_pie_3.jpg" alt="The Pie Chart Tool" /></p>
<p>First of all, let&#8217;s open Illustrator and make a new document [always helps!].  Click on the <strong>pie chart</strong> tool in the tools palette, as shown above. By default, the column graph tool will be shown, so click and hold the icon down to show all of the graph tools, and select the pie chart tool.</p>
<p>Now draw a rectangle to show how large you want your pie chart to be. Alternatively, you can just click anywhere on the canvas and enter the dimensions you would like by hand. As soon as you have entered the dimensions you will be greeted by the data entry palette shown above. Now enter the figures you want to show in a row. If you would like a legend, enter your titles in the first row. Once you&#8217;ve put in all the information you want, hit the tick button and close the data entry palette.</p>
<p><img src="http://www.gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_how_to_pie_4.jpg" alt="Apply Some Colour" /></p>
<p>By default, Illustrator colours pie charts in grey scale. I suppose this is handy if you need to make photocopies for all of the other office slaves who might need to read it, but it&#8217;s usually a good idea to bring some colour to your presentations whenever you can. By clicking on the <strong>Direct Selection</strong> tool from the tool palette (short cut: <strong>control</strong> or <strong>alt</strong> <strong>A</strong>), you can select each slice of the pie individually, and change it&#8217;s colour by choosing from the colour palette.</p>
<p>Now that you&#8217;ve coloured your pie chart, you&#8217;re pretty much done. However, if you want to really impress your colleagues, we can take it to the 3rd dimension.</p>
<p><img src="http://www.gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_how_to_pie_5.jpg" alt="Taking it to the 3rd dimension" /></p>
<p>To get yourself some 3d pie, just select your pie chart, and go to <strong>Effect &gt; 3D &gt; Extrude &amp; Bevel&#8230;</strong> This will bring up the 3d palette as shown above. Choose Isometric Top from the drop down menu. You can move the cube around to get the angle you want, or manually enter the digits (Excel users will feel at home on that front). I found that the best balance between readability and looks went like this:</p>
<p>From top to bottom in the angle boxes: <strong>45</strong>, <strong>35</strong>, <strong>-30</strong> degrees.</p>
<p>Extrude to about <strong>20</strong> or <strong>30</strong>pt.</p>
<p>Keep surface as <strong>Plastic Shading</strong>.</p>
<p>It also helps and saves time if you check the <strong>Preview</strong> option, so you can see what the finished pie chart will look like without having to close and reopen the 3d Extrude &amp; Bevel window hundreds of times. Once you have found the ideal angle and look, hit <strong>OK</strong>.</p>
<p><img src="http://www.gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_how_to_pie_6.jpg" alt="Apply Drop Shadow" /></p>
<p>To finish it off, and give your colleagues that even bigger desire to copy your presentation and design skills, add a subtle drop shadow. Shown here, the shadow has an <strong>X-offset</strong> of <strong>0</strong> and a <strong>Y-offset</strong> of <strong>2</strong>. The shadow has a <strong>blur</strong> of<strong> 3</strong>.</p>
<p>Ta da! You&#8217;re done. And because you have applied all of these effects without doing any expanding or flattening, you can still edit your data. Have a go yourself, you know you want to.</p>
<p>Oh, and I&#8217;ve included an Illustrator file just for you to play around with <img src='http://www.gosquared.com/liquidicity/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://www.gosquared.com/images/help_sheets/how_to_pie_01.ai" title="Ai"><img src="http://www.gosquared.com/images/doc_ai_icon.png" title="Ai" alt="Ai" align="left" height="48" width="48" /></a><br />
<a href="http://www.gosquared.com/images/help_sheets/how_to_pie_01.ai" title="Ai">Get the Adobe Illustrator CS2 File [1.7MB]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gosquared.com/liquidicity/archives/103/feed</wfw:commentRss>
		<slash:comments>64</slash:comments>
		</item>
		<item>
		<title>Love Colour? Love These.</title>
		<link>http://www.gosquared.com/liquidicity/archives/81</link>
		<comments>http://www.gosquared.com/liquidicity/archives/81#comments</comments>
		<pubDate>Mon, 07 May 2007 12:31:16 +0000</pubDate>
		<dc:creator>James Gill</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[liquidicity]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://gosquared.com/liquidicity/archives/81</guid>
		<description><![CDATA[Colour*. One of those difficult subjects &#8211; especially if you&#8217;re in design. Web pages, posters, magazines. You need to be good at choosing and using colours if you want to work in design. As you know. So we&#8217;ve put together our selection of the best sites on the web that are devoted to colour. We [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_colour_lovers_1.jpg" alt="Colour Lovers" /></p>
<p>Colour*. One of those difficult subjects &#8211; especially if you&#8217;re in design. Web pages, posters, magazines. You need to be good at choosing and using colours if you want to work in design. As you know. So we&#8217;ve put together our selection of the best sites on the web that are devoted to colour. We hope this will shine a little light on the subject for you.</p>
<p><a href="http://www.colourlovers.com/" title="COLOURlovers" target="_blank">COLOURlovers</a></p>
<p>One of our favourite sites on colour, with a growing number of users [or "lovers"] which can only bring more expertise to a community passionate about the topic. Users can submit and rate colour palettes, making it easier to choose a colour scheme that works. Advanced options like the trends in the use of colours in magazines and web sites, and a brilliant search means the site is gaining a strong reputation with professionals.</p>
<p><img src="http://gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_colour_lovers_01.jpg" alt="COLOURlovers" /></p>
<p><a href="http://www.ficml.org/jemimap/style/color/wheel.html" title="4096 Color Wheel" target="_blank">4096 Color Wheel</a></p>
<p>A very helpful little colour wheel that is amazingly easy to use: just hover over the whell, and 3 of the nearest colours to your cursor will be displayed, along with their hex codes and similar colours. Brilliant.</p>
<p><img src="http://gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_colour_lovers_02.jpg" alt="4096 Color Wheel" /></p>
<p><a href="http://wellstyled.com/tools/colorscheme2/index-en.html" title="Color Scheme Generator" target="_blank">Color Scheme Generator</a></p>
<p>This tool is based on a colour wheel, which generates monochromatic, contrast, triad, tetrad, and analogic color schemes. Basically it is really good at helping to pick colour schemes that work together.</p>
<p><img src="http://gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_colour_lovers_03.jpg" alt="Color Scheme Generator" /></p>
<p><a href="http://pourpre.com/colordb/?l=eng" title="Color Database" target="_blank">The Color Database</a></p>
<p>A very handy and strong colour picking tool that has stood the test of time with plenty of designers.</p>
<p><img src="http://gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_colour_lovers_041.jpg" alt="The Color Database" /></p>
<p><a href="http://beta.dailycolorscheme.com/" title="Daily Color Scheme" target="_blank">Daily Color Scheme</a></p>
<p>A handy new colour palette for every day of the week. Usually inspired by a respectable designer.</p>
<p><img src="http://gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_colour_lovers_05.jpg" alt="Daily Color Scheme" /></p>
<p><a href="http://kuler.adobe.com/" title="Kuler" target="_blank">Kuler</a></p>
<p>This is from the big guys: Adobe. If they have a site for colour, it must be important. In fact, it is one of the best sites there is. Entirely made in Flash, the interface is absolutely fantastic. Try it. You won&#8217;t be disappointed.</p>
<p><img src="http://gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_colour_lovers_06.jpg" alt="Kuler" /></p>
<p><a href="http://colorblender.com/" title="Color Blender" target="_blank">Color Blender</a></p>
<p>A cool little tool that matches real life colours to their digital equivalents, and generates a palette of complimentary colours.</p>
<p><img src="http://gosquared.com/liquidicity/wp-content/uploads/2007/05/lq_colour_lovers_07.jpg" alt="Color Blender" /></p>
<p>*Color or Colour, depending on where you live.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gosquared.com/liquidicity/archives/81/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
