<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on ShrimpWorks</title><link>/categories/linux/</link><description>Recent content in Linux on ShrimpWorks</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sat, 03 Feb 2018 00:00:00 +0000</lastBuildDate><atom:link href="/categories/linux/feed.xml" rel="self" type="application/rss+xml"/><item><title>Running Unreal Tournament 99 on Linux (part 1)</title><link>/2018/02/03/running-unreal-tournament-99-on-linux-part-1/</link><pubDate>Sat, 03 Feb 2018 00:00:00 +0000</pubDate><guid>/2018/02/03/running-unreal-tournament-99-on-linux-part-1/</guid><description>&lt;img src="/2018/02/03/running-unreal-tournament-99-on-linux-part-1/ut-logo.png" class="image-right" /&gt;
 


&lt;p&gt;With all the talk of Unreal Tournament 4 possibly being cancelled one of these
days, due to Epic&amp;rsquo;s runaway success with Fortnite, I&amp;rsquo;ve decided there&amp;rsquo;s really
no reason to not be playing UT99.&lt;/p&gt;
&lt;p&gt;Thus, we set about trying to run it on modern hardware, with a modern Linux
installation.&lt;/p&gt;
&lt;p&gt;As much as this is about setting things up on Linux, it&amp;rsquo;s also partially my own
attempt at some knowledge preservation, as a lot of this stuff ends up being
forgotten or lost over time (it&amp;rsquo;s been almost 20 years! a lot of the old sites
and things you expect to find this info on simply do not exist anymore :()&lt;/p&gt;
&lt;p&gt;This is part one of two, and will focus on installing and running the game
using Wine.&lt;/p&gt;</description></item><item><title>Publishing Server Status to StatsD with no additional software</title><link>/2018/01/27/linux-statsd/</link><pubDate>Sat, 27 Jan 2018 00:00:00 +0000</pubDate><guid>/2018/01/27/linux-statsd/</guid><description>&lt;p&gt;I recently wanted to set up a couple of rough monitoring services to keep track
of simple server status, load, disk etc. While there are options available like
&lt;a href="https://munin-monitoring.org/"&gt;Munin&lt;/a&gt; which can do this by installing agents
on the machines to be monitored, I wanted something a little simpler and more
portable.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m quite fond of the StatsD + Graphite + Grafana stack, which is quite easy to
run thanks to &lt;a href="https://hub.docker.com/r/kamon/grafana_graphite/"&gt;Kamon&amp;rsquo;s grafana_grafite&lt;/a&gt;
Docker image, and I realised you can actually quite simply write counters,
gauges and timers to StatsD using nothing but the standard Linux tools &lt;code&gt;nc&lt;/code&gt; and
&lt;code&gt;cron&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Lirc 0.9.4 and Kodi on Debian Sid</title><link>/2016/12/16/lirc-0.9.4-and-kodi-on-debian-sid/</link><pubDate>Fri, 16 Dec 2016 00:00:00 +0000</pubDate><guid>/2016/12/16/lirc-0.9.4-and-kodi-on-debian-sid/</guid><description>&lt;p&gt;This is a small follow-on on from the &lt;a href="/2016/06/10/kodi-and-steam-on-debian-sid/"&gt;Kodi on Debian Sid guide&lt;/a&gt; I did earlier this year to get &lt;code&gt;lirc&lt;/code&gt; (IR remote support) working once more, following an upgrade to version 0.9.4, which changes how the &lt;code&gt;lirc&lt;/code&gt; services and configuration work (&lt;em&gt;shakes fist at systemd&lt;/em&gt;).&lt;/p&gt;
&lt;p&gt;After upgrading and following all the instructions in &lt;code&gt;/usr/share/doc/lirc/README.Debian.gz&lt;/code&gt;, I was left with the problem of Kodi not responding to any remote input at all.&lt;/p&gt;</description></item><item><title>Kodi and Steam on Debian Sid</title><link>/2016/06/10/kodi-and-steam-on-debian-sid/</link><pubDate>Fri, 10 Jun 2016 00:00:00 +0000</pubDate><guid>/2016/06/10/kodi-and-steam-on-debian-sid/</guid><description>&lt;img src="/2016/06/10/kodi-and-steam-on-debian-sid/2016-06-10-debian-kodi-steam.png" class="image-right" /&gt;
 


&lt;p&gt;I recently went through the process of reinstalling the media PC connected to my
TV, which I use to run Kodi for movies and TV, and Steam in Big Picture mode,
which allows me to stream Windows-only games from my desktop to the couch.&lt;/p&gt;
&lt;p&gt;I thought it would be useful to describe my setup and the process to achieve it,
in case anyone else is interested in creating their own custom Kodi/Debian/Steam
builds.&lt;/p&gt;</description></item><item><title>User Directories and PHP with nginx</title><link>/2015/04/25/user-directories-and-php-with-nginx/</link><pubDate>Sat, 25 Apr 2015 08:53:16 +0000</pubDate><guid>/2015/04/25/user-directories-and-php-with-nginx/</guid><description>&lt;p&gt;I&amp;rsquo;ve become fond of using nginx on my development machines, rather than
a full Apache.&lt;/p&gt;
&lt;p&gt;There are no explicit options built-in which allow something along the
same lines as Apache&amp;rsquo;s &lt;code&gt;userdir&lt;/code&gt;, however it&amp;rsquo;s easy enough to tweak
the default configuration to support that behaviour without the need for
external modules.&lt;/p&gt;
&lt;p&gt;I also do some PHP dabbling from time to time, so need to enable that as
well.&lt;/p&gt;
&lt;p&gt;Install the required bits:&lt;/p&gt;</description></item><item><title>Clean and Lean Debian Install with i3</title><link>/2015/03/29/clean-and-lean-debian-install-with-i3/</link><pubDate>Sun, 29 Mar 2015 09:33:28 +0000</pubDate><guid>/2015/03/29/clean-and-lean-debian-install-with-i3/</guid><description>&lt;p&gt;



 
 &lt;img src="/2015/03/29/clean-and-lean-debian-install-with-i3/I3_window_manager_logo.png" class="image-left" /&gt;
 


Recently, I&amp;rsquo;ve made the switch from KDE being my preferred Linux desktop
environment/window manager, to &lt;a href="http://i3wm.org/"&gt;i3&lt;/a&gt;, a tiling window
manager, for both my work and private development environments (my home
desktop is still Windows 7, since I do still game enough for it to
become painful to dual-boot - so I do most of my development within a VM
these days).&lt;/p&gt;
&lt;p&gt;I really like it&amp;rsquo;s absolutely minimal approach - essentially it does
nothing itself, it provides a simple window manager, and near limitless
configurability. This has proven an excellent learning experience for
me, since it&amp;rsquo;s forced me to get a lot closer to system components
usually &amp;ldquo;hidden&amp;rdquo; behind sliders and widgets in KDE or Gnome, as well as
a host of alternatives to applications those environments provide by
default. It&amp;rsquo;s also resulted in a much cleaner and faster system,
containing only the applications and services I actually want.&lt;/p&gt;</description></item><item><title>Simple photo enhancements with GIMP</title><link>/2014/10/12/simple-photo-enhancements-with-gimp/</link><pubDate>Sun, 12 Oct 2014 22:04:21 +0000</pubDate><guid>/2014/10/12/simple-photo-enhancements-with-gimp/</guid><description>&lt;p&gt;So, being stuck without access to Photoshop and my regular Windows PC
has taught me a little about &lt;a href="http://gimp.org/"&gt;GIMP&lt;/a&gt; &amp;ndash; basically it&amp;rsquo;s
exactly the same as Photoshop with a less slick UI :D.&lt;/p&gt;
&lt;p&gt;Also, since I haven&amp;rsquo;t really written anything tutorial-ish in many many
years, so this is as much about brushing up on those skills as anything
else.&lt;/p&gt;
&lt;p&gt;This is a guide for quick and simple photo enhancement using GIMP.&lt;/p&gt;</description></item><item><title>Spam filtering with SpamBayes</title><link>/2006/06/07/spam-filtering-with-spambayes/</link><pubDate>Wed, 07 Jun 2006 09:12:04 +0000</pubDate><guid>/2006/06/07/spam-filtering-with-spambayes/</guid><description>&lt;p&gt;Alright, so I&amp;rsquo;ve been getting more and more spam in recent weeks, and
they&amp;rsquo;ve been getting harder and harder to build basic filter rules for.&lt;/p&gt;
&lt;p&gt;My mail works in a pretty round-about way:&lt;br&gt;
I have multiple POP accounts all over the place, which have sort of
accumulated over the years. It becomes a bit of a mission to always set
up and check all these accounts, so what I have now is a small Python
script that connects to each of the servers, grabs the mail, sorts them
based on some simple filters (like, containing a [mailinglist] type
subject), and places them within a Maildir structure based on that
sorting. In addition, it does the same thing for deciding if it should
delete a message - extremely basic spam filtering rules can be set up to
check out certain headers for possible spam flags, etc.&lt;/p&gt;</description></item><item><title>Debian Powered Notebook</title><link>/2005/10/24/debian-powered-notebook/</link><pubDate>Mon, 24 Oct 2005 00:06:33 +0000</pubDate><guid>/2005/10/24/debian-powered-notebook/</guid><description>&lt;p&gt;Yay, on Friday, I decided to take the plunge, and install Debian on my
laptop. I&amp;rsquo;ve always wanted to try working in a Linux desktop
environment, considering I do practically no Delphi development any
more, everything&amp;rsquo;s either PHP or Python. Since Debian has plenty of
support for both of these, it seemed quite ideal.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m not dumping the existing Windows install though, so I had to
partition my drive. Now, partitioning drives is about the most
nerve-racking thing I&amp;rsquo;ve ever done, no matter what software I&amp;rsquo;m using,
no matter how little data I stand to lose, I&amp;rsquo;m always scared as hell
something will go wrong. Doubly so on this laptop since I use it
constantly for work, and it&amp;rsquo;s the default installation HP put on, which
I&amp;rsquo;m not really eager to bugger up. Luckily, that all went smoothly
though :D.&lt;/p&gt;</description></item><item><title>SmoothWall</title><link>/2005/07/29/smoothwall/</link><pubDate>Fri, 29 Jul 2005 10:04:41 +0000</pubDate><guid>/2005/07/29/smoothwall/</guid><description>&lt;p&gt;I must say, I&amp;rsquo;m rather disappointed with my &amp;ldquo;SmoothWall experience&amp;rdquo; so
far. I&amp;rsquo;ve been tasked with setting up a SmoothWall firewall/proxy
machine at work, and from what I&amp;rsquo;ve read, it&amp;rsquo;s like the best thing since
sliced bread.&lt;/p&gt;
&lt;p&gt;Unfortunately I cannot agree.&lt;/p&gt;
&lt;p&gt;The installation tends to go fine, it partitions the hard disk by
itself, installs fairly fast, then steps through a simple setup
&amp;lsquo;wizard&amp;rsquo;. Here we are prompted if we want to enable or disable ADSL.
Now, I want SmoothWall to connect via our ADSL line. BUT, it seems the
developer&amp;rsquo;s idea of &amp;ldquo;ADSL&amp;rdquo; is in fact &amp;ldquo;USB ADSL Modem&amp;rdquo;.&lt;/p&gt;</description></item></channel></rss>