<?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>Alex Harvey</title>
	<atom:link href="http://alexharvey.eu/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexharvey.eu</link>
	<description>Python programming, Linux systems administration and the technology behind ecommerce</description>
	<lastBuildDate>Sun, 11 Dec 2011 10:02:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Richard St. John answers &#8220;What leads to success?&#8221;</title>
		<link>http://alexharvey.eu/etc/cool-stuff/what-leads-to-succes/</link>
		<comments>http://alexharvey.eu/etc/cool-stuff/what-leads-to-succes/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 09:59:41 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[success]]></category>
		<category><![CDATA[Ted.com]]></category>

		<guid isPermaLink="false">http://alexharvey.eu/?p=571</guid>
		<description><![CDATA[I found this on TED.com. Richard John has interviewed 500 successful people (like Bill Gates and Rupert Murdoch) and asked them &#8220;What leads to success?&#8221;. He explains in 3.5 minutes that to be successful you need these 8 points: Passion, do it for love not money. Work, work really hard. Good, you have to be [...]]]></description>
			<content:encoded><![CDATA[<p><object width="398" height="374"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always"/><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param><param name="flashvars" value="vu=http://video.ted.com/talk/stream/2005/Blank/RichardStJohn_2005-320k.mp4&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/RichardSt.John-2005.embed_thumbnail.jpg&#038;vw=384&#038;vh=288&#038;ap=0&#038;ti=70&#038;lang=&#038;introDuration=15330&#038;adDuration=4000&#038;postAdDuration=830&#038;adKeys=talk=richard_st_john_s_8_secrets_of_success;year=2005;theme=how_we_learn;theme=presentation_innovation;theme=not_business_as_usual;event=TED2005;tag=Business;tag=Culture;tag=Entertainment;tag=education;tag=happiness;tag=psychology;tag=short+talk;tag=work;&#038;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="398" height="374" allowFullScreen="true" allowScriptAccess="always" flashvars="vu=http://video.ted.com/talk/stream/2005/Blank/RichardStJohn_2005-320k.mp4&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/RichardSt.John-2005.embed_thumbnail.jpg&#038;vw=384&#038;vh=288&#038;ap=0&#038;ti=70&#038;lang=&#038;introDuration=15330&#038;adDuration=4000&#038;postAdDuration=830&#038;adKeys=talk=richard_st_john_s_8_secrets_of_success;year=2005;theme=how_we_learn;theme=presentation_innovation;theme=not_business_as_usual;event=TED2005;tag=Business;tag=Culture;tag=Entertainment;tag=education;tag=happiness;tag=psychology;tag=short+talk;tag=work;&#038;preAdTag=tconf.ted/embed;tile=1;sz=512x288;"></embed></object></p>
<p>I found this on <a title="TED talks" href="http://www.ted.com/talks">TED.com</a>. Richard John has interviewed 500 successful people (like Bill Gates and Rupert Murdoch) and asked them &#8220;What leads to success?&#8221;.</p>
<p>He explains in 3.5 minutes that to be successful you need these 8 points:</p>
<ol>
<li>Passion, do it for love not money.</li>
<li>Work, work really hard.</li>
<li>Good, you have to be damn good at what you do.</li>
<li>Focus, focus on one thing.</li>
<li>Push, you must be pushed physically and mentally.</li>
<li>Serve, serve others something of value.</li>
<li>Ideas, follow a good one.</li>
<li>Persist, even through failure.</li>
</ol>
<p>More info on &#8216;Success Analyst&#8217; Richard St. John:<br />
<a title="richard john bio" href="http://www.ted.com/speakers/richard_st_john.html">http://www.ted.com/speakers/richard_st_john.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexharvey.eu/etc/cool-stuff/what-leads-to-succes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Seth Godin: This is broken</title>
		<link>http://alexharvey.eu/etc/cool-stuff/seth-godin-this-is-broken/</link>
		<comments>http://alexharvey.eu/etc/cool-stuff/seth-godin-this-is-broken/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 12:37:08 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Seth Godin]]></category>
		<category><![CDATA[Ted.com]]></category>
		<category><![CDATA[This is broken]]></category>

		<guid isPermaLink="false">http://alexharvey.eu/?p=566</guid>
		<description><![CDATA[Excellent talk I found on TED.com on why things are broken by Seth Godin ~ http://www.sethgodin.com Seven reasons why things suck Not my job Selfish jerks The world changed I didn&#8217;t know I&#8217;m not a fish Contradictions Broken on purpose More info: http://www.ted.com/speakers/seth_godin.html This Is Broken website (new version): http://goodexperience.com]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/4246943?title=0&amp;byline=0&amp;portrait=0&amp;color=ececec&amp;autoplay=0" frameborder="0" width="560" height="420"></iframe></p>
<p>Excellent talk I found on <a title="great site for lectures" href="http://ted.com">TED.com</a> on why things are broken by Seth Godin ~ <a title="Seth Godins home page" href="http://www.sethgodin.com">http://www.sethgodin.com</a></p>
<h2>Seven reasons why things suck</h2>
<ol>
<li>Not my job</li>
<li>Selfish jerks</li>
<li>The world changed</li>
<li>I didn&#8217;t know</li>
<li>I&#8217;m not a fish</li>
<li>Contradictions</li>
<li>Broken on purpose</li>
</ol>
<p><strong>More info:</strong></p>
<p><a title="Seth Godin on ted.com" href="http://www.ted.com/speakers/seth_godin.html">http://www.ted.com/speakers/seth_godin.html</a></p>
<p>This Is Broken website (new version): <a title="customer and human experience is important" href="http://goodexperience.com/">http://goodexperience.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexharvey.eu/etc/cool-stuff/seth-godin-this-is-broken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Surprise you need a Client Access License!</title>
		<link>http://alexharvey.eu/etc/insight-and-opinion/surprise-you-need-a-client-access-license/</link>
		<comments>http://alexharvey.eu/etc/insight-and-opinion/surprise-you-need-a-client-access-license/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 11:00:47 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Insight and Opinion]]></category>
		<category><![CDATA[alternative operating systems]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[paradigm shift]]></category>
		<category><![CDATA[proprietary madness]]></category>
		<category><![CDATA[ubuntu linux]]></category>

		<guid isPermaLink="false">http://alexharvey.eu/?p=528</guid>
		<description><![CDATA[There is a safe in the office where I work. Inside it, among valuables like petty cash and sensitive documents, are our CAL&#8217;s from Microsoft. We had to buy them when we upgraded the Windows Small Business 2008 Server. What is a Client Access License? &#8220;A CAL is not a software product; rather, it is [...]]]></description>
			<content:encoded><![CDATA[<p>There is a safe in the office where I work. Inside it, among valuables like petty cash and sensitive documents, are our CAL&#8217;s from Microsoft. We had to buy them when we upgraded the Windows Small Business 2008 Server.</p>
<h2>What is a Client Access License?</h2>
<p><em>&#8220;A CAL is not a software product; rather, it is a license that gives a user the right to access the services of the server.&#8221; &#8211; Definition from Microsoft</em></p>
<p>A CAL is a piece of paper you are legally required to have purchased for each individual user which will be connected to your Windows Domain at one time. They came in brown envelopes and are size A4.</p>
<p>When we upgraded in early 2011 they <strong>cost us £60 each</strong>. 5 came &#8220;free&#8221; with <acronym title="Small Business Server">SBS</acronym> and the rest we bought from a Microsoft reseller. <a title="dont buy this!" href="http://amzn.to/syuyOl">Currently $168 for a pack of 5 on Amazon</a>.</p>
<p>There is a second kind of license, Device Client Access License. This is so that if you have more computers than people then you <em>save</em> by getting CAL&#8217;s otherwise if there are more people than computers <em>its cheaper</em> to use DCAL&#8217;s.</p>
<h2>Paradigm shift</h2>
<p>Our most recent upgrade was the first time we were required to purchase licenses in this way. It marks a paradigm shift; the software, even though it has a financial cost, has no value. The value (for Microsoft) is in licensing on a per user or device basis. Whats messed up is that both Small Business Server and the Licenses cost money despite one being totally worthless.</p>
<p>This came as a surprise. For the previous version this was not required and there were no extra costs. But thats tough luck for anyone dependent on propitiatory tech.</p>
<p>Even better the latest version of SBS comes with a <a title="a stupid idea" href="http://www.microsoft.com/oem/en/products/servers/Pages/windows_sbs_2011_essentials_overview.aspx">&#8220;Vista Home Premium&#8221; style <em>Essentials</em> edition</a> which only supports 25 clients but doesn&#8217;t require CAL&#8217;s. Thats pretty dumb because as soon as you&#8217;re business grows above 25 then you need an upgrade and at least 20 CAL&#8217;S to go with it.</p>
<h2>Proprietary Madness</h2>
<p>By purchasing SBS 2008 we got Windows Server, Exchange (office file sharing and email) and 5 CAL&#8217;s. We purchased more packs of CALS so now 30 computers can join the domain. Legally that is, technically nothing stops you.</p>
<p>The majority of companies are dependent on Microsoft products. So are all our schools (in the UK) and <a title="Cabinet minister Francis Maude says his new ICT strategy will save the government millions" href="http://www.eweekeurope.co.uk/news/government-cost-cutting-strategy-embraces-open-source-25311" target="_blank">government</a>.. but why?! The most common reason I&#8217;ve heard when debating/arguing a switch is that &#8220;its the industry standard&#8221; or you get technical support with Windows and any employee we hire will know how to use it.</p>
<h2>Alternative Operating Systems</h2>
<p>Windows is not the only OS and it is not the most fit for purpose. Seriously, if you are willing to buy software and licenses for each user/device every 4-5 years, just so your company can share files and use email, then good luck to you.</p>
<p>&nbsp;</p>
<h3 style="text-align: center;">I recommend the <a title="Software is like sex, its best when its free." href="http://www.ubuntu.com/">Ubuntu</a> distribution of Linux.</h3>
<p>&nbsp;</p>
<p><strong>More info:</strong></p>
<p><a title="CALS What The F*ck" href="http://www.neowin.net/forum/topic/633184-cals-wtf/">http://www.neowin.net/forum/topic/633184-cals-wtf/</a></p>
<p><a title="official Microsoft page on client access license" href="http://www.microsoft.com/licensing/about-licensing/client-access-license.aspx">http://www.microsoft.com/licensing/about-licensing/client-access-license.aspx</a></p>
<p><a title="cal vs dal in one sentence" href="http://blog.montopolis.com/2008/03/05/microsoft-windows-server-user-cal-versus-device-cal/">http://blog.montopolis.com/2008/03/05/microsoft-windows-server-user-cal-versus-device-cal/</a></p>
<p><a title="10 points on upgrading to SBS 2011" href="http://www.techrepublic.com/blog/10things/10-things-you-should-know-about-microsoft-small-business-server-2011/2339">http://www.techrepublic.com/blog/10things/10-things-you-should-know-about-microsoft-small-business-server-2011/2339</a></p>
<p><a title="Cabinet minister Francis Maude says his new ICT strategy will save the government millions" href="http://www.eweekeurope.co.uk/news/government-cost-cutting-strategy-embraces-open-source-25311">http://www.eweekeurope.co.uk/news/government-cost-cutting-strategy-embraces-open-source-25311</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://alexharvey.eu/etc/insight-and-opinion/surprise-you-need-a-client-access-license/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lectures on Computer Programming from Stanford University</title>
		<link>http://alexharvey.eu/etc/education/lectures-on-computer-programming-from-stanford-university/</link>
		<comments>http://alexharvey.eu/etc/education/lectures-on-computer-programming-from-stanford-university/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 21:12:13 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[lectures]]></category>
		<category><![CDATA[stanford university]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://alexharvey.eu/?p=515</guid>
		<description><![CDATA[Stanford University is brilliant. Hundreds of their lectures, entire computer science modules, have been uploaded to Youtube! Programming Paradigms (CS 107) 27 Lectures Languages: C, C++, assembly, Python, Scheme. http://www.youtube.com/playlist?list=PL9D558D49CA734A02 Programming Abstractions (CS 106B) 27 Lectures Languages: C++ http://www.youtube.com/playlist?list=PLFE6E58F856038C69 Programming Methodology (CS 106A) 28 Lectures Languages: Java http://www.youtube.com/playlist?list=PL84A56BC7F4A1F852 &#160; Also of interest: Introduction to Robotics [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Stanford University channel on youtube" href="http://www.youtube.com/user/StanfordUniversity">Stanford University</a> is brilliant.</p>
<p>Hundreds of their lectures, entire computer science modules, have been uploaded to Youtube!</p>
<p><strong>Programming Paradigms</strong> (CS 107)<br />
27 Lectures<br />
Languages: C, C++, assembly, Python, Scheme.<br />
<a title="programming paradigms playlist on youtube" href="http://www.youtube.com/playlist?list=PL9D558D49CA734A02">http://www.youtube.com/playlist?list=PL9D558D49CA734A02</a></p>
<p><strong>Programming Abstractions</strong> (CS 106B)<br />
27 Lectures<br />
Languages: C++<br />
<a title="programming abstractions playlist on youtube" href="http://www.youtube.com/playlist?list=PLFE6E58F856038C69">http://www.youtube.com/playlist?list=PLFE6E58F856038C69</a></p>
<p><strong>Programming Methodology</strong> (CS 106A)<br />
28 Lectures<br />
Languages: Java<br />
<a title="programming methodology playlist on youtube" href="http://www.youtube.com/playlist?list=PL84A56BC7F4A1F852">http://www.youtube.com/playlist?list=PL84A56BC7F4A1F852</a></p>
<p>&nbsp;</p>
<p><em>Also of interest:</em></p>
<p><strong>Introduction to Robotics</strong> (CS 223A)<br />
16 Lectures<br />
<a title="introduction to robotics playlist on youtube" href="http://www.youtube.com/playlist?list=PL65CC0384A1798ADF">http://www.youtube.com/playlist?list=PL65CC0384A1798ADF</a></p>
<p><strong>Machine Learning</strong> (CS 229)<br />
20 Lectures<br />
<a title="machine learning playlist on youtube" href="http://www.youtube.com/playlist?list=PLA89DCFA6ADACE599">http://www.youtube.com/playlist?list=PLA89DCFA6ADACE599</a></p>
<p>&nbsp;</p>
<p>Above are just the play lists related to writing software, theres a few more subjects but also talks and debates. One good talk is <a title="Stan 2011, future of Robotics and AI" href="http://youtu.be/AY4ajbu_G3k">The Future of Robotics and Artificial Intelligence</a>.</p>
<p>Stanford University Youtube channel: <a title="Stanford University channel on youtube" href="http://www.youtube.com/user/StanfordUniversity">http://www.youtube.com/user/StanfordUniversity</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexharvey.eu/etc/education/lectures-on-computer-programming-from-stanford-university/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change interface in ntop and jsvnstat</title>
		<link>http://alexharvey.eu/ubuntu-linux/change-interface-in-ntop-and-jsvnstat/</link>
		<comments>http://alexharvey.eu/ubuntu-linux/change-interface-in-ntop-and-jsvnstat/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 14:07:47 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[jsvnstat]]></category>
		<category><![CDATA[ntop]]></category>
		<category><![CDATA[vnstat]]></category>

		<guid isPermaLink="false">http://alexharvey.eu/?p=504</guid>
		<description><![CDATA[At work I built a router box to monitor network traffic. Its just an older PC running Ubuntu server and uses vnStat and ntop. Both tools have website front ends so I can check the logs from another maching over LAN. The default setting for most monitoring tools is to look at eth0. I set [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">At work I built a router box to monitor network traffic. Its just an older PC running <a title="ubuntu server" href="www.ubuntu.com/business/server/overview">Ubuntu server</a> and uses <a href="humdi.net/vnstat/">vnStat</a> and <a href="www.ntop.org/">ntop</a>. Both tools have website front ends so I can check the logs from another maching over LAN.</p>
<p style="text-align: left;"><a href="http://alexharvey.eu/wp-content/uploads/2011/11/IMAG0125.jpg"><img class="aligncenter size-medium wp-image-506" title="IMAG0125" src="http://alexharvey.eu/wp-content/uploads/2011/11/IMAG0125-300x179.jpg" alt="old pc now running ubuntu" width="300" height="179" /></a></p>
<p style="text-align: left;">The default setting for most monitoring tools is to look at <em>eth0</em>. I set the box up in such a way I needed <em>eth1</em> to be monitored. Below are the config files you need to edit.</p>
<p style="text-align: left;"><a title="vnstat front end" href="http://rakudave.ch/?q=jsvnstat">Jsvnstat</a> is a javascript front end for <a title="a network traffic monitor for Linux and BSD" href="http://humdi.net/vnstat/">vnStat<em><em></em></em></a>.</p>
<p style="text-align: left;"><strong>vnStat &amp; jsvnstat</strong> &#8211; http://&lt;ROUTER-ADDRESS&gt;/jsvnstat/<br />
<em>/etc/vnstat.conf</em><br />
<em>/var/www/jsvnstat/settings.php</em></p>
<p style="text-align: left;"><strong>Ntop</strong> &#8211; http://&lt;ROUTER-ADDRESS&gt;:3000/&lt;HOST-ADDRESS&gt;.html<br />
<em>/var/lib/ntop.cfg</em></p>
<p style="text-align: left;"><em><br />
</em></p>
<p style="text-align: left;">Router box tutorial ~<br />
<a title="conquer the linux command line" href="http://www.linuxformat.com/archives?issue=151">How to build a Linux Router, Linux Format magazine</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexharvey.eu/ubuntu-linux/change-interface-in-ntop-and-jsvnstat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quickly copy a PostgreSQL database</title>
		<link>http://alexharvey.eu/database/postgresql/quickly-copy-a-postgresq-database/</link>
		<comments>http://alexharvey.eu/database/postgresql/quickly-copy-a-postgresq-database/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 12:31:58 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[pg_dump]]></category>
		<category><![CDATA[pg_restore]]></category>
		<category><![CDATA[psql]]></category>

		<guid isPermaLink="false">http://alexharvey.eu/?p=474</guid>
		<description><![CDATA[Often I need to create copies of databases so I can test a new stored procedure or if what I&#8217;m doing could get in the way of other developers. The easiest way I&#8217;ve found to make a personal clone of a PostgreSQL database is by command line using psql, pg_dump and pg_restore. First back up [...]]]></description>
			<content:encoded><![CDATA[<p>Often I need to create copies of databases so I can test a new stored procedure or if what I&#8217;m doing could get in the way of other developers.</p>
<p>The easiest way I&#8217;ve found to make a personal clone of a PostgreSQL database is by command line using psql, pg_dump and pg_restore. First back up the database using dump, create a new database in psql then restore the dump file to the newly created database.</p>
<p>&nbsp;</p>
<pre>$ sudo -u postgres pg_dump -Fc coolProject &gt; coolProject.dump</pre>
<pre>$ sudo -u postgres psql
psql (8.4.8)
Type "help" for help.

postgres=# create database coolProjectClone;
CREATE DATABASE
postgres=# \q</pre>
<pre>$ sudo -u postgres pg_restore -d coolProjectClone coolProject.dump</pre>
<p>&nbsp;</p>
<p>psql &#8211; <a title="man page for psql" href="http://linux.die.net/man/1/psql">http://linux.die.net/man/1/psql</a><br />
&#8216;sudo -u postgres&#8230;&#8217; means run this command as the postgres user.<br />
&#8216;postgres&#8217; &#8211; the datbases user (set at install as default).</p>
<p>pg_dump &#8211; <a title="Postgres doc page for pg_dump" href="http://www.postgresql.org/docs/8.4/static/app-pgdump.html">http://www.postgresql.org/docs/8.4/static/app-pgdump.html</a><br />
-Fc creates a &#8216;custom format&#8217; which is compatible with pg_restore, see the postgres docs for more info.</p>
<p>pg_restore &#8211; <a title="Postgres doc page for pg_restore" href="http://www.postgresql.org/docs/8.4/static/app-pgrestore.html">http://www.postgresql.org/docs/8.4/static/app-pgrestore.html<br />
</a> -d database name<br />
-s restore schema only and don&#8217;t insert the data<br />
-t restore only this table</p>
]]></content:encoded>
			<wfw:commentRss>http://alexharvey.eu/database/postgresql/quickly-copy-a-postgresq-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Locking yourself out of Cisco IOS via Telnet</title>
		<link>http://alexharvey.eu/networking/cisco/locking-yourself-out-of-cisco-ios-via-telnet/</link>
		<comments>http://alexharvey.eu/networking/cisco/locking-yourself-out-of-cisco-ios-via-telnet/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 15:34:23 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[ccna]]></category>
		<category><![CDATA[cisco ios]]></category>
		<category><![CDATA[telnet]]></category>

		<guid isPermaLink="false">http://alexharvey.eu/?p=463</guid>
		<description><![CDATA[Telnet to Cisco device #copy run start #reload in x You mess up and cant use tcp/port23, telnet session dies.. Uptime reaches x and device reloads No awkward phone call! More Cisco IOS commands: #show reload #reload in x #reload cancel You get a warning 1 minute before the device reloads. Useful links: http://www.ciscopress.com/articles/article.asp?p=101658&#38;seqNum=4 http://www.cisco.com/warp/cpropub/45/tutorial.htm [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Telnet to Cisco device</li>
</ol>
<p>#copy run start<br />
#reload in <em>x</em></p>
<ol>
<li>You mess up and cant use tcp/port23, telnet session dies..</li>
<li>Uptime reaches <em>x</em> and device reloads</li>
<li>No awkward phone call!</li>
</ol>
<p>More Cisco IOS commands:</p>
<p>#show reload<br />
#reload in <em>x</em><br />
#reload cancel</p>
<p>You get a warning 1 minute before the device reloads.</p>
<p>Useful links:<br />
<a title="cisco press" href="http://www.ciscopress.com/articles/article.asp?p=101658&amp;seqNum=4">http://www.ciscopress.com/articles/article.asp?p=101658&amp;seqNum=4</a></p>
<p><a title="official tutorial from cisco" href="http://www.cisco.com/warp/cpropub/45/tutorial.htm">http://www.cisco.com/warp/cpropub/45/tutorial.htm</a><a title="cisco press" href="http://www.ciscopress.com/articles/article.asp?p=101658&amp;seqNum=4"><br />
</a></p>
<p>Books:<br />
<a title="Reference for CCNA level commands" href="http://amzn.to/nKkLv8">CCNA Portable Command Guide</a></p>
<p><a title="Essential study guide for the CCNA exam" href="http://amzn.to/pgWDqQ">CCNA Cisco Certified Network Associate Study Guide (SYBEX)</a></p>
<p><span id="btAsinTitle"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://alexharvey.eu/networking/cisco/locking-yourself-out-of-cisco-ios-via-telnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL with Python using Psycopg</title>
		<link>http://alexharvey.eu/code/python/postgresql-with-python-using-psycopg/</link>
		<comments>http://alexharvey.eu/code/python/postgresql-with-python-using-psycopg/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 15:41:18 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Lesser GPL]]></category>
		<category><![CDATA[MIT License]]></category>
		<category><![CDATA[PEP 249]]></category>
		<category><![CDATA[Psycopg]]></category>
		<category><![CDATA[PyGreSQL]]></category>

		<guid isPermaLink="false">http://alexharvey.eu/?p=444</guid>
		<description><![CDATA[The business intelligence suite I manage at work is built on PostgreSQL and Python. I work on the code that sits between the database and the internet/front-end to move data accross layers. From the start of the project I used the PyGreSQL module, see this post for info, so my scripts could interface with the database. One [...]]]></description>
			<content:encoded><![CDATA[<p>The <a title="A system to collect, store, analyse and report on our companies data." href="http://en.wikipedia.org/wiki/Business_intelligence#Applications_in_an_enterprise">business intelligence suite</a> I manage at work is built on <a title="The world's most advanced open source database" href="http://www.postgresql.org/">PostgreSQL</a> and Python. I work on the code that sits between the database and the internet/front-end to move data accross <a title="Part of a top-down approach to solving a problem." href="http://en.wikipedia.org/wiki/Database_abstraction_layer">layers</a>. From the start of the project I used the <a title="PyGreSQL homepage" href="http://www.pygresql.org/">PyGreSQL</a> module, <a title="PostgreSQL with Python using PyGreSQL" href="http://alexharvey.eu/code/python/postgresql-with-python-using-pygresql/">see this post for info</a>, so my scripts could interface with the database.</p>
<p>One alternative to PyGreSQL is <a title="Psycopg homepage" href="http://www.initd.org/psycopg/">Psycopg2</a>. If your starting out then they are essentially the same. They both use the <a title="Python PEP 249" href="http://www.python.org/dev/peps/pep-0249/">DB API</a> so the calls are similar if not the same. The licenses are different but still open-source: PyGreSQL is <a title="The MIT License" href="http://www.opensource.org/licenses/mit-license.php">MIT</a> and Psycopg is <a title="LGPL" href="http://www.gnu.org/licenses/lgpl.html">Lesser GPL</a>.</p>
<pre>alex@desktop:~$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import psycopg2
&gt;&gt;&gt; params = {'host':'localhost','database':'postgres','user':'postgres','password':'secret'}
&gt;&gt;&gt; connection = psycopg2.connect(**params)
&gt;&gt;&gt; cursor = connection.cursor()
&gt;&gt;&gt; sql = 'select * from example'
&gt;&gt;&gt; cursor.execute(sql)
&gt;&gt;&gt; result = cursor.fetchall()
&gt;&gt;&gt; for row in result:
...     print row
...
(1, 'Alex', 'hi@alexharvey.eu')
&gt;&gt;&gt;</pre>
<p>Psycopg documentation: <a href="http://www.initd.org/psycopg/docs/usage.html">http://www.initd.org/psycopg/docs/usage.html </a><br />
PyGreSQL documentation: <a href="http://www.pygresql.org/pg.html#connect-opens-a-pg-connection">http://www.pygresql.org/pg.html#connect-opens-a-pg-connection</a><br />
More info: <a href="http://stackoverflow.com/questions/413228/pygresql-vs-psycopg2">http://stackoverflow.com/questions/413228/pygresql-vs-psycopg2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexharvey.eu/code/python/postgresql-with-python-using-psycopg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu easy file association</title>
		<link>http://alexharvey.eu/ubuntu-linux/ubuntu-easy-file-association/</link>
		<comments>http://alexharvey.eu/ubuntu-linux/ubuntu-easy-file-association/#comments</comments>
		<pubDate>Sat, 21 May 2011 21:12:57 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[file association]]></category>
		<category><![CDATA[geany]]></category>

		<guid isPermaLink="false">http://alexharvey.eu/?p=431</guid>
		<description><![CDATA[I use an IDE for Python called Geany. Normally if you double click on a text file (like .py) then it opens in gedit. Changing this couldn&#8217;t be easier, you just right click the file, choose properties and select the desired program from under &#8216;Opens with&#8217;.]]></description>
			<content:encoded><![CDATA[<p>I use an IDE for <a title="Awesome programming language" href="http://www.python.org/">Python</a> called <a title="Clean and quick programming IDE" href="http://www.geany.org/">Geany</a>. Normally if you double click on a text file (like .py) then it opens in gedit. Changing this couldn&#8217;t be easier, you just right click the file, choose properties and select the desired program from under &#8216;Opens with&#8217;.</p>
<p><img class="aligncenter size-full wp-image-433" title="file association" src="http://alexharvey.eu/wp-content/uploads/2011/05/fileassoc.png" alt="changing file association is easy" width="500" height="395" /></p>
]]></content:encoded>
			<wfw:commentRss>http://alexharvey.eu/ubuntu-linux/ubuntu-easy-file-association/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Studying for the Junior Level Linux Professional (LPIC-1) Certification</title>
		<link>http://alexharvey.eu/ubuntu-linux/studying-for-the-junior-level-linux-professional-lpic-1-certification/</link>
		<comments>http://alexharvey.eu/ubuntu-linux/studying-for-the-junior-level-linux-professional-lpic-1-certification/#comments</comments>
		<pubDate>Sat, 21 May 2011 20:58:46 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[Linux Format]]></category>
		<category><![CDATA[Linux Professional Institute]]></category>
		<category><![CDATA[LPI-1]]></category>
		<category><![CDATA[School of Linux]]></category>

		<guid isPermaLink="false">http://alexharvey.eu/?p=425</guid>
		<description><![CDATA[The past few months Linux Format Magazine (LXF) have included a &#8216;School of Linux&#8217; section by Mike Saunders. Each edition consists of a well written and easy to follow guide on passing an objective from the Linux Professional Institutes range of exams. &#8216;LPI Linux Certification in a nutshell&#8216; by O&#8217;Reilly is also a great study [...]]]></description>
			<content:encoded><![CDATA[<p>The past few months <a title="Linux Format Magazine" href="http://www.linuxformat.com/">Linux Format Magazine</a> (LXF) have included a &#8216;School of Linux&#8217; section by Mike Saunders. Each edition consists of a well written and easy to follow guide on passing an objective from the Linux Professional Institutes <a title="The LPIC Program" href="http://www.lpi.org/eng/certification/the_lpic_program">range of exams</a>.</p>
<p>&#8216;<a title="LPI Certification in a nutshell" href="http://oreilly.com/catalog/9780596804886/">LPI Linux Certification in a nutshell</a>&#8216; by O&#8217;Reilly is also a great study aid. It&#8217;s just under 500 pages covering the objectives of exams 101 and 102 (LPIC-1). Essential commands have usage examples and their parameters are well explained in the regards to the exam objective. Extracts from man pages are also included so this book is an excellent reference for after you&#8217;ve passed. <a title="LPI study guides on Amazon UK" href="http://www.amazon.co.uk/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.co.uk%2Fs%3Fie%3DUTF8%26redirect%3Dtrue%26ref_%3Dsr_nr_n_5%26keywords%3Dlpi%26bbn%3D71%26qid%3D1306011106%26rnid%3D71%26rh%3Dn%253A266239%252Ck%253Alpi%252Cn%253A%25211025612%252Cn%253A71%252Cn%253A269623%23&amp;tag=alexharveyeu-21&amp;linkCode=ur2&amp;camp=1634&amp;creative=19450">3rd edition paper back is around £20 on Amazon</a>!</p>
<p><strong>Junior Level Linux Professional - LPIC-1</strong></p>
<p>This consists of two exams (101 &amp; 102) covering entry level topics such as using the command line, booting, run levels, installation, package management, monitoring processes, working on command line/scripting, mounting devices and understanding the Linux file system.</p>
<p>Sample questions for each exam are available on the <a title="LPIC-1 website" href="http://www.lpi.org/eng/certification/the_lpic_program/lpic_1">LPIC-1 website</a>. The entry level material is easy if you&#8217;re not new but if you skip ahead to the <a title="LPIC-3 Senior certification" href="http://www.lpi.org/eng/certification/the_lpic_program/lpic_3">higher level exams</a> they get tougher!</p>
<p><strong>After LPIC-1 its time for more advanced certification</strong></p>
<p>The LPI has two more levels, advanced and senior. Senior (LPIC-3) is still in the making but Advanced (LPIC-2) has two exams. You&#8217;ve got to pass Junior first but that should be no problem. Another exam worth looking at is Red Hats very <a title="Red Hat Certified Engineer" href="http://www.redhat.com/certification/rhce/">well respected RHCE</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexharvey.eu/ubuntu-linux/studying-for-the-junior-level-linux-professional-lpic-1-certification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

