<?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>Musings of ErisDS &#187; Technology</title>
	<atom:link href="http://erisds.co.uk/category/technology/feed" rel="self" type="application/rss+xml" />
	<link>http://erisds.co.uk</link>
	<description>Web development, Symfony, Wordpress and general geekery</description>
	<lastBuildDate>Sat, 07 Jan 2012 10:29:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>An assortment of useful linux commands</title>
		<link>http://erisds.co.uk/technology/an-assortment-of-useful-linux-commands</link>
		<comments>http://erisds.co.uk/technology/an-assortment-of-useful-linux-commands#comments</comments>
		<pubDate>Mon, 03 Oct 2011 17:35:13 +0000</pubDate>
		<dc:creator>ErisDS</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[development environment]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://erisds.co.uk/?p=2213</guid>
		<description><![CDATA[This is a totally random post full of linux commands that I find useful but am always forgetting. I use linux at work and also on a command-line-only VM at home. I&#8217;m always battling with it, largely because I&#8217;m a noob. Usually after a couple of hours of playing with it I have a head [...]]]></description>
			<content:encoded><![CDATA[<p>This is a totally random post full of linux commands that I find useful but am always forgetting. I use linux at work and also on a command-line-only VM at home. I&#8217;m always battling with it, largely because I&#8217;m a noob. Usually after a couple of hours of playing with it I have a head full of really useful commands. However the next time I run into a problem I won&#8217;t remember any of them.</p>
<p>To prevent that happening again, this is a brain dump of all the commands I really, really should remember.</p>
<h2>Installing stuff</h2>
<p>You want to install something:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #666666; font-style: italic;">####</span></div></td></tr></tbody></table></div>
<p>Keeping things up-to-date:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> upgrade</div></td></tr></tbody></table></div>
<p>It seems that a lot of the time aptitude is actually better at this stuff?</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> full-upgrade</div></td></tr></tbody></table></div>
<p>Cleaning up:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> autoclean<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> clean</div></td></tr></tbody></table></div>
<p>(or use aptitude)</p>
<p>Something won&#8217;t install because you&#8217;ve not got access to it (it&#8217;s not available for your distro etc). You probably need to find a URL for a &#8220;PPA&#8221; from somewhere like <a href="http://launchpad.net" title="launchpad.net" target="_blank">http://launchpad.net</a> (Try Googling &#8220;project-name ppa site:launchpad.net&#8221; &#8211; thanks <a href="http://twitter.com/#!/Keithamus" title="Keithamus on Twitter" target="_blank">@Keithamus</a>) to add to:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list</div></td></tr></tbody></table></div>
<p>These usually require keys which are provided with the URL. To add the key:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-key</span> adv <span style="color: #660033;">--keyserver</span> keyserver.ubuntu.com <span style="color: #660033;">--recv-keys</span> <span style="color: #666666; font-style: italic;">###key###</span></div></td></tr></tbody></table></div>
<p>There&#8217;s loads of useful information about this here: <a href="https://launchpad.net/+help/soyuz/ppa-sources-list.html" title="PPA Sources Help" target="_blank">https://launchpad.net/+help/soyuz/ppa-sources-list.html</a></p>
<h3>Where am I / it ?</h3>
<p>What version of ubuntu am I on?</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>issue</div></td></tr></tbody></table></div>
<p>Where is something installed (e.g. mysql)</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">which</span> mysql</div></td></tr></tbody></table></div>
<p>Where are the files located?</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">locate</span> mysql</div></td></tr></tbody></table></div>
<p>You probably want to pipe that into less</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">locate</span> mysql <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">less</span></div></td></tr></tbody></table></div>
<p>To find a file with a specific file name the syntax is:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">find</span> PATH <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'FILENAME'</span></div></td></tr></tbody></table></div>
<p>An example might be:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'myfile.txt'</span></div></td></tr></tbody></table></div>
<p>To find text within a file the syntax is:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-r</span> <span style="color: #ff0000;">'SEARCH'</span> PATH</div></td></tr></tbody></table></div>
<p>An example might be</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-r</span> <span style="color: #ff0000;">'Hello World'</span> <span style="color: #000000; font-weight: bold;">/</span></div></td></tr></tbody></table></div>
<p>I always forget the -r to make it recursive and wonder why it doesn&#8217;t work.</p>
<h3>Samba</h3>
<p>Samba broke? Go Windows stylee &amp; restart it:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>samba restart</div></td></tr></tbody></table></div>
<p>Still broke? Get a more useful error message from Windows by going into the command prompt and typing</p>
<div class="codecolorer-container dos twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">net use m: \\ip-address\service</div></td></tr></tbody></table></div>
<p>(Yes OK this is a Windows command not a linux one&#8230;)</p>
<p>Perhaps it doesn&#8217;t recognise the username/password combo:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> smbpasswd –a username</div></td></tr></tbody></table></div>
<p>(and enter a new password when prompted)</p>
<p>Still broke? You might need to do some reconfiguring in the config file. Remember to check that everything has the access privileges it needs</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>samba<span style="color: #000000; font-weight: bold;">/</span>smb.conf</div></td></tr></tbody></table></div>
<h3>Noob</h3>
<p>Yep, I are one! Like a linux redneck. I use a dash of trial and error mixed with a pinch of brute force, but normally I win in the end :D Hope someone else finds these useful. Also, yes I pretty much sudo everything. Sudo make me a sammich and all that jazz.<br />
See something really bad here? Please enlighten me, but be gentle!</p>
]]></content:encoded>
			<wfw:commentRss>http://erisds.co.uk/technology/an-assortment-of-useful-linux-commands/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today I learnt Git&#8230;</title>
		<link>http://erisds.co.uk/technology/today-i-learnt-git</link>
		<comments>http://erisds.co.uk/technology/today-i-learnt-git#comments</comments>
		<pubDate>Tue, 28 Dec 2010 23:54:57 +0000</pubDate>
		<dc:creator>ErisDS</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://erisds.co.uk/?p=1774</guid>
		<description><![CDATA[<a href="http://git-scm.com/"><img src="http://erisds.co.uk/wp-content/uploads/2010/12/git-150x150.png" alt="" title="Git Logo" width="150" height="150" class="alignleft size-medium wp-image-1800" /></a>I've been toying with <a href="http://git-scm.com/" title="Git Version Control">Git </a>for a while now. I've had it installed on my computer, I've read about it, I've got an account on <a href="http://github.com" title="GitHub - Social Coding">GitHub</a> and I've even forked a few things (tee hee). But today I've gotten serious. I've decided to manage my next few personal projects with Git instead of SVN, and try to add it as another tool in my personal web armoury. 


Related posts:<ol><li><a href='http://erisds.co.uk/internet/my-web-hosting-nightmare' rel='bookmark' title='Permanent Link: My Web Hosting Nightmare&#8230;'>My Web Hosting Nightmare&#8230;</a><small>This past week and a half I have "moved home"...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://git-scm.com/" target="_blank"><img src="http://erisds.co.uk/wp-content/uploads/2010/12/git-150x150.png" alt="" title="Git Logo" width="150" height="150" class="alignleft size-medium wp-image-1800" /></a>I&#8217;ve been working with <a href="http://subversion.tigris.org/" title="Subversion Version Control" target="_blank">SVN</a> for a couple of years. I&#8217;m familiar with it now, it no longer seems like a militant policing system that enforces rules on my way of working, and instead feels like a reliable old friend who looks out for me when I inevitably cock something up. SVN is pretty cool.</p>
<p>Getting comfortable makes me antsy. Being familiar with one tool, and one tool only for a particular job, is in my mind, a very bad habit. It&#8217;s a bad habit because that&#8217;s what these things become &#8211; I use them out of habit, not because they are good, or the right tool for the job, but because it&#8217;s what I know, and like and am comfortable with. My comfort zone makes me uncomfortable.</p>
<p>I&#8217;ve been toying with <a href="http://git-scm.com/" title="Git Version Control" target="_blank">Git </a>for a while now. I&#8217;ve had it installed on my computer, I&#8217;ve read about it, I&#8217;ve got an account on <a href="http://github.com" title="GitHub - Social Coding target="_blank"">GitHub</a> and I&#8217;ve even forked a few things (tee hee). But today I&#8217;ve gotten serious. I&#8217;ve decided to manage my next few personal projects with Git instead of SVN, and try to add it as another tool in my personal web armoury. </p>
<h2>Getting Git</h2>
<blockquote class="alignright halfwidth"><p><em>&#8220;My comfort zone makes me uncomfortable.&#8221;</em></p></blockquote>
<p>First things first, I&#8217;ve just installed it on my Ubuntu Virtual Machine. Linux is something I&#8217;ve been working with for a long time, but never really gotten comfortable with or particularly used to&#8230; another reason to invest some time setting up Git, as very soon I will be working pretty exclusively with Linux (but that&#8217;s another story).</p>
<p>With Git installed, I could use a local repository for my projects, but that seems kinda pointless &#8211; sure if I stuff up a change, I can go back to an earlier version, but if I corrupt my VM then what? I could also use my account on <a href="http://github.com" title="GitHub - Social Coding" target="_blank">GitHub</a>, but as it&#8217;s just some testing/playgrounds, it seems odd to make it public. Instead I&#8217;ve decided to use my lovely <a href="http://unfuddle.com/" title="Unfuddle SVN and Git Hosting">Unfuddle</a> account. Unfuddle lets me create fully backed up SVN and/or Git repositories on a free account, it&#8217;s pretty damn awesome!</p>
<p>Setting up a public key. Another one of those tasks that seems like it would be infinitely complicated, yet when you follow along with <a href="http://unfuddle.com/docs/topics/ssh_keypair" target="_blank">the documentation</a> it suddenly becomes easy. Git mastery here I come.</p>
<p>My exploration into Git, GitHub and the underbelly of linux is all in aid of my desire to play around with the latest and greatest version of <a href="http://symphony-cms.com/" title="Symphony CMS" target="_blank">Symphony CMS</a> &#8211; one of my favourite things the internet has to offer. So far I&#8217;ve managed to clone Symphony&#8217;s Git Repository from GitHub, setup my own Git repository on Unfuddle, and get my local project setup so that I can pull Symphony updates from one repository, and keep my own project-specific modifications in my own repository &#8211; meaning all the talk I&#8217;ve heard of Git having nothing to equal svn:externals is complete rubbish! Great :)</p>
<p>Final Git task.. make some custom modifications and save them back to my own repository. So I&#8217;ve &#8220;git committed&#8221; and spent ages wondering why my changes aren&#8217;t appearing in my private repository.. surely I can&#8217;t have committed to the Symphony repository &#8211; it&#8217;s read only? Only to discover that the whole point of Git of course, is that my commits are local, I have to &#8220;git push&#8221; them to the repository. Magic.</p>
<p>Well that&#8217;s the end of the beginning of my journey with Git. I feel like I&#8217;ve gotten the basics of how to do stuff, although the &#8220;why&#8221; and the underlying principles are still somewhat groggy. I&#8217;m sure it&#8217;ll make sense over time, and when I feel familiar I&#8217;ll post about the differences between SVN and Git and what each one is good/bad for.</p>
<p>G&#8217;Night.</p>
<h3>Resources</h3>
<p>A couple of things I&#8217;ve used to learn Git:</p>
<ul>
<li><a href="http://progit.org/book/" title="Free online pro git book">Pro Git Book (online version)</a></li>
<li><a href="http://symphony-cms.com/learn/articles/view/getting-git-for-symphony-development/" title="Git for Symphony Development">Git for Symphony Development</a></li>
<li><a href="http://unfuddle.com/docs/git" title="Unfuddle Git Documentation">Unfuddle Git Documentation</a></li>
<li><a href="http://www.kernel.org/pub/software/scm/git/docs/" title="Git Manual">Git Manual</a></li>
</ul>


<p>Related posts:<ol><li><a href='http://erisds.co.uk/internet/my-web-hosting-nightmare' rel='bookmark' title='Permanent Link: My Web Hosting Nightmare&#8230;'>My Web Hosting Nightmare&#8230;</a><small>This past week and a half I have "moved home"...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://erisds.co.uk/technology/today-i-learnt-git/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to view and extract Plesk backups</title>
		<link>http://erisds.co.uk/technology/how-to-view-and-extract-plesk-backups</link>
		<comments>http://erisds.co.uk/technology/how-to-view-and-extract-plesk-backups#comments</comments>
		<pubDate>Tue, 19 Oct 2010 10:26:48 +0000</pubDate>
		<dc:creator>ErisDS</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://erisds.co.uk/?p=1326</guid>
		<description><![CDATA[<a href="http://erisds.co.uk/wp-content/uploads/2010/10/uudeview_start.png"><img src="http://erisds.co.uk/wp-content/uploads/2010/10/uudeview_start-150x150.png" alt="" title="uudeview_start" width="150" height="150" class="alignleft size-thumbnail wp-image-1739" /></a>
Have you ever had a minor developmental nightmare and needed quick access to a <a title="Plesk" href="http://www.parallels.com/uk/products/plesk/" target="_blank">Plesk</a> backup? Lost some data or needed a reference point and just wanted to get at a database's SQL without having to do a full restore? Perhaps you've just wondered what a Plesk backup was &#38; what is in it?


Related posts:<ol><li><a href='http://erisds.co.uk/wordpress/upgrading-old-wordpress-installs-not-as-scary-as-you-think' rel='bookmark' title='Permanent Link: Upgrading old WordPress installs &#8211; not as scary as you think!'>Upgrading old WordPress installs &#8211; not as scary as you think!</a><small>Earlier this week I received an email requesting some help...</small></li>
<li><a href='http://erisds.co.uk/code/getting-rid-of-non-breaking-spaces-nbsp' rel='bookmark' title='Permanent Link: Getting Rid of Non Breaking Spaces (&amp;nbsp)'>Getting Rid of Non Breaking Spaces (&amp;nbsp)</a><small>Have you ever tried to parse, process or preg_replace some...</small></li>
<li><a href='http://erisds.co.uk/symfony/snippet-creating-debugging-complex-sql-queries-in-symfony' rel='bookmark' title='Permanent Link: Snippet: Creating &#038; Debugging Complex SQL queries in Symfony'>Snippet: Creating &#038; Debugging Complex SQL queries in Symfony</a><small>When working with large and complex datasets in Symfony, there...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://erisds.co.uk/wp-content/uploads/2010/10/uudeview_start.png"><img src="http://erisds.co.uk/wp-content/uploads/2010/10/uudeview_start-150x150.png" alt="" title="uudeview_start" width="150" height="150" class="alignleft size-thumbnail wp-image-1739" /></a><br />
Have you ever had a minor developmental nightmare and needed quick access to a <a title="Plesk" href="http://www.parallels.com/uk/products/plesk/" target="_blank">Plesk</a> backup? Lost some data or needed a reference point and just wanted to get at a database&#8217;s SQL without having to do a full restore? Perhaps you&#8217;ve just wondered what a Plesk backup was &amp; what is in it?</p>
<h2>What is it?</h2>
<p>Having worked exclusively with <a title="cPanel" href="http://www.cpanel.net/" target="_blank">cPanel</a> in the past, it was a bit of a shock to find that Plesk backups are not a simple gzipped dump of the files and database. Instead, Plesk uses a <a title="MIME" href="http://en.wikipedia.org/wiki/MIME" target="_blank">multi-part mime-encoded file</a> which is usually also packaged in an archive. This makes it much harder to extract the various parts if you don&#8217;t want to do a full restore.</p>
<h2>Getting inside</h2>
<p>The first step to extracting a Plesk backup is to unzip it. I always use the windows utility <a href="http://www.7-zip.org/">7zip</a> as this can handle pretty much all forms of archive, and it doesn&#8217;t matter if the backup is zipped, tarred, or gzipped.</p>
<p>If small enough, the resulting file can be opened in your email client. Because mime is an email format, the multi-part mime-encoded file will be opened with the various parts as though they are attachments to an email. I tried with <a href="http://www.mozillamessaging.com/en-GB/thunderbird/" title="Mozilla Thunderbird" target="_blank">Mozilla Thunderbird</a> and although it worked, it was very unstable and didn&#8217;t really provide a way to access the various parts/attachments.</p>
<p>Instead I use <a href="http://www.fpx.de/fp/Software/UUDeview/">UUDeview</a> which is a great tool for encoding and decoding mime and other binary files. Download and install the tool, then launch UUDeview. Click the &#8220;Add&#8221; button, and navigate to your newly extracted backup file. Next press preview and UUDeview will show you all the components of the backup which are available and which ones can be successfully decoded.</p>
<p><a href="http://erisds.co.uk/wp-content/uploads/2010/10/uudeview1.png"><img src="http://erisds.co.uk/wp-content/uploads/2010/10/uudeview1-600x565.png" alt="" title="uudeview" width="600" height="565" class="alignleft size-large wp-image-1734" /></a><br />
From the preview you can select and deselect the components you want to decode, and choose the path where you want the decoded files to be saved. Hit Go! and the magic happens :) I have found this generally works really well for extracting and decoding the mysql database dump. However, it doesn&#8217;t tend to do so well at extracting the files.</p>


<p>Related posts:<ol><li><a href='http://erisds.co.uk/wordpress/upgrading-old-wordpress-installs-not-as-scary-as-you-think' rel='bookmark' title='Permanent Link: Upgrading old WordPress installs &#8211; not as scary as you think!'>Upgrading old WordPress installs &#8211; not as scary as you think!</a><small>Earlier this week I received an email requesting some help...</small></li>
<li><a href='http://erisds.co.uk/code/getting-rid-of-non-breaking-spaces-nbsp' rel='bookmark' title='Permanent Link: Getting Rid of Non Breaking Spaces (&amp;nbsp)'>Getting Rid of Non Breaking Spaces (&amp;nbsp)</a><small>Have you ever tried to parse, process or preg_replace some...</small></li>
<li><a href='http://erisds.co.uk/symfony/snippet-creating-debugging-complex-sql-queries-in-symfony' rel='bookmark' title='Permanent Link: Snippet: Creating &#038; Debugging Complex SQL queries in Symfony'>Snippet: Creating &#038; Debugging Complex SQL queries in Symfony</a><small>When working with large and complex datasets in Symfony, there...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://erisds.co.uk/technology/how-to-view-and-extract-plesk-backups/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Review: PC Line PCL-MH36 PC Headset &#8211; Cheap as Chips!</title>
		<link>http://erisds.co.uk/technology/review-pc-line-pcl-mh36-pc-headset-cheap-as-chips</link>
		<comments>http://erisds.co.uk/technology/review-pc-line-pcl-mh36-pc-headset-cheap-as-chips#comments</comments>
		<pubDate>Thu, 16 Sep 2010 10:16:04 +0000</pubDate>
		<dc:creator>ErisDS</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://erisds.co.uk/?p=1649</guid>
		<description><![CDATA[Since the start of ExplicitWeb I have been using this cheap-as-chips headset. It&#8217;s done me proud, so I thought they deserved a super quick review before I replace them. Top marks for sound quality The proof is in the pudding! Take a listen to one of the episodes (4, 6 and 8 are my current [...]


Related posts:<ol><li><a href='http://erisds.co.uk/business/future-of-web-design-my-thoughts-two-months-on' rel='bookmark' title='Permanent Link: Future of Web Design London 2010: My thoughts two months on&#8230;'>Future of Web Design London 2010: My thoughts two months on&#8230;</a><small>Technology conferences are fun, an enormous amount of extremely geeky...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-1653" title="headset" src="http://erisds.co.uk/wp-content/uploads/2010/09/headset-270x300.png" alt="" width="270" height="300" /><br />
Since the start of <a href="http://explicitweb.co.uk" title="ExplicitWeb Design &#038; Development Podcast" target="_blank">ExplicitWeb</a> I have been using this <a href="http://www.pcworld.co.uk/gbuk/pc-line-pcl-mh36-pc-headset-00776223-pdt.html" title="PC Line PCL-MH36 PC Headset" target="_blank">cheap-as-chips headset</a>. It&#8217;s done me proud, so I thought they deserved a super quick review before I replace them.</p>
<h3>Top marks for sound quality</h3>
<p>The proof is in the pudding! Take a listen to one of the <a href="http://explicitweb.co.uk" title="ExplicitWeb Design &#038; Development Podcast" target="_blank">episodes</a> (<a href="http://explicitweb.co.uk/post/571850478/episode-4-direct-link-on-this-weeks-show" title="ExplicitWeb Episode 4">4</a>, <a href="http://explicitweb.co.uk/post/653783325/episode-6-future-of-web-design-psycho-babble" title="ExplicitWeb Episode 6" target="_blank">6</a> and <a href="http://explicitweb.co.uk/post/799618532/episode-8-google-analytics-twitter-content" title="ExplicitWeb Episode 8" target="_blank">8</a> are my current personal favourites) and you&#8217;ll find my voice is crisp and clear.</p>
<h3>Could do better with comfort</h3>
<p>This headset hurts. A real shame because all it needs is a bit of foam casing around the ear pieces. This is what killed the headset for me, my ears were always sore after recording an episode, or playing CoD:WAW for a while. Perhaps it&#8217;s just my ears though?</p>
<h3>Conclusion</h3>
<p>If you&#8217;re looking for something REALLY cheap and cheerful just to get you started with Skype or something and you either know you get on well with this style of earpiece or you don&#8217;t mind being a bit uncomfortable then I honestly doubt you&#8217;ll get better for a fiver&#8230; yes they&#8217;re just £5!!!</p>
<h3>The Future</h3>
<p>From Series 2, Episode 1 I will be using my all new headset: <a title="Creative HD800 Fatal1ty Gaming Headset" href="http://www.amazon.co.uk/gp/product/B000P5VR16?ie=UTF8&amp;tag=muofer-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=B000P5VR16" target="_blank">Creative HS800 Fatal1ty Gaming Headset, with detachable noise-cancelling microphone</a>. I&#8217;ll write a review once we&#8217;ve done a few episodes with it :)</p>


<p>Related posts:<ol><li><a href='http://erisds.co.uk/business/future-of-web-design-my-thoughts-two-months-on' rel='bookmark' title='Permanent Link: Future of Web Design London 2010: My thoughts two months on&#8230;'>Future of Web Design London 2010: My thoughts two months on&#8230;</a><small>Technology conferences are fun, an enormous amount of extremely geeky...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://erisds.co.uk/technology/review-pc-line-pcl-mh36-pc-headset-cheap-as-chips/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is WRONG with my iPhone?</title>
		<link>http://erisds.co.uk/technology/what-is-wrong-with-my-iphone</link>
		<comments>http://erisds.co.uk/technology/what-is-wrong-with-my-iphone#comments</comments>
		<pubDate>Tue, 19 Jan 2010 08:05:04 +0000</pubDate>
		<dc:creator>ErisDS</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://erisds.co.uk/?p=979</guid>
		<description><![CDATA[I've already filed a report on the Apple website &#038; am about to go phone them for help. I'm not expecting much &#038; I'm getting seriously frustrated. Maybe it's only on Windows 7, but the iPhone syncing progress seems to have some serious flaws.


Related posts:<ol><li><a href='http://erisds.co.uk/general/2009-review-and-aims-final-part' rel='bookmark' title='Permanent Link: 2009 Review and Aims Final Part'>2009 Review and Aims Final Part</a><small>Short, honest and to the point. The last 5 months...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_980" class="wp-caption alignleft" style="width: 310px"><a href="http://www.flickr.com/photos/shht/"><img class="size-full wp-image-980" title="iPhone problems" src="http://erisds.co.uk/wp-content/uploads/2010/01/iPhone.png" alt="" width="300" height="326" /></a><p class="wp-caption-text">Photo by Shht!</p></div>
<p>I&#8217;ve already filed a report on the Apple website &amp; am about to go phone them for help. I&#8217;m not expecting much &amp; I&#8217;m getting seriously frustrated. Maybe it&#8217;s only on Windows 7, but the iPhone syncing process seems to have some serious flaws.</p>
<p>I&#8217;ve had an iPhone for exactly a month today. In that time I have come to be totally addicted &amp; completely in love with the device. It&#8217;s sleek, stylish, easy-to-use and does everything I need from the device in my pocket. But it&#8217;s also BUGGY, really, really BUGGY to the point where it&#8217;s almost useless.</p>
<p>Just after Christmas I made the mistake of syncing my phone on my work machine, such that everything was erased from the phone. Ok, silly mistake, but <strong>it shouldn&#8217;t be that easy</strong> to wipe your mobile phone! When I got home and tried to sync everything back &#8211; it wouldn&#8217;t.</p>
<p>Each time I attempted to sync it would throw 3 or 4 unintelligable errors messages and then <strong>iTunes would refuse to recognised my iPhone</strong>. I&#8217;d then have to do a restore &amp; start over with the sync. Eventually I realised I could sync only by syncing 1 or 2 apps at a time &#8211; not the whole lot. Problem solved. No more accidental work syncing for me!</p>
<p>Last week I connected my phone up for a routine sync &#8211; I had some new music I wanted to get onto the phone for the weekend &#8211; but again it threw 3 or 4 unintelligable errors (like -48, -49 and -2ksomething) and <strong>failed to sync</strong>. Everything seemed ok with the iPhone, however halfway through my weekend away my apps started to do the <strong>&#8220;flash-and-crash&#8221;</strong> thing. This has happened before and turning the iPhone off and on again normally fixes it, but not this time! I read that some people had found <strong>installing a new app fixes it</strong>, so I tried that and luckily it worked.</p>
<p>Now I&#8217;m home and my iPhone isn&#8217;t recognised by iTunes anymore. I get a message saying &#8220;an iPhone has been previously synced with the machine&#8221; and allowing me to either set the iPhone up as a <strong>new phone</strong>, or<strong> restore from a really old backup</strong>. In addition, when using the<strong> iPod function it only plays one track and then crashes</strong>.</p>
<p>I&#8217;ve tried searching the net to see if others have this issue, and if there&#8217;s something I&#8217;m doing wrong. Maybe it&#8217;s Windows 7, maybe it&#8217;s cos I&#8217;m using Google Sync, or maybe there is some rogue app causing havoc during the syncing process. All I know is that losing all my data every 2 weeks is rendering my iPhone totally useless.</p>
<p>&lt;/rant&gt;</p>


<p>Related posts:<ol><li><a href='http://erisds.co.uk/general/2009-review-and-aims-final-part' rel='bookmark' title='Permanent Link: 2009 Review and Aims Final Part'>2009 Review and Aims Final Part</a><small>Short, honest and to the point. The last 5 months...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://erisds.co.uk/technology/what-is-wrong-with-my-iphone/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

