<?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>j4mie dot org &#187; Linux</title>
	<atom:link href="http://www.j4mie.org/category/software/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.j4mie.org</link>
	<description></description>
	<lastBuildDate>Tue, 08 Jun 2010 22:10:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>JavaScript Syntax Checking from gedit</title>
		<link>http://www.j4mie.org/2009/01/14/javascript-syntax-checking-from-gedit/</link>
		<comments>http://www.j4mie.org/2009/01/14/javascript-syntax-checking-from-gedit/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 14:12:06 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Design & Programming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.j4mie.org/?p=140</guid>
		<description><![CDATA[JSLint is a tool for finding problems in JavaScript programs. Unfortunately, to use it, you need to paste your source code into a textarea on a website &#8211; less than ideal. This post will explain how to check your JavaScript directly from gedit.
It is based on these instructions for vim, combined with this method to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jslint.com">JSLint</a> is a tool for finding problems in JavaScript programs. Unfortunately, to use it, you need to paste your source code into a textarea on a website &#8211; less than ideal. This post will explain how to check your JavaScript directly from <a href="projects.gnome.org/gedit/">gedit</a>.</p>
<p>It is based on <a href="http://mikecantelon.com/story/javascript-syntax-checking-vim">these instructions for vim</a>, combined with<a href="http://whereisandy.com/code/jslint/"> this method to allow piping text into JSLint from the standard input</a>.</p>
<p><img src="http://www.jslint.com/jslint.gif" alt="JSLint" /></p>
<p><span id="more-140"></span></p>
<p><strong>1. Install SpiderMonkey</strong><br />
See the <a href="http://developer.mozilla.org/en/SpiderMonkey_Build_Documentation">build instructions page</a> for installing on many different architectures, or<a href="http://mikecantelon.com/story/javascript-syntax-checking-vim"> these instructions</a> for quick installations on Ubuntu and CentOS 5.</p>
<p><strong>2. Download JSLint SpiderMonkey Hack Edition</strong><br />
Get <a href="http://whereisandy.com/code/jslint/jslint">this version of JSLint</a> which has been modified to allow piping code from the standard input. Save it somewhere in your home directory, say <code>/home/<em>username</em>/bin/js/jslinthack.js</code>. You&#8217;ll also need to make it executable by typing <code>chmod +x /home/<em>username</em>/bin/js/jslinthack.js</code></p>
<p><strong>3. Enable the External Tools plugin in gedit</strong><br />
Open gedit and click the Edit menu, then choose Preferences. Click the Plugins tab and tick to enable the Extenal Tools plugin.</p>
<p><strong>4. Set up the JSLint External Tool</strong><br />
In gedit, open the Tools menu and click External Tools. Click the New button and give your new tool the name JSLint. Give it a descriptive name like &#8220;Check JavaScript source code&#8221;. Give it an Accelerator if you wish (mine is Shift+Ctrl+j). Set the Command to the location at which you saved the hacked JSLint file, eg. <code>/home/<em>username</em>/bin/js/jslinthack.js</code>. Set Input to Current Document and set Output to Insert in Output Panel (you&#8217;ll need to have the Bottom Panel enabled in gedit&#8217;s View menu).</p>
<p><strong>5. Profit!</strong><br />
Open up a JavaScript source file, and either press your Accelarator keyboard shortcut, or go to Tools > JSLint. The results of the syntax check will be output in the bottom panel.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.j4mie.org/2009/01/14/javascript-syntax-checking-from-gedit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yoper Linux</title>
		<link>http://www.j4mie.org/2005/04/11/yoper-linux/</link>
		<comments>http://www.j4mie.org/2005/04/11/yoper-linux/#comments</comments>
		<pubDate>Mon, 11 Apr 2005 12:00:00 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.j4mie.org/wordpress/?p=9</guid>
		<description><![CDATA[I am typing this post from within Yoper, a new distribution of GNU/Linux which I have just installed on my laptop.  I&#8217;ve been using Linux in university for the best part of two years now, but I&#8217;ve never found a distro that I&#8217;ve really got on with for use at home.  Fedora and [...]]]></description>
			<content:encoded><![CDATA[<p>I am typing this post from within <a href="http://www.yoper.com">Yoper</a>, a new distribution of GNU/Linux which I have just installed on my laptop.  I&#8217;ve been using Linux in university for the best part of two years now, but I&#8217;ve never found a distro that I&#8217;ve really got on with for use at home.  Fedora and Mandrake were always too bloated for me &#8211; they seem to take the approach of including every bit of software a user could ever possibly need, and as a result are bloated and take up a lot of space.  I&#8217;ve also tried Slackware, which I love, but its hardware detection system isn&#8217;t really up to the task of making my laptop and all my peripherals work correctly, and its Packagetools package management system doesn&#8217;t take into account package dependencies, which is annoying.  I&#8217;ve also briefly tried Gentoo, but got bored after spending 3 hours compiling X and then having to set it all up manually, when I had no idea of the specifications of my laptop&#8217;s LCD display.  I needed a compromise.</p>
<p>In Yoper, I seem to have found one.  The base system is a patched kernel optimised from scratch for i686 architecture (my laptop has a Pentium 4). It uses the Kudzu hardware detection system from Red Hat, package management from Debian (apt-get) and the Synaptic tool.  It comes with only the necessary software to get you up and running, but it&#8217;s easy to install anything you need from Synaptic.  It&#8217;s got its own configuration tool (Yoperconf) that pulls together the different tools it uses for modifying your settings.</p>
<p>I&#8217;m very impressed so far &#8211; it&#8217;s extremely fast and talks to most of my hardware without a problem.  There are still a few things I&#8217;ll need to use Windows for, but I think I&#8217;ll be using Yoper a lot more in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.j4mie.org/2005/04/11/yoper-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
