<?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>Ed&#039;s Blog &#187; Linux</title>
	<atom:link href="http://edmundlong.com/edsBlog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://edmundlong.com/edsBlog</link>
	<description>Stuff I&#039;m working on at the moment</description>
	<lastBuildDate>Fri, 13 Aug 2010 10:58:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>No SVN icons with Aptana Studio/Eclipse</title>
		<link>http://edmundlong.com/edsBlog/no-svn-icons-with-aptana-studioeclipse/</link>
		<comments>http://edmundlong.com/edsBlog/no-svn-icons-with-aptana-studioeclipse/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 23:14:35 +0000</pubDate>
		<dc:creator>edlong</dc:creator>
				<category><![CDATA[Archive Post]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://edmundlong.com/edsBlog/?p=113</guid>
		<description><![CDATA[I had a strange problem with Aptana Studio for the last week. I have Subclipse installed as a plugin and previously all my icons appeared fine, all the repository information showed up. I was able to perform Update and all the other typical SVN commands. However in the last week all the icons disappeared and [...]]]></description>
			<content:encoded><![CDATA[<p>I had a strange problem with Aptana Studio for the last week. I have Subclipse installed as a plugin and previously all my icons appeared fine, all the repository information showed up. I was able to perform Update and all the other typical SVN commands. However in the last week all the icons disappeared and were replaced by question marks. Nothing had appeared to have changed so I was confused with it! Aptana had previously performed an update so I decided to uninstall it and re-installed Aptana, same problem. I uninstalled it again and put in Eclipse but same problem. Finally after fishing around a bit I saw that my workspace directory i.e. ~/Sites/ had an .svn directory in it. I had no idea why it was there so I deleted it and the subdirectories, restarted Aptana and all the icons showed up agan! I’ve no idea how it got in to begin with but I’ve seen it again since on a Ubuntu machine so its not just me!</p>
<p>I needed a command to see what packages were installed in Ubuntu, found this after a little searching:</p>
<pre class="brush:plain">
    dpkg –get-selections
</pre>
<p>Does the job nicely.</p>
<div class="fullcircle-social-links" style="display: block;"></div><div style="clear: both;"></div>]]></content:encoded>
			<wfw:commentRss>http://edmundlong.com/edsBlog/no-svn-icons-with-aptana-studioeclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wget, Bootcamp and ColdFusion setup</title>
		<link>http://edmundlong.com/edsBlog/wget-bootcamp-and-coldfusion-setup/</link>
		<comments>http://edmundlong.com/edsBlog/wget-bootcamp-and-coldfusion-setup/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 23:08:01 +0000</pubDate>
		<dc:creator>edlong</dc:creator>
				<category><![CDATA[Archive Post]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://edmundlong.com/edsBlog/?p=98</guid>
		<description><![CDATA[Hi all. Pretty late now, spent a fair bit of time setting up the new blog and am in the proces of getting the site sorted out a little better. I’ve been using ftp to get all my websites files, to recursively get files using ftp use mget. mget -r ftp://username:password@host -p Apart from that [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all.</p>
<p>Pretty late now, spent a fair bit of time setting up the new blog and am in the proces of getting the site sorted out a little better.</p>
<p>I’ve been using ftp to get all my websites files, to recursively get files using ftp use mget.</p>
<pre class="brush:plain">
mget -r ftp://username:password@host -p <directory to write to>
</pre>
<p>Apart from that I’ve a couple of other little tid-bits. Installing Bootcamp on an Intel-based CPU mac is a pain. I’ve tried now 3 times, the biggest problem being that my Media Center 2005 installation has 2 cds and I don’t know how to eject the cd during the install phase when prompted to! The eject button doesn’t work so maybe there’s a shortcut I don’t know or something.Perhaps I’ll have to get a single CD install.</p>
<p>Had the craziest install of ColdFusion/Apache during the week. I had apache working(i.e was able to get to my localhost fine) and so decided to go off and get ColdFusion talknig with apache. I went to /Applications/JRun4/lib/ and executed unzip wsconfig.jar to a local directory. Then I went into the apache/connectors/macos-intel directory and copied out the wsconfig file to /Application/JRun4/lib/wsconfig/1(I created the last 2 directories myself). That was fine I added the ColdFusion code to the end of the httpd.conf file for the CF module and restarted apache. I started getting the NameVirtualHost *.80 has no virtual hosts even though I had about 10 in my users/xxx.conf file. This file was definitely being loaded so I couldn’t figure out why this was happening. After some help from work -colleagues we eventually figured out the problem. We went through the whole copying out of the connector again and got the CORRECT code to enter at the end of the httpd.conf file for the ColdFusion module inclusion and it worked perfectly straight away. Spent about 2 hours figuring this out!</p>
<div class="fullcircle-social-links" style="display: block;"></div><div style="clear: both;"></div>]]></content:encoded>
			<wfw:commentRss>http://edmundlong.com/edsBlog/wget-bootcamp-and-coldfusion-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CF form validation, Unix search + replace and JMeter load-testing</title>
		<link>http://edmundlong.com/edsBlog/cf-form-validation-unix-search-replace-and-jmeter-load-testing/</link>
		<comments>http://edmundlong.com/edsBlog/cf-form-validation-unix-search-replace-and-jmeter-load-testing/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 22:36:51 +0000</pubDate>
		<dc:creator>edlong</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://edmundlong.com/edsBlog/?p=54</guid>
		<description><![CDATA[I’ve recently been doing some form validation using CF and needed to valid some form fields. One of the form fields was a uuid so was wondering how to check if it was in the correct format. CF’s isValid(’uuid’,form.uuid) did the trick nicely and can be used for a whole bunch of other data-types &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve recently been doing some form validation using CF and needed to valid some form fields. One of the form fields was a uuid so was wondering how to check if it was in the correct format. CF’s isValid(’uuid’,form.uuid) did the trick nicely and can be used for a whole bunch of other data-types &#8211; array, binary, boolean, credit card, date, email, float, guid, integer, query, string, struct, telephone, url or uuid. So as you can see its a very handy function for validating form variables.</p>
<p>I was looking at ways to replace a bunch of strings in a SQL file and came across a unix command sed which can be used to do the job. Using the -e command allows you to replace multiple strings within a file and I then piped the result into a different SQL file.</p>
<pre class="brush:plain">    sed -e “s/string1ToFind\string2Replacement/g” -e “s/stiring2ToFind/string2Replacement/g” -e “string3ToFind/string3Replacement/g” sqlFile1.sql > newSqlFile1.sql </pre>
<p>I’ve also been using JMeter from Apache recently to perform some load tests on a website.<br />
I got the binary here: http://jakarta.apache.org/site/downloads/downloads_jmeter.cgi Just unzip it and run /bin/jmeter and it will load up.</p>
<p>In test plan create a thread group (edit->add->thread group) and there you can set the number of users/threads, loop count and a couple of other things. Select thread group and add a http request(edit->add->sampler->http request). There you can set the webserver name and the rel path from the web-server, add paramters to post(i,.e. mimic a form post) and retreive all embedded resources(if you want to test getting the webpage resources too along with the request). Again you can change stuff like following redirects and other bits and pieces.</p>
<p>You can add a whole bunch of Listeners or reporting graphs/charts. Just select the thread group again and edit->add->listener and add summary report and view reports in tree. The summary report gives you #samples,average,min,max, deviation, errors, throughput, kb/sec and avg bytes while the view reports in tree lets you see what is reqeusted and returned as part of the http request. I’ve not checked out other reports, I’m sure they contain lots of handy stuff.</p>
<div class="fullcircle-social-links" style="display: block;"></div><div style="clear: both;"></div>]]></content:encoded>
			<wfw:commentRss>http://edmundlong.com/edsBlog/cf-form-validation-unix-search-replace-and-jmeter-load-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New iTouch apps, PSP firmware and creating a tar.gz archive</title>
		<link>http://edmundlong.com/edsBlog/new-itouch-apps-psp-firmware-and-creating-a-targz-archive/</link>
		<comments>http://edmundlong.com/edsBlog/new-itouch-apps-psp-firmware-and-creating-a-targz-archive/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 22:27:09 +0000</pubDate>
		<dc:creator>edlong</dc:creator>
				<category><![CDATA[Archive Post]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[iTouch]]></category>

		<guid isPermaLink="false">http://edmundlong.com/edsBlog/?p=43</guid>
		<description><![CDATA[Hi again, I’ve been fishing around for new iTouch apps and have found some excellent new ones out there. Check out Simplify Media, its brilliant allows you to connect to your iTunes library as long as you have a Wifi connection. Just install the app on your Mac or PC, create an account and download [...]]]></description>
			<content:encoded><![CDATA[<p>Hi again,</p>
<p>I’ve been fishing around for new iTouch apps and have found some excellent new ones out there. Check out <a href="http://www.simplifymedia.com/">Simplify Media</a>, its brilliant allows you to connect to your iTunes library as long as you have a Wifi connection. Just install the app on your Mac or PC, create an account and download the Simplify Media app from the iTouch Installer and log in there too. Takes a little while to get the libraries the first time but after that its very fast. The songs then buffer as if you were streaming them, I’m very impressed with the speed of it &#8211; a must have for any iTouch/iPhone owner.</p>
<p>Another site that has lots of recommendations but isn’t quite working for me yet is <a href="http://www.seeqpod.com/">Seeqpod</a> which is basically a search engine that searches for music in Safari and apparently can stream the audio over the net. The audio doesn’t start for me yet, not sure why. There does seem to be a HUGE amount of music there though.</p>
<p>iPhysics is very very cool ‘game’, you can draw lines, objects and then the physics engine takes over and the new objects bounce around under gravity and as you would expect under Newtonian phyiscs. The really impressive thing is that it is dynamic, you can create objects on the fly and they’ll interact with one another and bounce around the place, fun. The game part involves moving a ball across a level to a small red box, there’s tons of user-created levels so its quite fun from what I’ve played of it. <a href="http://files.slembcke.net/chipmunk/movies/sketches.mov">Here’s a video of something similar</a> I found a few weeks ago, thought it was only a college experiment though <img src='http://edmundlong.com/edsBlog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Similar to the SimplifyMedia is the <a href="http://code.google.com/p/telekinesis/">telekinesis</a> project. It looks really cool and I’ve not had a chance to test this yet but will give it a goo this evening and see how it works.</p>
<p>Also <a href="http://www.scummvm.org/">ScummVM</a> is available for the iTouch now which means that……….yes Monkey Island my all-time favourite game can be played on it. Also can play all the ScummVM developed games, Sam &#038; Max, Indy series and all the other classic adventure games. Hurray!</p>
<p><a href="http://www.appleiphoneschool.com/category/mobilecast/">MobileCast</a> is an other app that can be installed via the Installer. It allows you to fetch podcasts from RSS feeds without having to sync up with iTunes, this wil be handy when I’m travelling and can just pick up random Wifi hotspots.</p>
<p>I’ve recently upgraded the firmware on my PSP to version 3.90 M33-3, mainly because I want to play Pro Evo 2008. Check out Dark Alex’s site with all the releases there, I upgraded from version 3.51. Always pretty nervous when doing it but he hasn’t let me down yet.</p>
<p><a href="http://www.dark-alex.org/">Linky to his site</a></p>
<p>Finally here’s how to quickly create a tar gz archive. Here it is</p>
<pre class="brush:plain">  tar -pczf nameOfArchive.tar.gz /directoryToZip</pre>
<div class="fullcircle-social-links" style="display: block;"></div><div style="clear: both;"></div>]]></content:encoded>
			<wfw:commentRss>http://edmundlong.com/edsBlog/new-itouch-apps-psp-firmware-and-creating-a-targz-archive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://files.slembcke.net/chipmunk/movies/sketches.mov" length="3934204" type="video/quicktime" />
		</item>
	</channel>
</rss>
