<?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>JERVIS DOT WS</title>
	<atom:link href="http://jervis.ws/feed/" rel="self" type="application/rss+xml" />
	<link>http://jervis.ws</link>
	<description>A techie’s thoughts and opinions on anything &#38; everything that comes to mind</description>
	<lastBuildDate>Tue, 15 Feb 2011 20:49:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>distributed.net client RPM Package</title>
		<link>http://jervis.ws/2011/02/15/distributed-net-client-rpm-package/</link>
		<comments>http://jervis.ws/2011/02/15/distributed-net-client-rpm-package/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 20:45:36 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[distributed.net]]></category>
		<category><![CDATA[dnetc]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=188</guid>
		<description><![CDATA[<p>This week I decided to dust off my RPM hat and build an RPM for the distributed.net client application.  Firstly to test my setup here and secondly to make the client easier to deploy and remove from my systems.  I have packaged the core DNETC application (v2.9104.510), and added my own DNETC System V init [...]]]></description>
			<content:encoded><![CDATA[<p>This week I decided to dust off my RPM hat and build an RPM for the distributed.net client application.  Firstly to test my setup here and secondly to make the client easier to deploy and remove from my systems.  I have packaged the core <a href="http://www.distributed.net/download/clients.php#linux" target="_blank">DNETC application (v2.9104.510)</a>, and added my own <a href="http://www.jervis.ws/2010/01/22/dnetc-system-v-init-script/" target="_blank">DNETC System V init script</a>. </p>
<p>I thought I would post the files here, as they maybe of use. </p>
<p><a href="http://www.jervis.ws/downloads/rpms/EL5/dnetc-2.9104.510-2.i386.rpm">dnetc-2.9104.510-2.i386.rpm</a><br />
<a href="http://www.jervis.ws/downloads/rpms/EL5/dnetc-2.9104.510-2.i386.spec">dnetc.spec</a><br />
<a href="http://www.jervis.ws/downloads/rpms/EL5/dnetc.init">dnetc.init</a></p>
<p>Distributed.net recommend that you only download and install clients from their site, I have packaged the above and use it on my systems so the choice is yours, but if you wish to build your own RPM, the spec file etc may save you a few mins.</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2011/02/15/distributed-net-client-rpm-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer Script Error, on a cash machine&#8230;!</title>
		<link>http://jervis.ws/2011/02/15/internet-explorer-script-error-on-a-cash-machine/</link>
		<comments>http://jervis.ws/2011/02/15/internet-explorer-script-error-on-a-cash-machine/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 20:42:46 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Cash Point]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=220</guid>
		<description><![CDATA[<p>I went to the cash point the other day and look what I found&#8230;..  Had to take a photo.</p>
<p style="text-align: center;"> </p>
]]></description>
			<content:encoded><![CDATA[<p>I went to the cash point the other day and look what I found&#8230;..  Had to take a photo.</p>
<p style="text-align: center;"><a href="http://www.jervis.ws/wp-content/uploads/Image026.jpg"><img class="size-full wp-image-221 aligncenter" title="Internet Explorer Script Error, on a cash machine...!" src="http://www.jervis.ws/wp-content/uploads/Image026.jpg" alt="Internet Explorer Script Error, on a cash machine...!" width="451" height="1585" /></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2011/02/15/internet-explorer-script-error-on-a-cash-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Annoying Windows Update restart popup</title>
		<link>http://jervis.ws/2010/03/02/annoying-windows-update-restart-popup/</link>
		<comments>http://jervis.ws/2010/03/02/annoying-windows-update-restart-popup/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 19:05:46 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Update]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=214</guid>
		<description><![CDATA[<p>I was working away on my PC today and was getting bugged by the Windows Update restart reminder, having been bitten by its restart in the past I wanted it to leave me alone.</p>
<p>I had stacks of SSH sessions open, web sites and files, it was not the time for a reboot and I didn&#8217;t want [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jervis.ws/wp-content/uploads/windowsupdaterestart.jpg"><img class="alignright size-full wp-image-215" title="windowsupdaterestart" src="http://www.jervis.ws/wp-content/uploads/windowsupdaterestart.jpg" alt="" width="428" height="171" /></a>I was working away on my PC today and was getting bugged by the Windows Update restart reminder, having been bitten by its restart in the past I wanted it to leave me alone.</p>
<p>I had stacks of SSH sessions open, web sites and files, it was not the time for a reboot and I didn&#8217;t want it to decide to restart when I got up to make a drink.</p>
<p>A quick google search helped me out!  Running this command (from a run prompt or from within a command prompt) will stop the message appearing and allow you to continue working, uninterrupted and reboot when your good and ready.</p>
<blockquote><p>sc stop wuauserv</p></blockquote>
<p>Source: <a href="http://lifehacker.com/289998/disable-windows-update-restart-nag" target="_blank">Lifehacker</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2010/03/02/annoying-windows-update-restart-popup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building RPMs</title>
		<link>http://jervis.ws/2010/02/28/building-rpms/</link>
		<comments>http://jervis.ws/2010/02/28/building-rpms/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 11:08:35 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=191</guid>
		<description><![CDATA[<p>Here is some advice I found useful when setting up my RPM build environment, and building a basic RPM.  The main source I used, to save reading my book again or the man pages, was Linc Fessenden&#8217;s blog and some of Linc&#8217;s blog is repeated here for completeness. Thanks Linc!</p>
<p>These instructions should work fine on any CentOS [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jervis.ws/wp-content/uploads/rpm-build.jpg"><img class="alignright size-full wp-image-202" title="rpm-build" src="http://www.jervis.ws/wp-content/uploads/rpm-build.jpg" alt="" width="371" height="102" /></a>Here is some advice I found useful when setting up my RPM build environment, and building a basic RPM.  The main source I used, to save reading my book again or the man pages, was <a href="http://lincgeek.org/blog/?p=303" target="_blank">Linc Fessenden&#8217;s blog</a> and some of Linc&#8217;s blog is repeated here for completeness. Thanks Linc!</p>
<p>These instructions should work fine on any CentOS / RHEL / Fedora system.</p>
<p>First off, we need the rpm-build package to be installed. Check and install if needed.<br />
<code>yum install rpm-build</code></p>
<p>Login to the system as your user account, then make the following directories:</p>
<p><code><br />
mkdir -p ~/rpm<br />
mkdir -p ~/rpm/BUILD<br />
mkdir -p ~/rpm/RPMS<br />
mkdir -p ~/rpm/SOURCES<br />
mkdir -p ~/rpm/SPECS<br />
mkdir -p ~/rpm/SRPMS<br />
mkdir -p ~/rpm/tmp<br />
</code></p>
<p>And create an ~/.rpmmacros file with the following in it:</p>
<p><code><br />
%packager Your Name<br />
%_topdir /home/YOUR USERNAME/rpm<br />
%_tmppath /home/YOUR USERNAME/rpm/tmp<br />
</code></p>
<p>Now you need to create a package source code ditectory in the ~/rpm/SOURCES directory. You should name it package name &#8211; major revision number. Eg: ~/rpm/SOURCES/robspackage-1. In that directory place all the files that you wish to package in the RPM. I have put &#8220;script.sh&#8221; in mine.</p>
<p>Once that is done, make a tarball of that directory in the ~/rpm/SOURCES directory named programname-revision.tar.gz. Eg:<br />
<code><br />
cd ~/rpm/SOURCES<br />
tar -czvf rob-1.tar.gz rob-1/<br />
</code></p>
<p>In the ~/rpm/SPECS directory, create a packagename.spec file for your package.<br />
Eg: rob.spec:</p>
<blockquote><p>Summary: My first rpm package<br />
Name: rob<br />
Version: 1<br />
Release: 1<br />
Source0: rob-1.tar.gz<br />
License: GPL<br />
Group: CustomGroup<br />
BuildArch: noarch<br />
BuildRoot: %{_tmppath}/%{name}-buildroot<br />
%description<br />
Relevant package description<br />
%prep<br />
%setup -q<br />
%build<br />
%install<br />
install -m 0755 -d $RPM_BUILD_ROOT/opt/rob<br />
install -m 0755 script.sh $RPM_BUILD_ROOT/opt/rob/script.sh<br />
%clean<br />
rm -rf $RPM_BUILD_ROOT<br />
%post<br />
echo &#8221; &#8221;<br />
echo &#8220;This will display after rpm installs the package!&#8221;<br />
%files<br />
%dir /opt/rob<br />
/opt/rob/script.sh<br />
%changelog<br />
* Wed Feb 24 2010 Rob Jervis<br />
- added something or fixed a bug</p>
<p>* Tue Feb 23 2010 Rob Jervis<br />
- First RPM package of the rob application for EL5</p></blockquote>
<p>Direct Quote from Linc:<br />
&#8220;The install lines tell rpm what to install where and with what permissions. You also have to do any directory creation there as well (the one with the -d in the line).&#8221;</p>
<p>&#8220;The things after %file are similar in that this tells rpm’s database which files are attached to this package. The %dir signifies a new directory, otherwise the files are listed with their complete paths.&#8221;</p>
<p>Now you need to create the package, go to ~/rpm and do “rpmbuild -ba SPECS/rob.spec”.<br />
If your package builds ok, it will end up in the RPMS directory, in this case: ~/rpm/RPMS/noarch/rob-1-1.noarch.rpm.</p>
<p>If it fails to build, first check your spec file carefully. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2010/02/28/building-rpms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Test!</title>
		<link>http://jervis.ws/2010/02/05/video-test/</link>
		<comments>http://jervis.ws/2010/02/05/video-test/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 15:47:49 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=4</guid>
		<description><![CDATA[<p>Here is a test video file, best viewed full screen. This will show you how you can check which release of CentOS your running.</p>
<p></p>
]]></description>
			<content:encoded><![CDATA[<p>Here is a test video file, best viewed full screen. This will show you how you can check which release of CentOS your running.</p>
<p><img src="http://jervis.ws/wp-content/plugins/flash-video-player/default_video_player.gif" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2010/02/05/video-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Upgrade</title>
		<link>http://jervis.ws/2010/02/01/hello-world/</link>
		<comments>http://jervis.ws/2010/02/01/hello-world/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 21:39:14 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=1</guid>
		<description><![CDATA[<p>Having just upgraded the server, JERVIS DOT WS will be back soon!</p>
]]></description>
			<content:encoded><![CDATA[<p>Having just upgraded the server, JERVIS DOT WS will be back soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2010/02/01/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNETC System V init Script</title>
		<link>http://jervis.ws/2010/01/22/dnetc-system-v-init-script/</link>
		<comments>http://jervis.ws/2010/01/22/dnetc-system-v-init-script/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 21:19:16 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[distributed.net]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=51</guid>
		<description><![CDATA[<p>This week I was looking into init scripts again, its been a while… Anyhow, I remembered that I had written one for distributed.net’s client app.</p>
<p>I thought I would share it, place in “/etc/init.d/dnetc”. It should work fine on current releases of Fedora, RHEL and CentOS. Its designed for the sysadmin to configure dnetc for that [...]]]></description>
			<content:encoded><![CDATA[<p>This week I was looking into init scripts again, its been a while… Anyhow, I remembered that I had written one for distributed.net’s client app.</p>
<p>I thought I would share it, place in “/etc/init.d/dnetc”. It should work fine on current releases of Fedora, RHEL and CentOS. Its designed for the sysadmin to configure dnetc for that system and then manage its start up and shutdown. (Not a script for end users to be using. )</p>
<p>You will need to change the application path to be the directory you have extracted the into.</p>
<p><code><br />
#!/bin/bash<br />
#<br />
# dnetc This shell script takes care of starting and stopping distributed.net client<br />
#<br />
# chkconfig: 345 90 12<br />
# description: distributed.net client program, a \<br />
# distributed computing project. The program \<br />
# uses only the computers idle time.<br />
# processname: dnetc</code></p>
<p># config: /etc/dnetc/dnetc.ini<br />
# pidfile: /var/run/dnetc.pid</p>
<p># Get function from functions library<br />
. /etc/init.d/functions</p>
<p>start() {<br />
echo -n &#8220;Starting DNET client: &#8221;<br />
/custom/dnetc/dnetc -quiet<br />
touch /var/lock/subsys/dnetc<br />
success $&#8221;DNET client startup&#8221;<br />
echo<br />
}</p>
<p>stop() {<br />
echo -n &#8220;Stopping DNET client: &#8221;<br />
killproc dnetc<br />
rm -f /var/lock/subsys/dnetc<br />
echo<br />
}</p>
<p># —————————————————————–<br />
case &#8220;$1&#8243; in<br />
start)<br />
start<br />
;;<br />
stop)<br />
stop<br />
;;<br />
status)<br />
status dnetc<br />
;;<br />
restart|reload|condrestart)<br />
stop<br />
start<br />
;;<br />
*)<br />
echo $&#8221;Usage: $0 {start|stop|restart|reload|status}&#8221;<br />
exit 1<br />
esac</p>
<p>exit 0</p>
<p>This script could do with some more work, I did put it together quickly, but <a href="http://www.cyberciti.biz/tips/linux-write-sys-v-init-script-to-start-stop-service.html">this page</a> helped me get it going and its worth looking at if you want to write a System V init script of your own.</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2010/01/22/dnetc-system-v-init-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Looking forward to Fedora 12!</title>
		<link>http://jervis.ws/2009/11/06/looking-forward-to-fedora-12/</link>
		<comments>http://jervis.ws/2009/11/06/looking-forward-to-fedora-12/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 14:21:10 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=119</guid>
		<description><![CDATA[
<p>Fedora 12 release countdown!</p>


]]></description>
			<content:encoded><![CDATA[<div>
<p>Fedora 12 release countdown!</p>
<div><a href="https://fedoraproject.org/get-fedora"><img class="aligncenter" src="https://fedoraproject.org/static/images/banners/f12release.png" alt="Fedora 12 is here!" width="200" height="100" /></a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2009/11/06/looking-forward-to-fedora-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Upgrade 2.7 and 2.7.1</title>
		<link>http://jervis.ws/2009/02/17/wordpress-upgrade-27-271/</link>
		<comments>http://jervis.ws/2009/02/17/wordpress-upgrade-27-271/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 19:47:59 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=41</guid>
		<description><![CDATA[<p>Going back to late last year, I upgraded WordPress to 2.7. It all went will apart from some issues with the TinyMCE visual editor. I read a number of articles including Troubleshooting TinyMCE in WordPress 2.7 and http://wordpress.org/support/topic/224121 with no luck. With no plugins and the default theme, i could not get my editor to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jervis.ws/wp-content/uploads/wordpress-logo-hoz-bg.png"><img class="size-full wp-image-205 alignleft" title="wordpress-logo-hoz-bg" src="http://www.jervis.ws/wp-content/uploads/wordpress-logo-hoz-bg.png" alt="" width="176" height="145" /></a>Going back to late last year, I upgraded WordPress to 2.7. It all went will apart from some issues with the TinyMCE visual editor. I read a number of articles including <a href="http://azaozz.wordpress.com/2008/12/11/troubleshooting-tinymce-in-wordpress-27">Troubleshooting TinyMCE in WordPress 2.7</a> and <a href="http://wordpress.org/support/topic/224121">http://wordpress.org/support/topic/224121</a> with no luck. With no plugins and the default theme, i could not get my editor to run correctly. I decided to put up with it, till i had some more time to investigate.</p>
<p>I found that <a href="http://wordpress.org/development/2009/02/wordpress-271/">v2.7.1 has now been released</a>, so I rushed to upgrade. I used the new options in the admin section, “Tools &gt; Upgrade &gt; Automatically Upgrade”. The auto upgrade went briliantly and afterwards my TinyMCE visual editor also started working! Great!</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2009/02/17/wordpress-upgrade-27-271/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox SSH protocol handler (Linux)</title>
		<link>http://jervis.ws/2009/01/11/firefox-ssh-protocol-handler-linux/</link>
		<comments>http://jervis.ws/2009/01/11/firefox-ssh-protocol-handler-linux/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 18:11:42 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.jervis.ws/?p=37</guid>
		<description><![CDATA[<p>I have a web page that lists servers I need to connect to. This page has several hyper links for each server to key webpages on that host. I wanted to be able to connect using ssh too, at the click of a link. (eg: ssh://myserver.example.com and ssh://user@myserver.example.com)</p>
<p>I started doing a bit of research into [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jervis.ws/wp-content/uploads/ff.png"><img class="alignright size-full wp-image-208" title="ff" src="http://www.jervis.ws/wp-content/uploads/ff.png" alt="" width="100" height="140" /></a>I have a web page that lists servers I need to connect to. This page has several hyper links for each server to key webpages on that host. I wanted to be able to connect using ssh too, at the click of a link. (eg: ssh://myserver.example.com and ssh://user@myserver.example.com)</p>
<p>I started doing a bit of research into this and have been able to set it up!</p>
<p>On Fedora 10:<br />
1. Open Firefox and go to: about:config.<br />
2. Right Click &gt; New &gt; Boolean &gt; Enter the following name “network.protocol-handler.expose.ssh” and then “true”<br />
3. Right Click &gt; New &gt; Boolean &gt; Enter the following name “network.protocol-handler.external.ssh” and then “true”<br />
4. Right Click &gt; New &gt; Boolean &gt; Enter the following name “network.protocol-handler.warn-external.ssh” and then “false”<br />
5. Right Click &gt; New &gt; String &gt; Enter the following name “network.protocol-handler.app.ssh” and then “firefox-ssh.sh”<br />
6. Close Firefox<br />
7. Create a script here (/usr/local/bin/firefox-ssh.sh) with the following in it:</p>
<p>#!/bin/bash<br />
gnome-terminal -e &#8220;ssh `echo $1 | sed -e &#8220;s/ssh:\/\///&#8221;`&#8221;<br />
8. Run chmod +x /usr/local/bin/firefox-ssh.sh<br />
9. Open Firefox and go to a link like ssh://myserver.example.com</p>
]]></content:encoded>
			<wfw:commentRss>http://jervis.ws/2009/01/11/firefox-ssh-protocol-handler-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

