<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>RSS Feed</title>
<language>en-us</language>
<generator>CN RSS Generator</generator>
<copyright>All content copyright CN plc</copyright>
<description>Keep up-to-date with the latest news</description>
<link>http://www.chrisnewland.com</link>
<item><title>What is a Content Management System?</title><link>http://www.chrisnewland.com/av/2/what-is-a-content-management-system</link><description>A Content Management System or CMS for short is a system that allows a non-technical person to maintain a website by generating and editing content for that website.</description><pubDate>Sat, 20 Feb 2010 10:37:29 +0000</pubDate></item>
<item><title>CMS linking to external sites</title><link>http://www.chrisnewland.com/av/3/cms-linking-to-external-sites</link><description>For now these are simple links but later on I will be routing all of these external URLs through a tracker to monitor the exit points from my websites.</description><pubDate>Sat, 20 Feb 2010 10:39:13 +0000</pubDate></item>
<item><title>Wattson smart energy meter</title><link>http://www.chrisnewland.com/av/5/wattson-smart-energy-meter</link><description>Fantastic stylish and functional device that will pay for itself and make your home greener.</description><pubDate>Thu, 05 Aug 2010 00:00:00 +0100</pubDate></item>
<item><title>Help Me Chill</title><link>http://www.chrisnewland.com/av/7/help-me-chill</link><description>Available via DAB, Digital TV, and Internet radio. A very relaxing selection of chill electronica.</description><pubDate>Sat, 20 Feb 2010 10:41:37 +0000</pubDate></item>
<item><title>Model Rocketry</title><link>http://www.chrisnewland.com/av/8/model-rocketry</link><description>When the weather is good, this is great fun.</description><pubDate>Sat, 20 Feb 2010 10:42:15 +0000</pubDate></item>
<item><title>LifeHacker</title><link>http://www.chrisnewland.com/av/12/lifehacker</link><description>Interesting website with tips on living more efficiently.</description><pubDate>Sat, 20 Feb 2010 23:45:43 +0000</pubDate></item>
<item><title>Demoscene</title><link>http://www.chrisnewland.com/av/17/demoscene</link><description>The art of pushing hardware and coding skills to their limits.</description><pubDate>Sun, 21 Feb 2010 00:00:00 +0000</pubDate></item>
<item><title>Solving Reverse DNS problem for multiple domains</title><link>http://www.chrisnewland.com/av/30/solving-reverse-dns-problem-for-multiple-domains</link><description>If you use virtual mail hosting to host multiple domains on a single mail server (e.g. qmail with vpopmail) and you are having problems with mail being rejected due to rDNS (reverse DNS) failures then here is the solution.</description><pubDate>Thu, 15 Apr 2010 17:38:51 +0100</pubDate></item>
<item><title>Secure network backup (scp) with bandwidth throttling</title><link>http://www.chrisnewland.com/av/31/secure-network-backup-scp-with-bandwidth-throttling</link><description>Ever needed to do a big backup or file copy from a remote site but don't want to max out your local connection? Use this little-known switch to the scp command to get your files securely at a rate that suits your link.</description><pubDate>Fri, 23 Apr 2010 13:47:12 +0100</pubDate></item>
<item><title>Create ISO from CD or DVD in Linux</title><link>http://www.chrisnewland.com/av/32/create-iso-from-cd-or-dvd-in-linux</link><description>If you are using VirtualBox or another virtualisation system and need to make some ISO images from your installation media for quick VM creation then use this command to easily create an ISO image from optical media.</description><pubDate>Fri, 30 Apr 2010 00:00:00 +0100</pubDate></item>
<item><title>Deadlock when 2 threads write to the same HashMap</title><link>http://www.chrisnewland.com/av/33/deadlock-when-2-threads-write-to-the-same-hashmap</link><description>If 2 or more threads are writing to the same java.util.HashMap then take the following advice to avoid deadlock.</description><pubDate>Tue, 04 May 2010 00:00:00 +0100</pubDate></item>
<item><title>Virgin Media Netgear WN111 on Ubuntu Linux</title><link>http://www.chrisnewland.com/av/34/virgin-media-netgear-wn111-on-ubuntu-linux</link><description>Virgin Media are supplying a Netgear WN111v2 wireless N USB adapter with their 50Mb service. Here's how to get it working under Linux (I used Ubuntu 9.10 Karmic Koala)</description><pubDate>Thu, 03 Jun 2010 08:21:08 +0100</pubDate></item>
<item><title>Generate ssh public key from private key using ssh-keygen</title><link>http://www.chrisnewland.com/av/35/generate-ssh-public-key-from-private-key-using-ssh-keygen</link><description>If you have lost your ssh public key you can recreate it from the private key using ssh-keygen.</description><pubDate>Fri, 04 Jun 2010 00:00:00 +0100</pubDate></item>
<item><title>Updating virtualbox public key in apt from Sun to Oracle</title><link>http://www.chrisnewland.com/av/36/updating-virtualbox-public-key-in-apt-from-sun-to-oracle</link><description>Oracle has taken over Sun so if you are managing your Virtualbox installation in Debian using the apt package manager you will need to update your public key to avoid public key errors with apt-get update.</description><pubDate>Mon, 21 Jun 2010 00:00:00 +0100</pubDate></item>
<item><title>Decrypting gpg file using an external keyring</title><link>http://www.chrisnewland.com/av/37/decrypting-gpg-file-using-an-external-keyring</link><description>It's good security practice to keep your gpg keyrings separate from the files they encrypted. Here is how to decrypt your files using keyrings stored on an external filesystem (USB stick etc).</description><pubDate>Wed, 30 Jun 2010 00:00:00 +0100</pubDate></item>
<item><title>Fixing VirtualBox fullscreen on wrong monitor</title><link>http://www.chrisnewland.com/av/38/fixing-virtualbox-fullscreen-on-wrong-monitor</link><description>Since upgrading to VirtualBox 3.2.x (Ubuntu host, XP guest) my guest OS always goes to the primary monitor even when I hit ctrl-F when the windowed guest is on the secondary screen.</description><pubDate>Fri, 09 Jul 2010 00:00:00 +0100</pubDate></item>
<item><title>PHP Validate currency with preg_match</title><link>http://www.chrisnewland.com/av/39/php-validate-currency-with-pregmatch</link><description>In PHP 6 the ereg() functions for POSIX regular expressions will be removed and you will need to use the PERL preg_match() regex functions which are harder to use in my opinion. Here is a regular expression for preg_match() to validate a currency amount with up to 2 decimal places.</description><pubDate>Thu, 05 Aug 2010 00:00:00 +0100</pubDate></item>
<item><title>Samsung N220 netbook with Intel Atom N450 dual core CPU</title><link>http://www.chrisnewland.com/av/40/samsung-n220-netbook-with-intel-atom-n450-dual-core-cpu</link><description>A great little dual-core netbook with a nice keyboard, decent sound, and a better graphics chip than the first generation netbooks.</description><pubDate>Thu, 05 Aug 2010 00:00:00 +0100</pubDate></item>
<item><title>$_FILES array empty on PHP file upload</title><link>http://www.chrisnewland.com/av/41/files-array-empty-on-php-file-upload</link><description>Trying to upload a file from an HTML form and the PHP superglobal array $_FILES is empty. Here is my solution.</description><pubDate>Fri, 13 Aug 2010 00:00:00 +0100</pubDate></item>
<item><title>Using mod_rewrite to protect your bandwidth against hostile spiders and spambots</title><link>http://www.chrisnewland.com/av/42/using-modrewrite-to-protect-your-bandwidth-against-hostile-spiders-and-spambots</link><description>I recently checked the log files of one of my websites to discover a set of guestbook spambots were hitting a non-existent page about every 10 seconds which resulted in my site returning a 5KB response. This quickly added up to the 2.5GB monthly limit on my hosting package so here's how to protect your bandwidth using Apache httpd's mod_rewrite rules.</description><pubDate>Wed, 18 Aug 2010 22:09:58 +0100</pubDate></item>
<item><title>Three Mifi enable web interface via Netvigator firmware upgrade</title><link>http://www.chrisnewland.com/av/43/three-mifi-enable-web-interface-via-netvigator-firmware-upgrade</link><description>The excellent little Three Mifi (a branded Huawei E5830 wifi to 3G routing modem) has had it's web interface disabled by the network provider which removes several useful features such as MAC-address filtering and "Always-On" mode (great if the connection drops when on a train). Here's how to re-enable it by flashing with the Netvigator unofficial firmware.</description><pubDate>Fri, 27 Aug 2010 22:04:31 +0100</pubDate></item>
<item><title>Remove subversion information from a directory tree</title><link>http://www.chrisnewland.com/av/44/remove-subversion-information-from-a-directory-tree</link><description>If you use the subversion (svn) version control system you might find yourself needing to remove the .svn directories from your tree for things like backups and build processes. This simple Linux command will recursively find and delete .svn directories from the file tree.</description><pubDate>Tue, 31 Aug 2010 10:44:02 +0100</pubDate></item>
<item><title>Java can't delete directory</title><link>http://www.chrisnewland.com/av/45/java-cant-delete-directory</link><description>Java can't delete a directory if it is not empty. The following code uses recursion to delete the directory tree.</description><pubDate>Tue, 31 Aug 2010 00:00:00 +0100</pubDate></item>
<item><title>Find and Replace with nano</title><link>http://www.chrisnewland.com/av/47/find-and-replace-with-nano</link><description>nano is a simple text editor for Linux and UNIX systems and I've been using it for years but only discovered the search and replace function today.</description><pubDate>Fri, 03 Sep 2010 00:00:00 +0100</pubDate></item>
<item><title>Ubuntu /media/Stick_ (with underscore)</title><link>http://www.chrisnewland.com/av/48/ubuntu-mediastick-with-underscore</link><description>A few days ago I tried to copy some files onto a USB pendrive which appeared on the desktop as </description><pubDate>Mon, 06 Sep 2010 00:00:00 +0100</pubDate></item>
<item><title>OpenOffice Calc horribly slow to open spreadsheet?</title><link>http://www.chrisnewland.com/av/49/openoffice-calc-horribly-slow-to-open-spreadsheet</link><description>Recently I've been having problems with a certain Excel97 formatted spreadsheet in OpenOffice Calc. It takes about 30 seconds to load and only has about 30 rows. I thought the problem was to do with some cells containing hyperlinks to web pages so I removed the cells and re-pasted them as text but it still takes the same time to load or save.</description><pubDate>Tue, 07 Sep 2010 11:54:18 +0100</pubDate></item>
<item><title>Debian software RAID 1 on non boot disk</title><link>http://www.chrisnewland.com/av/50/debian-software-raid-1-on-non-boot-disk</link><description>How to create a software RAID1 array on your non-boot drive using fdisk and mdadm</description><pubDate>Tue, 12 Oct 2010 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] dmsetup /proc/misc: No entry for device-mapper found</title><link>http://www.chrisnewland.com/av/51/solved-dmsetup-procmisc-no-entry-for-device-mapper-found</link><description>Trying to get Linux software RAID working? Here is how to solve the device mapper error.</description><pubDate>Tue, 05 Oct 2010 13:51:16 +0100</pubDate></item>
<item><title>Headless VirtualBox multiple guests with bridged networking</title><link>http://www.chrisnewland.com/av/52/headless-virtualbox-multiple-guests-with-bridged-networking</link><description>Want to have multiple guests inside a single host that can communicate with each other, with the host, and with the internet? Here is how to configure configure a headless host using VBoxManage.</description><pubDate>Mon, 11 Oct 2010 00:00:00 +0100</pubDate></item>
<item><title>Headless start and stop multiple VirtualBox guests using VBoxHeadless and VBoxManage</title><link>http://www.chrisnewland.com/av/53/headless-start-and-stop-multiple-virtualbox-guests-using-vboxheadless-and-vboxmanage</link><description>How to start and stop your VirtualBox guests from the host's command line using VBoxHeadless and VBoxManage.</description><pubDate>Tue, 12 Oct 2010 00:00:00 +0100</pubDate></item>
<item><title>Move svn repository onto a new server</title><link>http://www.chrisnewland.com/av/54/move-svn-repository-onto-a-new-server</link><description>Time to move your svn repo from a tired old server to a shiny new one?</description><pubDate>Tue, 12 Oct 2010 00:00:00 +0100</pubDate></item>
<item><title>Ubuntu fix 'Load balancing tick' problem</title><link>http://www.chrisnewland.com/av/55/ubuntu-fix-load-balancing-tick-problem</link><description>Kernel 2.6.35 introduced a bug with scheduling on dual core processors that caused high numbers of Load balancing tick events which prevent the CPU from entering deep sleep states. This increases heat and power usage and reduces battery life which is bad news for dual core netbooks (Atom N450)</description><pubDate>Fri, 03 Dec 2010 00:00:00 +0000</pubDate></item>
<item><title>VirtualBox installation on headless server</title><link>http://www.chrisnewland.com/av/56/virtualbox-installation-on-headless-server</link><description>Instructions for installing Sun/Oracle VirtualBox on a headless Debian server. In this example you can learn how to install a Windows XP guest on a headless Debian server using just the command line.</description><pubDate>Wed, 08 Dec 2010 00:00:00 +0000</pubDate></item>
<item><title>Ashes Jokes and Cricket Jokes after England beat Australia</title><link>http://www.chrisnewland.com/av/57/ashes-jokes-and-cricket-jokes-after-england-beat-australia</link><description>Ashes Jokes, Australia Jokes, Cricket Jokes, Ashes 2010 Jokes, Ashes 2011 Jokes, England win ashes Jokes. In case you were wondering, this article is a search test for topical news.</description><pubDate>Fri, 07 Jan 2011 12:10:22 +0000</pubDate></item>
<item><title>Cisco PIX site-to-site VPN with NAT before encryption</title><link>http://www.chrisnewland.com/av/58/cisco-pix-site-to-site-vpn-with-nat-before-encryption</link><description>How to set up a site-to-site VPN on a Cisco PIX firewall using Policy NAT to mangle your internal addresses to match the internal addresses of your VPN counterparty.</description><pubDate>Mon, 10 Jan 2011 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] svn commit problems with missing files</title><link>http://www.chrisnewland.com/av/59/solved-svn-commit-problems-with-missing-files</link><description>You svn add some files but then delete them from your local filesystem. Some time later you try to commit but the commit fails due to the missing files. AAAAAAARRRRRRRGGGGGGGGGHHHHHHH!</description><pubDate>Thu, 13 Jan 2011 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] Linux route command takes a long time to complete</title><link>http://www.chrisnewland.com/av/60/solved-linux-route-command-takes-a-long-time-to-complete</link><description>If your routing table takes a long time to display then you may have a DNS resolution issue causing the slowdown. Here is the solution:</description><pubDate>Wed, 26 Jan 2011 00:00:00 +0000</pubDate></item>
<item><title>Postgres dump database schema with or without data</title><link>http://www.chrisnewland.com/av/61/postgres-dump-database-schema-with-or-without-data</link><description>Need to copy the database schema (table structure) with or without the table data from an existing postgres database?</description><pubDate>Mon, 28 Mar 2011 00:00:00 +0100</pubDate></item>
<item><title>Generate SSL CSR for apache2</title><link>http://www.chrisnewland.com/av/62/generate-ssl-csr-for-apache2</link><description>How to generate a Certificate Signing Request (CSR) for a new SSL certificate for an apache2 webserver.</description><pubDate>Wed, 26 Jan 2011 16:20:05 +0000</pubDate></item>
<item><title>Which process is using port with lsof or netstat (solve bind errors)</title><link>http://www.chrisnewland.com/av/63/which-process-is-using-port-with-lsof-or-netstat-solve-bind-errors</link><description>You've got a bind error because a process is already listening on your port. Here are two different ways to find the offending process (Linux/UNIX/etc)</description><pubDate>Tue, 01 Feb 2011 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] Windows 7 hang on boot (Classpnp.sys)</title><link>http://www.chrisnewland.com/av/64/solved-windows-7-hang-on-boot-classpnpsys</link><description>Windows 7 hanging on boot? Safe mode gets stuck at Classphp.sys? Here is the solution.</description><pubDate>Wed, 16 Feb 2011 00:00:00 +0000</pubDate></item>
<item><title>Postgres server to server database copy performance boost</title><link>http://www.chrisnewland.com/av/65/postgres-server-to-server-database-copy-performance-boost</link><description>How to copy a database from one server to another over a network.</description><pubDate>Tue, 22 Feb 2011 00:00:00 +0000</pubDate></item>
<item><title>/var/lib/dpkg/status broken after upgrading from Ubuntu Jaunty to Maverick</title><link>http://www.chrisnewland.com/av/66/varlibdpkgstatus-broken-after-upgrading-from-ubuntu-jaunty-to-maverick</link><description>warning, in file '/var/lib/dpkg/status' near line 42896 package 'virtualbox-3.2': error in Version string '3.2.12-68302_Ubuntu_jaunty': invalid character in revision number
</description><pubDate>Wed, 02 Mar 2011 14:37:05 +0000</pubDate></item>
<item><title>Ubuntu remove OpenJDK and use Sun Java as default</title><link>http://www.chrisnewland.com/av/67/ubuntu-remove-openjdk-and-use-sun-java-as-default</link><description>Now that Sun Java is in the Maverick partner's repositories you can use Sun's JDK and JRE easily in Ubuntu.</description><pubDate>Thu, 03 Mar 2011 00:00:00 +0000</pubDate></item>
<item><title>Virtualbox NSIS can't write bytes to output</title><link>http://www.chrisnewland.com/av/68/virtualbox-nsis-cant-write-bytes-to-output</link><description>Something has broken in Virtualbox 3.2.12 (Linux 64 bit host, XP 32 bit guest) and it's no longer possible to run a NSIS installer script on a Virtualbox shared folder:  Error: can't write 19678836 bytes to output Error - aborting creation process</description><pubDate>Mon, 21 Mar 2011 00:00:00 +0000</pubDate></item>
<item><title>Open port range on Cisco PIX firewall</title><link>http://www.chrisnewland.com/av/69/open-port-range-on-cisco-pix-firewall</link><description>How to open a range of ports on a Cisco PIX firewall with a single access-list command.</description><pubDate>Tue, 29 Mar 2011 00:00:00 +0100</pubDate></item>
<item><title>Remove file from svn repository but keep local copy</title><link>http://www.chrisnewland.com/av/70/remove-file-from-svn-repository-but-keep-local-copy</link><description>So you've added a file to the subversion repository in error but you still want to keep a local copy? Examples are committing your personal .classpath and .project settings for Eclipse when developing as a team. Here is how to keep a local copy of the file but remove it from version control.</description><pubDate>Thu, 31 Mar 2011 00:00:00 +0100</pubDate></item>
<item><title>Remove .svn folders on Linux</title><link>http://www.chrisnewland.com/av/71/remove-svn-folders-on-linux</link><description>How to remove .svn hidden directories with a single Linux command.</description><pubDate>Thu, 31 Mar 2011 00:00:00 +0100</pubDate></item>
<item><title>Mapping a drive in Virtualbox Windows guest with net use</title><link>http://www.chrisnewland.com/av/72/mapping-a-drive-in-virtualbox-windows-guest-with-net-use</link><description>Here is how to map a Windows network drive to a Virtualbox shared folder (set up the share in the Virtualbox VM settings before you start the guest VM).</description><pubDate>Thu, 31 Mar 2011 00:00:00 +0100</pubDate></item>
<item><title>The 8 Commandments for Securing Your Users' Passwords</title><link>http://www.chrisnewland.com/av/73/the-8-commandments-for-securing-your-users-passwords</link><description>Developing a client server application that authenticates over a network? Here is how to make sure your client's passwords are stored securely in your database and are protected from rainbow table attacks.</description><pubDate>Wed, 06 Apr 2011 21:23:27 +0100</pubDate></item>
<item><title>Fix VirtualBox clock drift</title><link>http://www.chrisnewland.com/av/74/fix-virtualbox-clock-drift</link><description>I've noticed the system clock in my VirtualBox XP guest is drifting so that after a few hours is can be 30 seconds behind the host OS clock. This VBoxManage command will fix that.</description><pubDate>Wed, 13 Apr 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Excel 2010 very slow to open files</title><link>http://www.chrisnewland.com/av/75/solved-excel-2010-very-slow-to-open-files</link><description>Got a whizzy new PC with Office 2010 and sometimes Excel documents are taking ages (minutes) to open? This fix worked for me and now the documents open instantly.</description><pubDate>Tue, 19 Apr 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Error bumping revisions post-commit svn</title><link>http://www.chrisnewland.com/av/76/solved-error-bumping-revisions-post-commit-svn</link><description>If you have your working copy on a Samba share and your samba is an old version that contains a bug then you will get an error about bumping revisions post commit. Here is how to solve it.</description><pubDate>Thu, 21 Apr 2011 00:00:00 +0100</pubDate></item>
<item><title>Postgres list user-defined stored procedures</title><link>http://www.chrisnewland.com/av/77/postgres-list-user-defined-stored-procedures</link><description>Need to get a list of stored procedures but don't want to wade through all of the built in ones? Use this query to get them.</description><pubDate>Thu, 12 May 2011 00:00:00 +0100</pubDate></item>
<item><title>Postgres invalid byte sequence for encoding UTF8</title><link>http://www.chrisnewland.com/av/78/postgres-invalid-byte-sequence-for-encoding-utf8</link><description>Trying to restore a postgres database dump taken from an old version of postgresql? Your database might not be in UTF8 format and might be in an older format such as SQL_ASCII. Here is how to create your database using createdb so that you can restore the dump.</description><pubDate>Mon, 16 May 2011 00:00:00 +0100</pubDate></item>
<item><title>Dotdeb packages need GPG key</title><link>http://www.chrisnewland.com/av/79/dotdeb-packages-need-gpg-key</link><description>W: GPG error: http://packages.dotdeb.org oldstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9C74FEEA2098A6E  Dotdeb packages are now signed. Here is how to import the dotdeb gpg key</description><pubDate>Mon, 16 May 2011 00:00:00 +0100</pubDate></item>
<item><title>Create and export PGP keys for Postgresql</title><link>http://www.chrisnewland.com/av/80/create-and-export-pgp-keys-for-postgresql</link><description>Here is how to generate the PGP public and private keys needed for encrypting/decrypting column data in postgres using the pgp_pub_encrypt and pgp_pub_decrypt functions from pgcrypto.</description><pubDate>Mon, 16 May 2011 00:00:00 +0100</pubDate></item>
<item><title>Install pgcrypto for Postgres encryption in Debian Lenny</title><link>http://www.chrisnewland.com/av/81/install-pgcrypto-for-postgres-encryption-in-debian-lenny</link><description>If you need database level encryption in postgresql you can add it easily using the functions in the pgcrypto contrib module.</description><pubDate>Tue, 17 May 2011 00:00:00 +0100</pubDate></item>
<item><title>Postgres list databases</title><link>http://www.chrisnewland.com/av/82/postgres-list-databases</link><description>Here is how to list your databases in postgres from the command line (using psql) and from within psql.</description><pubDate>Wed, 25 May 2011 00:00:00 +0100</pubDate></item>
<item><title>Debian Squeeze Mozilla GPG keys</title><link>http://www.chrisnewland.com/av/83/debian-squeeze-mozilla-gpg-keys</link><description>Install these GPG keys if you want to add the Mozilla apt repository to Debian Squeeze. W: GPG error: http://mozilla.debian.net squeeze-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 85A3D26506C4AE2A</description><pubDate>Wed, 25 May 2011 00:00:00 +0100</pubDate></item>
<item><title>Disable exim4 MTA startup on Debian squeeze</title><link>http://www.chrisnewland.com/av/84/disable-exim4-mta-startup-on-debian-squeeze</link><description>Don't need an MTA running on port 25?Disable exim4 like this.</description><pubDate>Thu, 26 May 2011 00:00:00 +0100</pubDate></item>
<item><title>Create svn mirror over a network</title><link>http://www.chrisnewland.com/av/85/create-svn-mirror-over-a-network</link><description>If you need a hot-spare of your svn repository or want an easy way to migrate your repo to a new server without dumping, copying, and reloading then use this technique to clone your repo over the network using svnsync (no local access to svn server required).</description><pubDate>Tue, 21 Jun 2011 00:00:00 +0100</pubDate></item>
<item><title>Hot key for NEWLink NLKVM P2PC 2 Port Micro KVM</title><link>http://www.chrisnewland.com/av/86/hot-key-for-newlink-nlkvm-p2pc-2-port-micro-kvm</link><description>Here is how to switch inputs on the NewLink NLKVM PC2PC</description><pubDate>Tue, 28 Jun 2011 13:27:39 +0100</pubDate></item>
<item><title>Linux remove duplicate lines from file</title><link>http://www.chrisnewland.com/av/87/linux-remove-duplicate-lines-from-file</link><description>3 different ways to remove duplicate lines from a file at the command line.</description><pubDate>Tue, 28 Jun 2011 00:00:00 +0100</pubDate></item>
<item><title>Virtualbox install extension pack on headless server</title><link>http://www.chrisnewland.com/av/88/virtualbox-install-extension-pack-on-headless-server</link><description>If you get the error VRDE: VirtualBox Remote Desktop Extension is not available when trying to start a headless VM on VirtualBox 4 or greater then it is because you have not installed the extension pack containing VRDE. Here is the solution.</description><pubDate>Thu, 30 Jun 2011 00:00:00 +0100</pubDate></item>
<item><title>Samsung SyncMaster 913N 1280x1024 resolution in Debian and Ubuntu</title><link>http://www.chrisnewland.com/av/89/samsung-syncmaster-913n-1280x1024-resolution-in-debian-and-ubuntu</link><description>My Samsung SyncMaster 913N only detects modes up to 1024x768 in Debian and Ubuntu, here is how to add the 1280x1024 native resolution using xrandr.</description><pubDate>Fri, 01 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>/etc/apt/sources.list for dist-upgrade lenny to squeeze</title><link>http://www.chrisnewland.com/av/90/etcaptsourceslist-for-dist-upgrade-lenny-to-squeeze</link><description>Volatile no longer exists starting with Debian Squeeze so here are the apt sources.list lines you need to dist-upgrade from Lenny.</description><pubDate>Mon, 04 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>Find biggest tables in postgres</title><link>http://www.chrisnewland.com/av/91/find-biggest-tables-in-postgres</link><description>Find the tables in your database which occupy the most disk space.</description><pubDate>Mon, 04 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>VirtualBox Windows guest stuck in shutting down state</title><link>http://www.chrisnewland.com/av/92/virtualbox-windows-guest-stuck-in-shutting-down-state</link><description>If your Windows guest VM gets stuck in a state when you can no longer enter commands (such as a bluescreen of death, or the shutting down process) then you can perform the equivalent of pulling the power cord to shut down the VM.</description><pubDate>Thu, 14 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>Linux redirect standard out and standard err to dev null</title><link>http://www.chrisnewland.com/av/93/linux-redirect-standard-out-and-standard-err-to-dev-null</link><description>If you don't care about any stderr and stdout output from a process (e.g. you are running a script from cron and don't want to be bombarded by emails containing the process debug) use these redirects to send the output to /dev/null</description><pubDate>Mon, 18 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>PostgreSQL convert BIGINT to date</title><link>http://www.chrisnewland.com/av/94/postgresql-convert-bigint-to-date</link><description>If you are storing your timestamp data with millisecond accuracy in a PostgreSQL BIGINT column then you can use the following SQL to retrieve the value as a date.</description><pubDate>Tue, 19 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>Get SEDOL from ISIN using SQL (Postgres)</title><link>http://www.chrisnewland.com/av/95/get-sedol-from-isin-using-sql-postgres</link><description>The SEDOL identifier for UK stocks is a substring of the ISIN code. Here is how to extract it using a PostgreSQL SELECT statement.</description><pubDate>Tue, 19 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] syslog-ng Error opening file for writing</title><link>http://www.chrisnewland.com/av/96/solved-syslog-ng-error-opening-file-for-writing</link><description>If your syslog-ng runs as root but still won't create the logfile for writing then you have probably missed the following options from your config.</description><pubDate>Wed, 20 Jul 2011 17:48:50 +0100</pubDate></item>
<item><title>Linux find grep and rm with a massive number of files</title><link>http://www.chrisnewland.com/av/97/linux-find-grep-and-rm-with-a-massive-number-of-files</link><description>Got a directory with a bazillion files and need to delete the ones containing a certain text string? Here is how you can do it with a simple one-liner.</description><pubDate>Fri, 22 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>Run PostgreSQL queries from the command line and export data</title><link>http://www.chrisnewland.com/av/98/run-postgresql-queries-from-the-command-line-and-export-data</link><description>Need to dump some data from your database into a file but want to use SQL to intelligently select what you export? Here is how to run SQL from the command line using the psql tool</description><pubDate>Fri, 22 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>Sort files by size in Debian</title><link>http://www.chrisnewland.com/av/99/sort-files-by-size-in-debian</link><description>Trying to find the big files clogging up your filesystem?</description><pubDate>Fri, 22 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>CSS padding shortcuts</title><link>http://www.chrisnewland.com/av/100/css-padding-shortcuts</link><description>How to pad in CSS using 1, 2,  or 4 parameters</description><pubDate>Wed, 27 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] PHP Parse error:  syntax error, unexpected T_OBJECT_OPERATOR</title><link>http://www.chrisnewland.com/av/101/solved-php-parse-error-syntax-error-unexpected-tobjectoperator</link><description>Got an unexpected  T_OBJECT_OPERATOR syntax error in your PHP? Here is the cause</description><pubDate>Wed, 27 Jul 2011 00:00:00 +0100</pubDate></item>
<item><title>Xeon family 15 model 4 stepping 1 is 64 bit</title><link>http://www.chrisnewland.com/av/102/xeon-family-15-model-4-stepping-1-is-64-bit</link><description>Is the Dell PowerEdge 1850 a 64-bit server?</description><pubDate>Mon, 01 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] gpg: [don't know]: invalid packet (ctb=2d)</title><link>http://www.chrisnewland.com/av/103/solved-gpg-dont-know-invalid-packet-ctb2d</link><description>If you get this error when decrypting using an external key then you probably exported your keyrings as ASCII armoured!</description><pubDate>Wed, 03 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>Convert milliseconds timestamp into Excel date and time</title><link>http://www.chrisnewland.com/av/104/convert-milliseconds-timestamp-into-excel-date-and-time</link><description>If you have a CSV file containing timestamps as milliseconds then this formula will convert into Excel date time</description><pubDate>Wed, 03 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>PIX ASDM 6 [ERROR] threat-detection statistics host number-of-rate 0</title><link>http://www.chrisnewland.com/av/105/pix-asdm-6-error-threat-detection-statistics-host-number-of-rate-0</link><description>There is a bug in Cisco's ASDM interface when you try to enable threat statistics via the GUI</description><pubDate>Wed, 10 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Ubuntu ssh Too many authentication failures</title><link>http://www.chrisnewland.com/av/106/solved-ubuntu-ssh-too-many-authentication-failures</link><description>ssh error message on Ubuntu when connecting to a new ssh server</description><pubDate>Wed, 10 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Dell PowerEdge 1750 Can't install GRUB</title><link>http://www.chrisnewland.com/av/107/solved-dell-poweredge-1750-cant-install-grub</link><description>Problem: you install Debian or any GRUB or LILO based operating system on your Dell 1750 but when you reboot after installation it hangs at the bootloader stage</description><pubDate>Fri, 12 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Dell PowerEdge 1750 only 256MB RAM available</title><link>http://www.chrisnewland.com/av/108/solved-dell-poweredge-1750-only-256mb-ram-available</link><description>If your Dell PowerEdge 1750 is only showing 256MB of RAM available and there is more RAM installed then you have OS Install Mode enabled in the BIOS</description><pubDate>Fri, 12 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>PIX show MAC address</title><link>http://www.chrisnewland.com/av/109/pix-show-mac-address</link><description>How to display the MAC address on a PIX firewall</description><pubDate>Fri, 12 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>Log to syslog with PHP 5 and syslog-ng</title><link>http://www.chrisnewland.com/av/110/log-to-syslog-with-php-5-and-syslog-ng</link><description>How to get logging to syslog working correctly with PHP and syslog-ng</description><pubDate>Thu, 18 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>SWT best practice - single Display multiple Shells</title><link>http://www.chrisnewland.com/av/111/swt-best-practice-single-display-multiple-shells</link><description>Here is a design pattern for an SWT single document interface (SDI) with one Display dispatch loop handling for multiple windows (Shells)</description><pubDate>Fri, 19 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Windows could not start because the following file is missing or corrupt: C:\WINDOWS\SYSTEM32\CONFIG\SYSTEM</title><link>http://www.chrisnewland.com/av/112/solved-windows-could-not-start-because-the-following-file-is-missing-or-corrupt-c\windows\system32\config\system</link><description>If you get this error message when booting your Windows PC then this trick might just save the day</description><pubDate>Tue, 23 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>Ebuyer non 0871 number</title><link>http://www.chrisnewland.com/av/113/ebuyer-non-0871-number</link><description>Need a non 0870 or 0871 number for Ebuyer so you can call them from your mobile?</description><pubDate>Thu, 25 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>Java remove non alphanumeric characters from String</title><link>http://www.chrisnewland.com/av/114/java-remove-non-alphanumeric-characters-from-string</link><description>Need to sanitise a Java String containing user input? This simple regular expressions will clean it for you</description><pubDate>Thu, 25 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>Google AdSense URL channels should I include www ?</title><link>http://www.chrisnewland.com/av/115/google-adsense-url-channels-should-i-include-www-</link><description>How do I set up URL channels correctly on Google AdSense to monitor traffic to my websites?</description><pubDate>Mon, 29 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>Debian N220 netbook power saving script</title><link>http://www.chrisnewland.com/av/116/debian-n220-netbook-power-saving-script</link><description>Power saving script for Samsung N220 netbook on Debian squeeze</description><pubDate>Wed, 31 Aug 2011 00:00:00 +0100</pubDate></item>
<item><title>Debian Linux 2-NIC router</title><link>http://www.chrisnewland.com/av/117/debian-linux-2-nic-router</link><description>How to make a router from a Debian Linux PC with 2 network cards</description><pubDate>Thu, 01 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>SWT literal ampersand instead of keyboard hotkey</title><link>http://www.chrisnewland.com/av/118/swt-literal-ampersand-instead-of-keyboard-hotkey</link><description>If you call setText() on SWT components with a String containing an ampersand then the ampersand will be converted into a keyboard hotkey on the next character. Here is how to use a literal ampersand in SWT </description><pubDate>Fri, 09 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>Elegant use of Java's Math.max() to prevent negative numbers</title><link>http://www.chrisnewland.com/av/119/elegant-use-of-javas-mathmax-to-prevent-negative-numbers</link><description>Here's a neat trick when scrolling / dragging to prevent negative coordinates</description><pubDate>Fri, 09 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>Java primitives in size order</title><link>http://www.chrisnewland.com/av/120/java-primitives-in-size-order</link><description>How many bytes do Java primitive types (boolean, byte, char, short, int, float, double, long) take up?</description><pubDate>Mon, 12 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>Comment syntax for Java, HTML, CSS</title><link>http://www.chrisnewland.com/av/121/comment-syntax-for-java-html-css</link><description>How do you add comments to Java, JavaScript, HTML, CSS?</description><pubDate>Mon, 12 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>Java return code in Linux shell script</title><link>http://www.chrisnewland.com/av/122/java-return-code-in-linux-shell-script</link><description>How do you get the return code from a Java program in a Linux shell script?</description><pubDate>Tue, 13 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>svn db/txn/current-lock: Permission denied (subversion)</title><link>http://www.chrisnewland.com/av/123/svn-dbtxncurrent-lock-permission-denied-subversion</link><description>Trying to commit to subversion repo and get a current-lock permission denied error?</description><pubDate>Wed, 14 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>Useful diff examples</title><link>http://www.chrisnewland.com/av/124/useful-diff-examples</link><description>Examples of how to get the most from the diff tool</description><pubDate>Mon, 19 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>Business Insider's UBS Quant puzzle solution</title><link>http://www.chrisnewland.com/av/125/business-insiders-ubs-quant-puzzle-solution</link><description>An interviewee at UBS for a math-heavy quant job was asked one of the toughest Wall Street interview questions we've seen yet.</description><pubDate>Wed, 21 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>The Monty Hall Problem</title><link>http://www.chrisnewland.com/av/126/the-monty-hall-problem</link><description>A puzzle by Marilyn vos Savant in 'The Curious Incident of the Dog in the Night-Time'</description><pubDate>Wed, 21 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Invalid machine name or UUID! VirtualBox</title><link>http://www.chrisnewland.com/av/127/solved-invalid-machine-name-or-uuid-virtualbox</link><description>Trying to start a VM from the command line (headless) and get this error?</description><pubDate>Thu, 22 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>FATAL: sorry, too many clients already (PostgreSQL)</title><link>http://www.chrisnewland.com/av/128/fatal-sorry-too-many-clients-already-postgresql</link><description>Getting a 'too many clients already' error from your database driver when opening a connection? Use this Java design template to ensure you are not leaking resources.</description><pubDate>Mon, 26 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>Java numerical overflow</title><link>http://www.chrisnewland.com/av/129/java-numerical-overflow</link><description>How Java handles numerical overflow (result of an operation is too large to be represented in the result variable)</description><pubDate>Mon, 26 Sep 2011 00:00:00 +0100</pubDate></item>
<item><title>Lateral thinking puzzle - 3 switches 3 lightbulbs</title><link>http://www.chrisnewland.com/av/130/lateral-thinking-puzzle-3-switches-3-lightbulbs</link><description>Nice lateral thinking puzzle from a book I found in a charity book shop at the weekend</description><pubDate>Sun, 02 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>virtualbox-4.1 conflicts with virtualbox</title><link>http://www.chrisnewland.com/av/131/virtualbox-41-conflicts-with-virtualbox</link><description>How to upgrade VirtualBox 4.0 to 4.1 on Ubuntu Linux</description><pubDate>Wed, 12 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>mscorsvw.exe high CPU usage</title><link>http://www.chrisnewland.com/av/132/mscorsvwexe-high-cpu-usage</link><description>What is the mscorsvw.exe process and why is it using so much CPU?</description><pubDate>Thu, 13 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>SWT Canvas plot centred text</title><link>http://www.chrisnewland.com/av/133/swt-canvas-plot-centred-text</link><description>How do you plot centre-aligned text on an SWT Canvas object?</description><pubDate>Thu, 13 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>plugin-container.exe high CPU on Firefox</title><link>http://www.chrisnewland.com/av/134/plugin-containerexe-high-cpu-on-firefox</link><description>If you are using a modern version (3.6+) of Mozilla Firefox then there is a new safety wrapper around plugins which can make your PC run very slowly.</description><pubDate>Thu, 13 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>Logic puzzle - buckets of water 4L 7L make 5L</title><link>http://www.chrisnewland.com/av/135/logic-puzzle-buckets-of-water-4l-7l-make-5l</link><description>An example of the classic water measuring puzzle</description><pubDate>Fri, 14 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>Java defensive programming - compare variable with constant</title><link>http://www.chrisnewland.com/av/136/java-defensive-programming-compare-variable-with-constant</link><description>Here's an easy way to eliminate NullPointerException when you compare a variable against a constant</description><pubDate>Sun, 16 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>What is MsMpEng.exe and why is the CPU usage so high?</title><link>http://www.chrisnewland.com/av/137/what-is-msmpengexe-and-why-is-the-cpu-usage-so-high</link><description>Here is an explanation of what the process MsMpEng.exe does and how it can result in high CPU usage</description><pubDate>Fri, 21 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>Binary file (standard input) matches when grepping tail</title><link>http://www.chrisnewland.com/av/138/binary-file-standard-input-matches-when-grepping-tail</link><description>You are tailing a growing log file using 'tail' and piping the output into grep and you get the error Binary file (standard input) matches when grepping tail and the command exits. </description><pubDate>Fri, 21 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>svnserve start on boot using update-rc.d on Debian Squeeze</title><link>http://www.chrisnewland.com/av/139/svnserve-start-on-boot-using-update-rcd-on-debian-squeeze</link><description>How can you get svnserve to start on boot by creating an init.d script and linking using update-rc.d</description><pubDate>Mon, 24 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>How to change a car battery safely</title><link>http://www.chrisnewland.com/av/140/how-to-change-a-car-battery-safely</link><description>Instructions on how to safely replace the battery in your car</description><pubDate>Tue, 25 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>Change the hostname on a Linux system</title><link>http://www.chrisnewland.com/av/141/change-the-hostname-on-a-linux-system</link><description>How do you change the hostname of a Linux PC?</description><pubDate>Fri, 28 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>PostgreSQL config, data, log files on Debian</title><link>http://www.chrisnewland.com/av/142/postgresql-config-data-log-files-on-debian</link><description>Where does PostgreSQL store the data and config files like postgresql.conf, pg_hba.conf on Debian</description><pubDate>Fri, 28 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>PostgreSQL Debian make a baseline backup for PITR</title><link>http://www.chrisnewland.com/av/143/postgresql-debian-make-a-baseline-backup-for-pitr</link><description>How to make a baseline backup for Point In Time Recovery (PITR) in PostgreSQL in Debian</description><pubDate>Fri, 28 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>tar list contents of file</title><link>http://www.chrisnewland.com/av/144/tar-list-contents-of-file</link><description>How do you get a list of the files inside a tar archive?</description><pubDate>Fri, 28 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] CSS border-collapse render bug on iPad</title><link>http://www.chrisnewland.com/av/145/solved-css-border-collapse-render-bug-on-ipad</link><description>If you are using CSS background-image in a table with border-collapse and your images get squashed when viewing on an iPad, iPhone, or iPod then this PHP code snippet will detect and fix the rendering on iDevices.</description><pubDate>Sun, 30 Oct 2011 00:00:00 +0100</pubDate></item>
<item><title>tar: time stamp is in the future</title><link>http://www.chrisnewland.com/av/146/tar-time-stamp-is-in-the-future</link><description>How to solve the time stamp is in the future error when you unpack a tar file on a system where the clock is behind the system clock on which you created the tar archive</description><pubDate>Mon, 31 Oct 2011 00:00:00 +0000</pubDate></item>
<item><title>Debian bash can auto-complete program switches</title><link>http://www.chrisnewland.com/av/147/debian-bash-can-auto-complete-program-switches</link><description>Today I discovered by accident that bash can auto-complete command line switches to certain programs</description><pubDate>Wed, 02 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>ERROR 2003 (HY000): Can't connect to MySQL server on '10.0.0.1' (113)</title><link>http://www.chrisnewland.com/av/148/error-2003-hy000-cant-connect-to-mysql-server-on-10001-113</link><description>How to solve MySQL Error 2003 (HY000) when trying to connect to a MySQL server on a remote machine?</description><pubDate>Thu, 03 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>Postgres copy table structure inside database without data</title><link>http://www.chrisnewland.com/av/149/postgres-copy-table-structure-inside-database-without-data</link><description>How do you copy a table structure inside a database in PostgreSQL?</description><pubDate>Thu, 03 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>Java variable scope in switch statement</title><link>http://www.chrisnewland.com/av/150/java-variable-scope-in-switch-statement</link><description>Variable scope inside the case clauses of a Java switch statement is not always obvious. This example will help understand how it works.</description><pubDate>Fri, 04 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>MySQL fails to start after package update: unknown variable lc-messages-dir</title><link>http://www.chrisnewland.com/av/151/mysql-fails-to-start-after-package-update-unknown-variable-lc-messages-dir</link><description>After a package update on Debian my MySQL refused to start and syslog contained the following message [ERROR] /usr/sbin/mysqld: unknown variable 'lc-messages-dir=/usr/share/mysql'</description><pubDate>Tue, 08 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>Android data network indicators G, E, 3G, H mean?</title><link>http://www.chrisnewland.com/av/152/android-data-network-indicators-g-e-3g-h-mean</link><description>What do the different data network indicators mean on my Android smart phone?</description><pubDate>Tue, 08 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>How to avoid getting banned from Google AdSense</title><link>http://www.chrisnewland.com/av/153/how-to-avoid-getting-banned-from-google-adsense</link><description>Follow these important steps to avoid getting banned from Google AdSense</description><pubDate>Wed, 09 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>ChrisWhoCodes AdSense Protection Script</title><link>http://www.chrisnewland.com/av/154/chriswhocodes-adsense-protection-script</link><description>This PHP script can help you to avoid an AdSense ban by filtering adverts by IP address, HTTP referrer, and page URL</description><pubDate>Wed, 09 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>Load specific columns from CSV file into PostgreSQL</title><link>http://www.chrisnewland.com/av/155/load-specific-columns-from-csv-file-into-postgresql</link><description>How do I import data from specific columns into a PostgreSQL table?</description><pubDate>Wed, 09 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>Java String.split include empty trailing strings </title><link>http://www.chrisnewland.com/av/156/java-stringsplit-include-empty-trailing-strings-</link><description>How do I split a Java String at a delimiter but keep empty trailing strings?</description><pubDate>Thu, 10 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>Java for loop syntax to replace Iterator</title><link>http://www.chrisnewland.com/av/157/java-for-loop-syntax-to-replace-iterator</link><description>One of the new features introduced in Java 1.5 was a for-loop syntax similar to PHP's foreach loop to replace the use of java.util.Iterator</description><pubDate>Mon, 14 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>Java short form array iteration using for-loop</title><link>http://www.chrisnewland.com/av/158/java-short-form-array-iteration-using-for-loop</link><description>The new Java 1.5 for loop can also be used to transverse an array</description><pubDate>Fri, 18 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>Select unique values in postgres</title><link>http://www.chrisnewland.com/av/159/select-unique-values-in-postgres</link><description>How do you select unique values from a column in postgresql?</description><pubDate>Fri, 18 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] SWF Flash movie overlaps CSS menu</title><link>http://www.chrisnewland.com/av/160/solved-swf-flash-movie-overlaps-css-menu</link><description>Here is how to prevent an SWF flash movie from appearing on top of your CSS menu.</description><pubDate>Tue, 22 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>Linux show routing table without being root</title><link>http://www.chrisnewland.com/av/161/linux-show-routing-table-without-being-root</link><description>How do you show the Linux IP routing table without being root and running the route command</description><pubDate>Thu, 24 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>mod_rewrite protect your pagerank by redirecting unused subdomains</title><link>http://www.chrisnewland.com/av/162/modrewrite-protect-your-pagerank-by-redirecting-unused-subdomains</link><description>If your site serves the same content on URLs with and without the www subdomain then search engines will treat them as two different sites and your pagerank will suffer. Unify them with these mod_rewrite rules. </description><pubDate>Sun, 27 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] Floppy drive light on all the time</title><link>http://www.chrisnewland.com/av/163/solved-floppy-drive-light-on-all-the-time</link><description>If you've just installed a new floppy drive in your PC and the disk activity light is on all of the time then you have installed the power cable incorrectly.</description><pubDate>Sun, 27 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>Reset PS3 controller</title><link>http://www.chrisnewland.com/av/164/reset-ps3-controller</link><description>PS3 controller not responding? Here is how to reset a playstation 3 dual shock controller</description><pubDate>Sun, 27 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] Playstation Network Error 80550F17</title><link>http://www.chrisnewland.com/av/165/solved-playstation-network-error-80550f17</link><description>What does error 80550F17 mean when I try to connect to the playstation network?</description><pubDate>Sun, 27 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] Brother printer error 41</title><link>http://www.chrisnewland.com/av/166/solved-brother-printer-error-41</link><description>What does error 41 mean on a Brother printer?</description><pubDate>Sun, 27 Nov 2011 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] Windows 7 won't boot STOP 0x0000007B INACCESSABLE_BOOT_DEVICE</title><link>http://www.chrisnewland.com/av/167/solved-windows-7-wont-boot-stop-0x0000007b-inaccessablebootdevice</link><description>If you get error 0x0000007B when booting Windows 7 or Windows Vista then this means that the operating system can't find a driver for the device you are booting from. Here is how to fix it.</description><pubDate>Mon, 05 Dec 2011 00:00:00 +0000</pubDate></item>
<item><title>openSSL convert PEM certificate and import to Java keystore</title><link>http://www.chrisnewland.com/av/168/openssl-convert-pem-certificate-and-import-to-java-keystore</link><description>Need to convert an x509 secure certificate so that it can be imported into a Java keystore? Here is how to do it using an intermediate DER format certificate.</description><pubDate>Tue, 13 Dec 2011 00:00:00 +0000</pubDate></item>
<item><title>Install latest iceweasel (firefox) on Debian</title><link>http://www.chrisnewland.com/av/169/install-latest-iceweasel-firefox-on-debian</link><description>How to install latest iceweasel on Debian Squeeze</description><pubDate>Tue, 13 Dec 2011 00:00:00 +0000</pubDate></item>
<item><title>Debian add new Samba user for Windows fileshare access</title><link>http://www.chrisnewland.com/av/170/debian-add-new-samba-user-for-windows-fileshare-access</link><description>How do I add a new Samba user in Debian</description><pubDate>Tue, 20 Dec 2011 00:00:00 +0000</pubDate></item>
<item><title>Cisco PIX show single object-group</title><link>http://www.chrisnewland.com/av/171/cisco-pix-show-single-object-group</link><description>How do I show the members of a single object group in the PIX firewall?</description><pubDate>Thu, 22 Dec 2011 00:00:00 +0000</pubDate></item>
<item><title>Use 64 bit Sun Java plugin in Firefox on Ubuntu</title><link>http://www.chrisnewland.com/av/172/use-64-bit-sun-java-plugin-in-firefox-on-ubuntu</link><description>How do I use the Sun Java plugin instead of the OpenJDK IcedTea plugin in Ubuntu</description><pubDate>Fri, 23 Dec 2011 00:00:00 +0000</pubDate></item>
<item><title>bash rename files using a for loop</title><link>http://www.chrisnewland.com/av/173/bash-rename-files-using-a-for-loop</link><description>How do you rename a set of files using a single command in Linux using bash?</description><pubDate>Fri, 23 Dec 2011 00:00:00 +0000</pubDate></item>
<item><title>Windows 7 install The product key does not match current Windows SKU</title><link>http://www.chrisnewland.com/av/174/windows-7-install-the-product-key-does-not-match-current-windows-sku</link><description>How do you solve the product key SKU error message when installing windows 7?</description><pubDate>Thu, 29 Dec 2011 00:00:00 +0000</pubDate></item>
<item><title>Linux find and move old files</title><link>http://www.chrisnewland.com/av/175/linux-find-and-move-old-files</link><description>How do you find and move files older than a certain age in Linux?</description><pubDate>Fri, 30 Dec 2011 00:00:00 +0000</pubDate></item>
<item><title>HP Pavilion laptop restore Windows 7 from WIM file on recovery partition</title><link>http://www.chrisnewland.com/av/176/hp-pavilion-laptop-restore-windows-7-from-wim-file-on-recovery-partition</link><description>Progress so far on restoring a HP laptop with a failed hard disk using the WIM file from the recovery partition</description><pubDate>Fri, 30 Dec 2011 00:00:00 +0000</pubDate></item>
<item><title>VirtualBox Linux host add user to vboxusers group to access USB devices.</title><link>http://www.chrisnewland.com/av/177/virtualbox-linux-host-add-user-to-vboxusers-group-to-access-usb-devices</link><description>How do you add the virtualbox user to the vboxusers group so that they can access USB devices?</description><pubDate>Tue, 03 Jan 2012 00:00:00 +0000</pubDate></item>
<item><title>STOP 0xC000021A Fatal System Error on Windows 7 (0xC0000034 0x0010037C)</title><link>http://www.chrisnewland.com/av/178/stop-0xc000021a-fatal-system-error-on-windows-7-0xc0000034-0x0010037c</link><description>How do I solve error C000021A when booting Windows 7?</description><pubDate>Wed, 04 Jan 2012 00:00:00 +0000</pubDate></item>
<item><title>Acer Aspire enter recovery mode</title><link>http://www.chrisnewland.com/av/179/acer-aspire-enter-recovery-mode</link><description>How do I access the recovery mode on my Acer Aspire laptop?</description><pubDate>Wed, 04 Jan 2012 00:00:00 +0000</pubDate></item>
<item><title>Ubuntu sudo postgres createdb</title><link>http://www.chrisnewland.com/av/180/ubuntu-sudo-postgres-createdb</link><description>How do you sudo to a specific user in Ubuntu to create a new Postgres database?</description><pubDate>Mon, 09 Jan 2012 00:00:00 +0000</pubDate></item>
<item><title>Java concatenate null String with +=</title><link>http://www.chrisnewland.com/av/181/java-concatenate-null-string-with-</link><description>Here's a stupid mistake I made concatenating a null (reference) String in Java so you don't have to make it!</description><pubDate>Tue, 10 Jan 2012 00:00:00 +0000</pubDate></item>
<item><title>Java can an int fit inside a float or a double without loss of precision?</title><link>http://www.chrisnewland.com/av/182/java-can-an-int-fit-inside-a-float-or-a-double-without-loss-of-precision</link><description>I've recently upgraded our FIX trading software to support fractional quantities and needed to know if using double as the underlying storage for quantity could ever cause a loss of precision when storing an integer value.</description><pubDate>Wed, 11 Jan 2012 00:00:00 +0000</pubDate></item>
<item><title>Microsoft Word cross reference clauses and update them in a contract</title><link>http://www.chrisnewland.com/av/183/microsoft-word-cross-reference-clauses-and-update-them-in-a-contract</link><description>How do you cross reference a paragraph in Word so that it auto-updates?</description><pubDate>Fri, 20 Jan 2012 00:00:00 +0000</pubDate></item>
<item><title>Microsoft Excel Yes/No drop box</title><link>http://www.chrisnewland.com/av/184/microsoft-excel-yesno-drop-box</link><description>How do you make a Yes/No drop box in an Excel column?</description><pubDate>Wed, 01 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>Find open ssh servers on a network using nmap on Linux</title><link>http://www.chrisnewland.com/av/185/find-open-ssh-servers-on-a-network-using-nmap-on-linux</link><description>How do you find open ssh servers on a network using nmap?</description><pubDate>Fri, 03 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>Using Linux tmpfs to reduce disk writes for power saving and longer CF lifespan</title><link>http://www.chrisnewland.com/av/186/using-linux-tmpfs-to-reduce-disk-writes-for-power-saving-and-longer-cf-lifespan</link><description>How to reduce disk writes for power saving or increasing compact flash lifetime using tmpfs</description><pubDate>Fri, 03 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>ssh tunnel through gateway to svn repository server on remote LAN</title><link>http://www.chrisnewland.com/av/187/ssh-tunnel-through-gateway-to-svn-repository-server-on-remote-lan</link><description>How do you connect to an svn server behind a gateway machine using ssh tunnels?</description><pubDate>Fri, 03 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>qmail alias for email address with dot</title><link>http://www.chrisnewland.com/av/188/qmail-alias-for-email-address-with-dot</link><description>How do you set up a .qmail email alias for an email with a dot in it?</description><pubDate>Thu, 09 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>Debian dist-upgrade lenny to squeeze</title><link>http://www.chrisnewland.com/av/189/debian-dist-upgrade-lenny-to-squeeze</link><description>How to update Debian from lenny (5.0) to squeeze (6.0)</description><pubDate>Thu, 09 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>Poweredge 1750 Debian Squeeze tigon3 firmware</title><link>http://www.chrisnewland.com/av/190/poweredge-1750-debian-squeeze-tigon3-firmware</link><description>The tigon3 gigabit network driver is now available in the apt repository. Here is how to install it.</description><pubDate>Thu, 09 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>Select correct SWT jar for your OS and JVM at runtime</title><link>http://www.chrisnewland.com/av/191/select-correct-swt-jar-for-your-os-and-jvm-at-runtime</link><description>Here is a method to dynamically classload the correct SWT jar depending on your operating system and whether it is 32 or 64 bit. It relies on a little code smell (hack) using reflection but this is much simpler solution than creating a custom classloader and then handling all the associated memory / GC issues that can ensue.</description><pubDate>Fri, 10 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>qmail change maximum retry time</title><link>http://www.chrisnewland.com/av/192/qmail-change-maximum-retry-time</link><description>By default, qmail will try to deliver a mail for 7 days before giving up. Many users do not realise this and will assume the mail was received but unanswered. Here is how to change the maximum retry time to something a little shorter.</description><pubDate>Tue, 14 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>MySQL create database with underscore or dash in the database name</title><link>http://www.chrisnewland.com/av/193/mysql-create-database-with-underscore-or-dash-in-the-database-name</link><description>Here is how to create a MySQL database with underscores or dashes in the database name</description><pubDate>Wed, 15 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>STOP: 0xC0000221 Unknown Hard Error SystemRoot System32 ntdll.dll</title><link>http://www.chrisnewland.com/av/194/stop-0xc0000221-unknown-hard-error-systemroot-system32-ntdlldll</link><description>How to solve Unknown Hard Error when installing Windows XP</description><pubDate>Thu, 16 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>init.d script to create essential dirs (apache, postgresql, debconf) when mounting /var on tmpfs</title><link>http://www.chrisnewland.com/av/195/initd-script-to-create-essential-dirs-apache-postgresql-debconf-when-mounting-var-on-tmpfs</link><description>If you are mounting log, cache, and tmp directories on a tmpfs filesystem then you may encounter problems with programs failing to start or work correctly due to missing folders. By using a simple init.d script you can create these missing directories before the programs that need them start.</description><pubDate>Wed, 22 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>Export data from MySQL into CSV file</title><link>http://www.chrisnewland.com/av/196/export-data-from-mysql-into-csv-file</link><description>How do you export the result of a MySQL query into a CSV file </description><pubDate>Thu, 23 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>Neat PHP oneliner to calculate days in a given month</title><link>http://www.chrisnewland.com/av/197/neat-php-oneliner-to-calculate-days-in-a-given-month</link><description>A neat little one line solution for calculating the days in a month given the month and year that relies on PHP's intepretation of 0 (false) or non-0 (true)</description><pubDate>Fri, 24 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>qmail 5.1.2 error when sending to multiple recipients with Outlook 2010</title><link>http://www.chrisnewland.com/av/198/qmail-512-error-when-sending-to-multiple-recipients-with-outlook-2010</link><description>qmail is very fussy about extra quotes and spaces appearing in email addresses when there are multiple recipients. This can cause problems with Outlook 2010 whose address book manager makes it quite easy to add these extra characters</description><pubDate>Fri, 24 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>Thunderbird pressed A key email disappeared</title><link>http://www.chrisnewland.com/av/199/thunderbird-pressed-a-key-email-disappeared</link><description>If you have an email selected in Thunderbird and you accidentally press the "a" key when trying to type in another window then your email will disappear. Here is how to get it back</description><pubDate>Tue, 28 Feb 2012 00:00:00 +0000</pubDate></item>
<item><title>SQL get MAX value or NULL (LEFT JOIN example)</title><link>http://www.chrisnewland.com/av/200/sql-get-max-value-or-null-left-join-example</link><description>SQL example to get the MAX value from the right hand table or NULL if there is no matching row</description><pubDate>Mon, 05 Mar 2012 00:00:00 +0000</pubDate></item>
<item><title>Low latency Java tips</title><link>http://www.chrisnewland.com/av/201/low-latency-java-tips</link><description>When building a Java trading application there are several steps you can take to reduce delays (latency) at the network and transaction processing level</description><pubDate>Tue, 06 Mar 2012 00:00:00 +0000</pubDate></item>
<item><title>java.io.IOException: Too many open files</title><link>http://www.chrisnewland.com/av/202/javaioioexception-too-many-open-files</link><description>If your Java program throws this exception then you have run out of file handles / pipes / domain sockets (depending on how your OS represents files). Here is how to debug the error on Linux</description><pubDate>Tue, 20 Mar 2012 00:00:00 +0000</pubDate></item>
<item><title>ls sort by date and time</title><link>http://www.chrisnewland.com/av/203/ls-sort-by-date-and-time</link><description>Quick tip for sorting the results of the ls command by age</description><pubDate>Tue, 20 Mar 2012 00:00:00 +0000</pubDate></item>
<item><title>Windows 7, XP, Vista add persistent route</title><link>http://www.chrisnewland.com/av/204/windows-7-xp-vista-add-persistent-route</link><description>If you need to add a static or persistent network routes to Windows 7, XP or Vista here is the command line syntax</description><pubDate>Fri, 23 Mar 2012 00:00:00 +0000</pubDate></item>
<item><title>Map JDBC types to Java primitive and Object types</title><link>http://www.chrisnewland.com/av/205/map-jdbc-types-to-java-primitive-and-object-types</link><description>Table of mappings between Java and JDBC types</description><pubDate>Thu, 29 Mar 2012 00:00:00 +0100</pubDate></item>
<item><title>PostgreSQL DROP NULL constraint on COLUMN</title><link>http://www.chrisnewland.com/av/206/postgresql-drop-null-constraint-on-column</link><description>How do you drop a NOT NULL constraint on a database column in PostgreSQL?</description><pubDate>Thu, 05 Apr 2012 00:00:00 +0100</pubDate></item>
<item><title>Java wrapper around an external process</title><link>http://www.chrisnewland.com/av/207/java-wrapper-around-an-external-process</link><description>How to invoke an external process from Java and collect the standard error output. This example converts a PDF using a Java wrapper around the Linux program pdftotext</description><pubDate>Thu, 05 Apr 2012 00:00:00 +0100</pubDate></item>
<item><title>Using the Java 1.5 ScheduledExecutorService for scheduling repeating tasks</title><link>http://www.chrisnewland.com/av/208/using-the-java-15-scheduledexecutorservice-for-scheduling-repeating-tasks</link><description>How to use the java.util.concurrent Executor classes as a replacement for Timer and TimerTask</description><pubDate>Tue, 10 Apr 2012 00:00:00 +0100</pubDate></item>
<item><title>Debian / Ubuntu php-gd function imageantialias() not implemented</title><link>http://www.chrisnewland.com/av/209/debian-ubuntu-php-gd-function-imageantialias-not-implemented</link><description>Trying to use the PHP function imageantialias from GD under PHP on Debian or Ubuntu? Here is why it doesn't work and what you can do about it</description><pubDate>Thu, 12 Apr 2012 00:00:00 +0100</pubDate></item>
<item><title>Ubuntu Natty Narwhal switch back to Classic desktop instead of Unity</title><link>http://www.chrisnewland.com/av/210/ubuntu-natty-narwhal-switch-back-to-classic-desktop-instead-of-unity</link><description>How to switch back to Classic desktop from Unity after distro upgrade to Natty Narwhal</description><pubDate>Wed, 18 Apr 2012 00:00:00 +0100</pubDate></item>
<item><title>Ubuntu Natty Narwhal fix broken scrollbars in Classic desktop (Eclipse, Nautilus)</title><link>http://www.chrisnewland.com/av/211/ubuntu-natty-narwhal-fix-broken-scrollbars-in-classic-desktop-eclipse-nautilus</link><description>If you've upgraded your Ubuntu to Natty Narwhal (11.04) and switched from Unity back to Classic desktop you may find your scrollbars are missing in Eclipse and Nautlius file explorer. Here is how to restore them</description><pubDate>Wed, 18 Apr 2012 00:00:00 +0100</pubDate></item>
<item><title>Ubuntu Natty Narwhal and Maverick Meerkat Thunderbird 24th April obsolete warning</title><link>http://www.chrisnewland.com/av/212/ubuntu-natty-narwhal-and-maverick-meerkat-thunderbird-24th-april-obsolete-warning</link><description>Thunderbird from the Ubuntu repositories is about to go obselete. Here is how to upgrade to the official Mozilla PPA version</description><pubDate>Thu, 19 Apr 2012 00:00:00 +0100</pubDate></item>
<item><title>ZTE Blade clear contacts</title><link>http://www.chrisnewland.com/av/213/zte-blade-clear-contacts</link><description>How do you clear the contacts list of a ZTE Blade phone?</description><pubDate>Wed, 02 May 2012 00:00:00 +0100</pubDate></item>
<item><title>git list files not under version control</title><link>http://www.chrisnewland.com/av/214/git-list-files-not-under-version-control</link><description>How do you list files in a git local repository which are not yet under version control?</description><pubDate>Fri, 11 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Debian add multimedia codecs</title><link>http://www.chrisnewland.com/av/215/debian-add-multimedia-codecs</link><description>How do I add more codecs to Debian stable from the main repository?</description><pubDate>Sat, 12 May 2012 00:00:00 +0100</pubDate></item>
<item><title>git simple checkout, create new branch, add, commit</title><link>http://www.chrisnewland.com/av/216/git-simple-checkout-create-new-branch-add-commit</link><description>Simple example for checking out (cloning) a repo, making your own branch, adding files, and committing</description><pubDate>Mon, 14 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Git rename files under version control</title><link>http://www.chrisnewland.com/av/217/git-rename-files-under-version-control</link><description>How do you rename a file under git?</description><pubDate>Tue, 15 May 2012 00:00:00 +0100</pubDate></item>
<item><title>git reset instead of rebase</title><link>http://www.chrisnewland.com/av/218/git-reset-instead-of-rebase</link><description>If your branch was taken from HEAD and you just want to merge your changes back with HEAD then you can git reset and re-add rather than rebase</description><pubDate>Fri, 18 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Debian squeeze syslog-ng 3 upgrade config files</title><link>http://www.chrisnewland.com/av/219/debian-squeeze-syslog-ng-3-upgrade-config-files</link><description>There has been a change in the syslog-ng.conf format between v2.x and v3.x so any pre-squeeze config files will need to be updated</description><pubDate>Fri, 18 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Easy way to send apache2 logs to syslog-ng</title><link>http://www.chrisnewland.com/av/220/easy-way-to-send-apache2-logs-to-syslog-ng</link><description>Very easy way to send both Apache2 access and error logs via syslog-ng with no changes to Apache config</description><pubDate>Fri, 18 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Raspberry Pi Vuzix transparent LCD Heads-Up Display (HUD) Experiment</title><link>http://www.chrisnewland.com/av/221/raspberry-pi-vuzix-transparent-lcd-heads-up-display-hud-experiment</link><description>Experiments on building a Heads-Up Display (HUD) for the Raspberry Pi</description><pubDate>Mon, 21 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Raspberry Pi battery power calculations</title><link>http://www.chrisnewland.com/av/222/raspberry-pi-battery-power-calculations</link><description>Experiments on powering a Raspberry Pi using batteries and a switching regulator</description><pubDate>Tue, 22 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Ubuntu Unity show desktop</title><link>http://www.chrisnewland.com/av/223/ubuntu-unity-show-desktop</link><description>How do you show the desktop or minimise windows in Unity</description><pubDate>Thu, 24 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Raspberry Pi install Debian image to SD card</title><link>http://www.chrisnewland.com/av/224/raspberry-pi-install-debian-image-to-sd-card</link><description>Here is how to install the Debian operating system image to an SD card using dd</description><pubDate>Sun, 27 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Ubuntu 12.04 resolv.conf</title><link>http://www.chrisnewland.com/av/225/ubuntu-1204-resolvconf</link><description>Ubuntu now overwites /etc/resolv.conf on reboot so you can no longer manually set your nameservers here</description><pubDate>Mon, 28 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Create Ubuntu 12.04 USB installer from Debian</title><link>http://www.chrisnewland.com/av/226/create-ubuntu-1204-usb-installer-from-debian</link><description>Here is how to write the Ubuntu ISO image to a USB stick from a Debian PC</description><pubDate>Mon, 28 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Ubuntu 12.04 install Nvidia drivers from ppa</title><link>http://www.chrisnewland.com/av/227/ubuntu-1204-install-nvidia-drivers-from-ppa</link><description>How do you install the latest Nvidia drivers in Ubuntu 12.04 Precise Pangolin</description><pubDate>Mon, 28 May 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Raspberry Pi won't boot, red power LED on</title><link>http://www.chrisnewland.com/av/228/solved-raspberry-pi-wont-boot-red-power-led-on</link><description>If your Raspberry Pi won't boot then try these troubleshooting steps</description><pubDate>Mon, 28 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Debian add user to existing group</title><link>http://www.chrisnewland.com/av/229/debian-add-user-to-existing-group</link><description>How do you add an additional group to a users set of groups?</description><pubDate>Tue, 29 May 2012 00:00:00 +0100</pubDate></item>
<item><title>PostgreSQL drop unique constraint</title><link>http://www.chrisnewland.com/av/230/postgresql-drop-unique-constraint</link><description>How to you drop a unique row constraint in  PostgreSQL?</description><pubDate>Tue, 29 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Set up git repository on Debian and push changes from local repository</title><link>http://www.chrisnewland.com/av/231/set-up-git-repository-on-debian-and-push-changes-from-local-repository</link><description>How to set up a remote git repository and populate it from a local repository on Debian</description><pubDate>Thu, 31 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Permission denied: /home/chris/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable</title><link>http://www.chrisnewland.com/av/232/permission-denied-homechrishtaccess-pcfgopenfile-unable-to-check-htaccess-file-ensure-it-is-readable</link><description>Apache 403 Forbidden error when trying to serve page from home directory</description><pubDate>Thu, 31 May 2012 00:00:00 +0100</pubDate></item>
<item><title>Apache MySQL PHP quick build</title><link>http://www.chrisnewland.com/av/233/apache-mysql-php-quick-build</link><description>Need to quickly get an Apache2 + MySQL + PHP5 server built?</description><pubDate>Thu, 31 May 2012 00:00:00 +0100</pubDate></item>
<item><title>git revert (reset) a single file</title><link>http://www.chrisnewland.com/av/234/git-revert-reset-a-single-file</link><description>How to you undo uncommitted changes to a single file and revert it back to the previous version in git?</description><pubDate>Wed, 06 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Debian Linux netbook / laptop / Raspberry Pi power saving with acpitool</title><link>http://www.chrisnewland.com/av/235/debian-linux-netbook-laptop-raspberry-pi-power-saving-with-acpitool</link><description>Find out the discharge rate of your battery in Debian using acpitool</description><pubDate>Wed, 06 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] fuse: failed to open /dev/fuse: Permission denied (sshfs)</title><link>http://www.chrisnewland.com/av/236/solved-fuse-failed-to-open-devfuse-permission-denied-sshfs</link><description>Installed sshfs and get this /dev/fuse permission error? Here is the solution</description><pubDate>Fri, 08 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Getting Started with Raspberry Pi</title><link>http://www.chrisnewland.com/av/237/getting-started-with-raspberry-pi</link><description>How to get started with your Raspberry Pi, log in, update packages, inspect the system</description><pubDate>Sun, 10 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Install Java on the Raspberry Pi</title><link>http://www.chrisnewland.com/av/238/install-java-on-the-raspberry-pi</link><description>How to install the OpenJDK version of Java on your Raspberry Pi</description><pubDate>Sun, 10 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Getting started with Java on Raspberry Pi</title><link>http://www.chrisnewland.com/av/239/getting-started-with-java-on-raspberry-pi</link><description>Quick HelloWorld compile and run example</description><pubDate>Sun, 10 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Java AWT Graphics2D anti-aliasing in a Java 1.1 compatible way using reflection</title><link>http://www.chrisnewland.com/av/240/java-awt-graphics2d-anti-aliasing-in-a-java-11-compatible-way-using-reflection</link><description>Here is how to enable anti-aliasing in AWT using reflection in a way that is compatible with Java 1.1 AWT</description><pubDate>Wed, 13 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Bat and Ball Puzzle</title><link>http://www.chrisnewland.com/av/241/bat-and-ball-puzzle</link><description>A puzzle to highlight cognitive bias. See if your brain takes the wrong shortcut</description><pubDate>Wed, 13 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>git fetch changes from remote repository and merge them with your local changes</title><link>http://www.chrisnewland.com/av/242/git-fetch-changes-from-remote-repository-and-merge-them-with-your-local-changes</link><description>How do you bring your local repository up to date with the remote repo using git fetch and merge</description><pubDate>Thu, 14 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>ssh chained tunnels to access servers behind gateway machines</title><link>http://www.chrisnewland.com/av/243/ssh-chained-tunnels-to-access-servers-behind-gateway-machines</link><description>How to chain ssh tunnels together to reach a server that is not public facing</description><pubDate>Fri, 15 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] No sound in Raspberry Pi after startx X windows</title><link>http://www.chrisnewland.com/av/244/solved-no-sound-in-raspberry-pi-after-startx-x-windows</link><description>Sound not working on your Raspberry Pi after entering X windows (startx) here is how to fix it</description><pubDate>Sat, 16 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Resize Raspberry Pi SD card partition to fill 32GB card from a running Raspberry Pi</title><link>http://www.chrisnewland.com/av/245/resize-raspberry-pi-sd-card-partition-to-fill-32gb-card-from-a-running-raspberry-pi</link><description>How do you dynamically resize the Raspberry Pi Debian 2GB image partition to make full use of a 32GB SD card?</description><pubDate>Mon, 18 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Mozilla Firefox 13 EPIC SECURITY FAIL with New Tab thumbnails</title><link>http://www.chrisnewland.com/av/246/mozilla-firefox-13-epic-security-fail-with-new-tab-thumbnails</link><description>Mozilla needs to quickly fix the new tabs page so that it does not show thumbnail images from HTTPS protected content.</description><pubDate>Wed, 20 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>git rebase</title><link>http://www.chrisnewland.com/av/247/git-rebase</link><description>How to rebase your changed branch with changes from the branch it came from</description><pubDate>Thu, 21 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>git rebase - changes depends on abandoned changes</title><link>http://www.chrisnewland.com/av/248/git-rebase-changes-depends-on-abandoned-changes</link><description>How to squash changes into a single commit to roll up changes to the latest write wins</description><pubDate>Thu, 21 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Raspberry Pi update firmware using Hexxeh's rpi-update script</title><link>http://www.chrisnewland.com/av/249/raspberry-pi-update-firmware-using-hexxehs-rpi-update-script</link><description>How to update the firmware on a Raspberry Pi</description><pubDate>Thu, 21 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>PostgreSQL /var/lib/postgresql/8.4/main/pg_xlog filling up with WAL files</title><link>http://www.chrisnewland.com/av/250/postgresql-varlibpostgresql84mainpgxlog-filling-up-with-wal-files</link><description>If your postgres pg_xlog directory is filling up with 16777216 byte WAL files then your archive_command is failing</description><pubDate>Fri, 22 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Raspberry Pi heatsink mod</title><link>http://www.chrisnewland.com/av/251/raspberry-pi-heatsink-mod</link><description>How to fit heatsinks to the SoC and USB chips on your Raspberry Pi</description><pubDate>Tue, 26 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Raspberry Pi eth0: kevent 4 may have been dropped</title><link>http://www.chrisnewland.com/av/252/raspberry-pi-eth0-kevent-4-may-have-been-dropped</link><description>A log file full of kevent 4 may have been dropped messages could indicate a power problem with your Pi</description><pubDate>Tue, 26 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Raspberry Pi github for tracking kernel/firmware issues</title><link>http://www.chrisnewland.com/av/253/raspberry-pi-github-for-tracking-kernelfirmware-issues</link><description>Where is the github repo for Raspberry Pi?</description><pubDate>Wed, 27 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Raspberry Pi Debian Wheezy beta is now available (2012-06-18)</title><link>http://www.chrisnewland.com/av/254/raspberry-pi-debian-wheezy-beta-is-now-available-2012-06-18</link><description>How do you test Debian Wheezy on the Pi?</description><pubDate>Wed, 27 Jun 2012 00:00:00 +0100</pubDate></item>
<item><title>Java Unsupported major minor version 51.0</title><link>http://www.chrisnewland.com/av/255/java-unsupported-major-minor-version-510</link><description>Got this Java error when running a class compiled with a JDK7 javac?</description><pubDate>Mon, 02 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>Java trace memory leaks with hprof and verbose:gc</title><link>http://www.chrisnewland.com/av/256/java-trace-memory-leaks-with-hprof-and-verbosegc</link><description>How to use hprof and GC logging to track down a memory leak in a large Java application.</description><pubDate>Tue, 03 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Debian killall command not found</title><link>http://www.chrisnewland.com/av/257/solved-debian-killall-command-not-found</link><description>Some of my Debian servers seem to be missing the killall command. Here is how to fix that.</description><pubDate>Wed, 04 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Eclipse DLTK indexing very slow (PHP Development Tools)</title><link>http://www.chrisnewland.com/av/258/solved-eclipse-dltk-indexing-very-slow-php-development-tools</link><description>If you are using the PDT (PHP Development Tools) feature and Eclipse is hogging up your system doing DLTK indexing then this might help</description><pubDate>Mon, 09 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Eclipse Java autocomplete not working</title><link>http://www.chrisnewland.com/av/259/solved-eclipse-java-autocomplete-not-working</link><description>After upgrading Eclipse my Java autocomplete suggestions (Ctrl-Space) stopped working. Here is how to fix it</description><pubDate>Tue, 10 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>Debian Squeeze install Microsoft TTF TrueType fonts</title><link>http://www.chrisnewland.com/av/260/debian-squeeze-install-microsoft-ttf-truetype-fonts</link><description>How do you install Microsoft TrueType (TTF) fonts in Debian Squeeze</description><pubDate>Tue, 10 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>Java cheat sheet for angle plotting in degrees, radians, and Pi radians</title><link>http://www.chrisnewland.com/av/261/java-cheat-sheet-for-angle-plotting-in-degrees-radians-and-pi-radians</link><description>Quick cheat sheet for plotting angles in Java</description><pubDate>Mon, 16 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] sshfs with private key what is the syntax?</title><link>http://www.chrisnewland.com/av/262/solved-sshfs-with-private-key-what-is-the-syntax</link><description>How do you specify a private key when mounting an sshfs filesystem?</description><pubDate>Wed, 18 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>Concatenate 2 files in Linux with cat</title><link>http://www.chrisnewland.com/av/263/concatenate-2-files-in-linux-with-cat</link><description>How do you concatenate (append) 2 files together in Linux?</description><pubDate>Wed, 18 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>Debian squeeze nvidia packages</title><link>http://www.chrisnewland.com/av/264/debian-squeeze-nvidia-packages</link><description>Which packages do I need to run multi-monitor setup with nvidia graphics on Debian?</description><pubDate>Mon, 23 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Error 0x80070643 when installing or updating .NET framework</title><link>http://www.chrisnewland.com/av/265/solved-error-0x80070643-when-installing-or-updating-net-framework</link><description>Here is how to solve error 0x80070643 when installing .NET 4 on Windows 7</description><pubDate>Sat, 28 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>PHP strip pound signs from form input</title><link>http://www.chrisnewland.com/av/266/php-strip-pound-signs-from-form-input</link><description>How do you strip a pound sign from a monetary value in a PHP $_POST field</description><pubDate>Tue, 31 Jul 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] ssh sshd error: key_read: uudecode</title><link>http://www.chrisnewland.com/av/267/solved-ssh-sshd-error-keyread-uudecode</link><description>This error is caused by a line break in your authorized_keys file.</description><pubDate>Fri, 03 Aug 2012 00:00:00 +0100</pubDate></item>
<item><title>Raspberry Pi mount Raspbian img on loop device</title><link>http://www.chrisnewland.com/av/268/raspberry-pi-mount-raspbian-img-on-loop-device</link><description>Here is how to mount the Raspbian Wheezy img file on a loop device under Linux</description><pubDate>Mon, 06 Aug 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Raspberry Pi won't boot 6 flashes of LED after rpi-update</title><link>http://www.chrisnewland.com/av/269/solved-raspberry-pi-wont-boot-6-flashes-of-led-after-rpi-update</link><description>After running rpi-update on my Raspbian Wheezy my Pi wouldn't boot and gave the 6 flashes error. Here is how to solve it</description><pubDate>Mon, 06 Aug 2012 00:00:00 +0100</pubDate></item>
<item><title>Word insert reference to custom field</title><link>http://www.chrisnewland.com/av/270/word-insert-reference-to-custom-field</link><description>How do you reference a custom field within your document</description><pubDate>Fri, 10 Aug 2012 00:00:00 +0100</pubDate></item>
<item><title>Eclipse Juno set tab font size manually</title><link>http://www.chrisnewland.com/av/271/eclipse-juno-set-tab-font-size-manually</link><description>On a netbook, the font size for Eclipse's tabs is far too large and there is no way to set it through the preferences, here is how to change it manually.</description><pubDate>Fri, 10 Aug 2012 00:00:00 +0100</pubDate></item>
<item><title>Excel join columns together (string concatenation)</title><link>http://www.chrisnewland.com/av/272/excel-join-columns-together-string-concatenation</link><description>How do you join two columns together in Excel?</description><pubDate>Mon, 13 Aug 2012 00:00:00 +0100</pubDate></item>
<item><title>Xen hypervisor on minimal Debian squeeze</title><link>http://www.chrisnewland.com/av/273/xen-hypervisor-on-minimal-debian-squeeze</link><description>How to install Xen hypervisor through Debian squeeze with lvm</description><pubDate>Tue, 21 Aug 2012 00:00:00 +0100</pubDate></item>
<item><title>Which Debian package contains the svc command?</title><link>http://www.chrisnewland.com/av/274/which-debian-package-contains-the-svc-command</link><description>While installing qmail I found that the svc program was not installed. Here is how to install svc in Debian</description><pubDate>Fri, 24 Aug 2012 00:00:00 +0100</pubDate></item>
<item><title>Debian find which package contains command</title><link>http://www.chrisnewland.com/av/275/debian-find-which-package-contains-command</link><description>Use apt-file on Debian to discover which package you need to install to provide a command</description><pubDate>Fri, 24 Aug 2012 00:00:00 +0100</pubDate></item>
<item><title>Mac OS OSX add jars to Eclipse build path</title><link>http://www.chrisnewland.com/av/276/mac-os-osx-add-jars-to-eclipse-build-path</link><description>[SOLVED] How to add jar files to the Eclipse build path in osx when the jars are inside the Java library bundle?</description><pubDate>Wed, 19 Sep 2012 00:00:00 +0100</pubDate></item>
<item><title>Linux wipe SD card partition table</title><link>http://www.chrisnewland.com/av/277/linux-wipe-sd-card-partition-table</link><description>[SOLVED] How to fix a corrupted partition table and fdisk is giving the error: You must set cylinders</description><pubDate>Tue, 25 Sep 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Raspberry Pi PANIC: VFS: Unable to mount root fs on unknown-block(179,2)</title><link>http://www.chrisnewland.com/av/278/solved-raspberry-pi-panic-vfs-unable-to-mount-root-fs-on-unknown-block1792</link><description>Entering kdb (current=0xcb82ac80, pid 1) due to Keyboard Entry</description><pubDate>Tue, 25 Sep 2012 00:00:00 +0100</pubDate></item>
<item><title>Git unstage changes (roll back a commit)</title><link>http://www.chrisnewland.com/av/279/git-unstage-changes-roll-back-a-commit</link><description>How do you roll back a commit in git?</description><pubDate>Fri, 28 Sep 2012 00:00:00 +0100</pubDate></item>
<item><title>Mac OS X install subversion using MacPorts</title><link>http://www.chrisnewland.com/av/280/mac-os-x-install-subversion-using-macports</link><description>How to install svn on the command line in OS X</description><pubDate>Wed, 10 Oct 2012 00:00:00 +0100</pubDate></item>
<item><title>Mac OS X mount remote filesystem locally using sshfs</title><link>http://www.chrisnewland.com/av/281/mac-os-x-mount-remote-filesystem-locally-using-sshfs</link><description>How to mount sshfs filesystem in OS X (using MacPorts)</description><pubDate>Thu, 11 Oct 2012 00:00:00 +0100</pubDate></item>
<item><title>ssh SOCKS 5 proxy and Firefox for securing traffic on untrusted networks</title><link>http://www.chrisnewland.com/av/282/ssh-socks-5-proxy-and-firefox-for-securing-traffic-on-untrusted-networks</link><description>How to use ssh as a SOCKS 5 proxy</description><pubDate>Thu, 11 Oct 2012 00:00:00 +0100</pubDate></item>
<item><title>Virtualbox tips for Mac OS X</title><link>http://www.chrisnewland.com/av/283/virtualbox-tips-for-mac-os-x</link><description>How to connect to a remote Virtualbox guest from your Mac</description><pubDate>Thu, 11 Oct 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] VirtualBox headless VRDE server failed to start</title><link>http://www.chrisnewland.com/av/284/solved-virtualbox-headless-vrde-server-failed-to-start</link><description>VRDE server is inactive. If you get this error make sure that the VM config does not contain any VRDE parameters that are no longer valid!</description><pubDate>Thu, 11 Oct 2012 00:00:00 +0100</pubDate></item>
<item><title>Mac OS X netstat show PID process ID</title><link>http://www.chrisnewland.com/av/285/mac-os-x-netstat-show-pid-process-id</link><description>On most Linux flavours, netstat can show the process using the port with the -p switch. Here is how to get the same information on OS X</description><pubDate>Thu, 11 Oct 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] STOP 0x0000007B (0xF78D2524,0xC0000034,0x00000000,0x00000000)</title><link>http://www.chrisnewland.com/av/286/solved-stop-0x0000007b-0xf78d25240xc00000340x000000000x00000000</link><description>How to solve the STOP 0x0000007B error when installing Windows</description><pubDate>Mon, 15 Oct 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Find missing network drivers Windows XP</title><link>http://www.chrisnewland.com/av/287/solved-find-missing-network-drivers-windows-xp</link><description>How to find a missing ethernet network driver using the PCI codes after installing windows</description><pubDate>Mon, 15 Oct 2012 00:00:00 +0100</pubDate></item>
<item><title>Analyse your website and webserver</title><link>http://www.chrisnewland.com/av/288/analyse-your-website-and-webserver</link><description>Check your website for security, SEO, correctness</description><pubDate>Thu, 18 Oct 2012 00:00:00 +0100</pubDate></item>
<item><title>Objective C for Java Programmers</title><link>http://www.chrisnewland.com/av/289/objective-c-for-java-programmers</link><description>Translating Java code into Objective C</description><pubDate>Thu, 25 Oct 2012 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] PHP unexpected T_PAAMAYIM_NEKUDOTAYIM</title><link>http://www.chrisnewland.com/av/290/solved-php-unexpected-tpaamayimnekudotayim</link><description>What does unexpected T_PAAMAYIM_NEKUDOTAYIM mean and how do you solve it?</description><pubDate>Fri, 09 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>xen delete vm</title><link>http://www.chrisnewland.com/av/291/xen-delete-vm</link><description>How to remove a vm from your host</description><pubDate>Mon, 12 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] Debian ./java: No such file or directory</title><link>http://www.chrisnewland.com/av/292/solved-debian-java-no-such-file-or-directory</link><description>Can't get java to run on Debian even though permissions look correct?</description><pubDate>Tue, 13 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>Using PHP + MySQL with UTF-8 support for correct encoding</title><link>http://www.chrisnewland.com/av/293/using-php-mysql-with-utf-8-support-for-correct-encoding</link><description>If you are having problems with non-ASCII encodings such as the British pound sign then you are probably not using UTF-8 all the way through your HTML, PHP, and database.</description><pubDate>Tue, 13 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>Remote syslog over secure tunnel</title><link>http://www.chrisnewland.com/av/294/remote-syslog-over-secure-tunnel</link><description>Send your syslog securely to a remote server using syslog-ng and stunnel</description><pubDate>Sun, 18 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>Raspberry Pi Java Applets - Iceweasel OpenJDK IcedTea plugin (HardFloat)</title><link>http://www.chrisnewland.com/av/295/raspberry-pi-java-applets-iceweasel-openjdk-icedtea-plugin-hardfloat</link><description>How do you get Java applets working on the Raspberry Pi?</description><pubDate>Mon, 19 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>Linux reset root password using GRUB</title><link>http://www.chrisnewland.com/av/296/linux-reset-root-password-using-grub</link><description>How to reset the root password of a Linux box if you have physical access</description><pubDate>Tue, 20 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>Wearable Raspberry Pi Project</title><link>http://www.chrisnewland.com/av/297/wearable-raspberry-pi-project</link><description>Building a wearable computer using the Raspberry Pi</description><pubDate>Thu, 22 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>git delete branch</title><link>http://www.chrisnewland.com/av/298/git-delete-branch</link><description>How to delete a local branch it git</description><pubDate>Fri, 23 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>Raspberry Pi Wireless config for Edimax EW-7811UN</title><link>http://www.chrisnewland.com/av/299/raspberry-pi-wireless-config-for-edimax-ew-7811un</link><description>How to configure the tiny Edimax EW-7811UN wireless adapter</description><pubDate>Sun, 25 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] qmail Unable_to_chdir_to_maildir._(#4.2.1)</title><link>http://www.chrisnewland.com/av/300/solved-qmail-unabletochdirtomaildir421</link><description>How to solve this error when setting up a new qmail server</description><pubDate>Tue, 27 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>grep tips</title><link>http://www.chrisnewland.com/av/301/grep-tips</link><description>Useful switches for grep</description><pubDate>Thu, 29 Nov 2012 00:00:00 +0000</pubDate></item>
<item><title>[SOLVED] xen domU console hangs</title><link>http://www.chrisnewland.com/av/302/solved-xen-domu-console-hangs</link><description>How to solve hang on xm console with Debian guest</description><pubDate>Tue, 04 Dec 2012 00:00:00 +0000</pubDate></item>
<item><title>Debian iceweasel KEYEXPIRED 1352888501</title><link>http://www.chrisnewland.com/av/303/debian-iceweasel-keyexpired-1352888501</link><description>How to install updated keys for Debian Mozilla packages</description><pubDate>Wed, 05 Dec 2012 00:00:00 +0000</pubDate></item>
<item><title>scp through ssh tunnel</title><link>http://www.chrisnewland.com/av/304/scp-through-ssh-tunnel</link><description>How to secure copy files to a machine behind a gateway using ssh and scp</description><pubDate>Tue, 11 Dec 2012 00:00:00 +0000</pubDate></item>
<item><title>ncurses type applications in Java on Raspberry Pi (Lanterna Console)</title><link>http://www.chrisnewland.com/av/305/ncurses-type-applications-in-java-on-raspberry-pi-lanterna-console</link><description>Headless Java console applications using Google Code's Lanterna</description><pubDate>Wed, 12 Dec 2012 00:00:00 +0000</pubDate></item>
<item><title>Xen dynamically change RAM allocated to domU</title><link>http://www.chrisnewland.com/av/306/xen-dynamically-change-ram-allocated-to-domu</link><description>How do you reduce the amount of RAM allocated to a domU</description><pubDate>Wed, 12 Dec 2012 00:00:00 +0000</pubDate></item>
<item><title>OpenJDK IcedTea plugin java debugging</title><link>http://www.chrisnewland.com/av/307/openjdk-icedtea-plugin-java-debugging</link><description>How to get Java debug output when using OpenJDK IcedTea plugin</description><pubDate>Wed, 12 Dec 2012 00:00:00 +0000</pubDate></item>
<item><title>OSX Take Screenshot</title><link>http://www.chrisnewland.com/av/308/osx-take-screenshot</link><description>How do you take a screenshot in Mac OSX</description><pubDate>Fri, 21 Dec 2012 00:00:00 +0000</pubDate></item>
<item><title>Applet graphics corruption in Java 7 update 10, 11, 13 on Mac OSX</title><link>http://www.chrisnewland.com/av/309/applet-graphics-corruption-in-java-7-update-10-11-13-on-mac-osx</link><description>A change in Java 7 update 10 on the Mac OSX operating system means that some applets are now showing graphics corruption</description><pubDate>Fri, 21 Dec 2012 00:00:00 +0000</pubDate></item>
<item><title>Debian batch process (resize) JPEG files using ImageMagick into output folder</title><link>http://www.chrisnewland.com/av/310/debian-batch-process-resize-jpeg-files-using-imagemagick-into-output-folder</link><description>How do you batch process images in Debian and output into a new folder?</description><pubDate>Wed, 26 Dec 2012 00:00:00 +0000</pubDate></item>
<item><title>gpg crib sheet</title><link>http://www.chrisnewland.com/av/311/gpg-crib-sheet</link><description>Encryption and decryption using gpg (GNU Privacy Guard)</description><pubDate>Wed, 02 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Debian NFS Server</title><link>http://www.chrisnewland.com/av/312/debian-nfs-server</link><description>How to set up an NFS server to share files with other Linux clients</description><pubDate>Wed, 02 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Linux fdisk and mkfs.ext4 quick guide</title><link>http://www.chrisnewland.com/av/313/linux-fdisk-and-mkfsext4-quick-guide</link><description>Quickly partition and format a Linux hard drive with ext4</description><pubDate>Wed, 02 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Mac OSX batch convert PNG to JPEG with quality setting</title><link>http://www.chrisnewland.com/av/314/mac-osx-batch-convert-png-to-jpeg-with-quality-setting</link><description>Use the command line program sips to batch convert PNG to JPEG with quality parameter</description><pubDate>Wed, 02 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Mac OSX crib sheet</title><link>http://www.chrisnewland.com/av/315/mac-osx-crib-sheet</link><description>Keyboard shortcuts and useful commands for Mac OSX</description><pubDate>Thu, 03 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>VirtualBox on Mac OSX</title><link>http://www.chrisnewland.com/av/316/virtualbox-on-mac-osx</link><description>Tips and locations for using Virtualbox on a Mac OSX host</description><pubDate>Thu, 03 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>High performance modulo operation</title><link>http://www.chrisnewland.com/av/317/high-performance-modulo-operation</link><description>If you are using modulo to select a processor for an input then this clever trick can give you a performance boost</description><pubDate>Wed, 09 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>deployJava.js fails to install Java when Java not present</title><link>http://www.chrisnewland.com/av/318/deployjavajs-fails-to-install-java-when-java-not-present</link><description>More problems with Oracle's deployJava.js script</description><pubDate>Tue, 15 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>jusched.exe still running after Java uninstalled</title><link>http://www.chrisnewland.com/av/319/juschedexe-still-running-after-java-uninstalled</link><description>The Java uninstaller is not cleaning up the Java update scheduler</description><pubDate>Tue, 15 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Eclipse can't find import javafx</title><link>http://www.chrisnewland.com/av/320/eclipse-cant-find-import-javafx</link><description>Trying to get the JavaFX samples running under Eclipse with the latest JDK 1.7.11</description><pubDate>Wed, 16 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>JavaFX Ensemble sample won't run from Eclipse due to bad server config</title><link>http://www.chrisnewland.com/av/321/javafx-ensemble-sample-wont-run-from-eclipse-due-to-bad-server-config</link><description>Running the main method in the JavaFX sample src/Ensemble/Ensemble2.java gives the following error</description><pubDate>Wed, 16 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Java applet deployment using deployJava.js</title><link>http://www.chrisnewland.com/av/322/java-applet-deployment-using-deployjavajs</link><description>A list of problems and workarounds for detecting Java and launching your applet in the browser</description><pubDate>Wed, 16 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Using Java jarsigner to check a jar signature</title><link>http://www.chrisnewland.com/av/323/using-java-jarsigner-to-check-a-jar-signature</link><description>How do you check the signature of a Java jar?</description><pubDate>Thu, 17 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Generate Apache2 OpenSSL key and Certificate Signing Request (CSR)</title><link>http://www.chrisnewland.com/av/324/generate-apache2-openssl-key-and-certificate-signing-request-csr</link><description>How do you generate a key and CSR for apache2</description><pubDate>Mon, 07 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Linux high load when writing to slow block devices (SD cards, USB hard drives)</title><link>http://www.chrisnewland.com/av/325/linux-high-load-when-writing-to-slow-block-devices-sd-cards-usb-hard-drives</link><description>Explanation for why some SD card writes send the system load soaring</description><pubDate>Fri, 18 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Debian upgrade to Linux kernel 3.2</title><link>http://www.chrisnewland.com/av/326/debian-upgrade-to-linux-kernel-32</link><description>How to upgrade to the 3.2 kernel series</description><pubDate>Sun, 20 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>PostgreSQL output query result to file</title><link>http://www.chrisnewland.com/av/327/postgresql-output-query-result-to-file</link><description>How do you dump the results of a SELECT query to a file?</description><pubDate>Mon, 28 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Using vi as a hex editor</title><link>http://www.chrisnewland.com/av/328/using-vi-as-a-hex-editor</link><description>How do you enable hex view in vi?</description><pubDate>Mon, 28 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>PHP generate stack trace</title><link>http://www.chrisnewland.com/av/329/php-generate-stack-trace</link><description>How do you create a stack trace in PHP?</description><pubDate>Mon, 28 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Updated Tutorial for JDK8 early access on Raspberry Pi</title><link>http://www.chrisnewland.com/av/330/updated-tutorial-for-jdk8-early-access-on-raspberry-pi</link><description>How to install Oracle JDK8 early access on the Pi</description><pubDate>Tue, 29 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>Java on Mac OSX 10.8 Safari broken by XProtect.meta.plist whitelist update</title><link>http://www.chrisnewland.com/av/331/java-on-mac-osx-108-safari-broken-by-xprotectmetaplist-whitelist-update</link><description>Apple have updated the Safari plugins whitelist with an incorrect version of Java</description><pubDate>Thu, 31 Jan 2013 00:00:00 +0000</pubDate></item>
<item><title>JavaFX MediaPlayer crash (Debian amd64) playing mp3 and displaying graphics</title><link>http://www.chrisnewland.com/av/332/javafx-mediaplayer-crash-debian-amd64-playing-mp3-and-displaying-graphics</link><description>JRE 7.0_13-b20 crashes randomly playing any mp3 when also rendering graphics</description><pubDate>Mon, 18 Feb 2013 00:00:00 +0000</pubDate></item>
<item><title>Debian squeeze scponly for secure remote backups</title><link>http://www.chrisnewland.com/av/333/debian-squeeze-scponly-for-secure-remote-backups</link><description>How to set up scponly for securely copying backups to a remote server</description><pubDate>Wed, 06 Mar 2013 00:00:00 +0000</pubDate></item>
<item><title>Linux increase console resolution</title><link>http://www.chrisnewland.com/av/334/linux-increase-console-resolution</link><description>How to increase the text console resolution in Linux</description><pubDate>Wed, 06 Mar 2013 00:00:00 +0000</pubDate></item>
<item><title>Postgresql add cascade to existing foreign key constraint</title><link>http://www.chrisnewland.com/av/335/postgresql-add-cascade-to-existing-foreign-key-constraint</link><description>If you created a foreign key constraint but forgot to add cascading updates here is how to fix it</description><pubDate>Fri, 08 Mar 2013 00:00:00 +0000</pubDate></item>
<item><title>Debian perl Can't locate Date/Calc.pm in @INC</title><link>http://www.chrisnewland.com/av/336/debian-perl-cant-locate-datecalcpm-in-inc</link><description>[SOLVED] Date/Calc.pm error in Debian perl can be resolved by installing this package</description><pubDate>Mon, 11 Mar 2013 00:00:00 +0000</pubDate></item>
<item><title>Clear Linux buffers, cache when benchmarking filesystem</title><link>http://www.chrisnewland.com/av/337/clear-linux-buffers-cache-when-benchmarking-filesystem</link><description>If you are trying to optimise a filesystem operation, remember to clear Linux buffers and cache between benchmarks or some of the file reads will be served from memory!</description><pubDate>Tue, 12 Mar 2013 00:00:00 +0000</pubDate></item>
<item><title>Eclipse Job found still running after platform shutdown</title><link>http://www.chrisnewland.com/av/338/eclipse-job-found-still-running-after-platform-shutdown</link><description>How to clean up Eclipse after a crash that prevents it from starting normally</description><pubDate>Fri, 12 Apr 2013 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] Java 7 update 21 mixed code warning dialog with signed applet</title><link>http://www.chrisnewland.com/av/339/solved-java-7-update-21-mixed-code-warning-dialog-with-signed-applet</link><description>New security feature in 7u21 causes warnings on Java<-->JavaScript communication</description><pubDate>Wed, 17 Apr 2013 00:00:00 +0100</pubDate></item>
<item><title>[SOLVED] VirtualBox causes Xorg server segfault on startup of XP guest VM</title><link>http://www.chrisnewland.com/av/340/solved-virtualbox-causes-xorg-server-segfault-on-startup-of-xp-guest-vm</link><description>Xorg update on 20130417 causing segfault and X restart when VirtualBox VM starts</description><pubDate>Fri, 19 Apr 2013 00:00:00 +0100</pubDate></item>
<item><title>git stash</title><link>http://www.chrisnewland.com/av/341/git-stash</link><description>How to use the stash to put aside changes you don't want to be rebased</description><pubDate>Wed, 24 Apr 2013 00:00:00 +0100</pubDate></item>
<item><title>What is the @ (at sign) in OSX file attributes</title><link>http://www.chrisnewland.com/av/342/what-is-the-at-sign-in-osx-file-attributes</link><description>The @ (at sign) means the file has extended attributes such as the quarantine attribute which can prevent certain actions being taken on the file</description><pubDate>Mon, 29 Apr 2013 00:00:00 +0100</pubDate></item>
<item><title>Avoiding Dante's 9th Circle of Hell (hint: git branch)</title><link>http://www.chrisnewland.com/av/343/avoiding-dantes-9th-circle-of-hell-hint-git-branch</link><description>Quick guide to using git branch to keep those changesets apart and avoid getting into merge/rebase/stash hell</description><pubDate>Wed, 01 May 2013 00:00:00 +0100</pubDate></item>
<item><title>Cross platform SWT dispatch loop idiom</title><link>http://www.chrisnewland.com/av/344/cross-platform-swt-dispatch-loop-idiom</link><description>Solution to Exception Display must be created on main thread due to Cocoa restrictions</description><pubDate>Wed, 01 May 2013 00:00:00 +0100</pubDate></item>
<item><title>Jenkins CI quickstart guide</title><link>http://www.chrisnewland.com/av/345/jenkins-ci-quickstart-guide</link><description>Quickstart guide to Jenkins Continuous Integration with Tomcat, ant, and svn</description><pubDate>Thu, 09 May 2013 00:00:00 +0100</pubDate></item>
<item><title>iPhone how to kill an app</title><link>http://www.chrisnewland.com/av/346/iphone-how-to-kill-an-app</link><description>How do you kill a running app on the iPhone</description><pubDate>Wed, 15 May 2013 00:00:00 +0100</pubDate></item>
<item><title>JavaScript prototype idiom for OO design</title><link>http://www.chrisnewland.com/av/347/javascript-prototype-idiom-for-oo-design</link><description>A programming idiom to simulate OO design in JavaScript</description><pubDate>Wed, 15 May 2013 00:00:00 +0100</pubDate></item>
<item><title>Refactoring old style Java synchronized code with CopyOnWriteArrayList and Collections.unmodifiableList</title><link>http://www.chrisnewland.com/av/348/refactoring-old-style-java-synchronized-code-with-copyonwritearraylist-and-collectionsunmodifiablelist</link><description>While refactoring some old core code I've learnt a better way to make read-only List copies using java.util.concurrent</description><pubDate>Wed, 29 May 2013 00:00:00 +0100</pubDate></item>
<item><title>Using tcpkill to simulate dropped packets and test your network error handling code</title><link>http://www.chrisnewland.com/av/349/using-tcpkill-to-simulate-dropped-packets-and-test-your-network-error-handling-code</link><description>Simulate network failures to test your error handling code</description><pubDate>Fri, 31 May 2013 00:00:00 +0100</pubDate></item>
<item><title>Builder Pattern</title><link>http://www.chrisnewland.com/av/350/builder-pattern</link><description>The builder design pattern lets you construct objects with many or optional parameters without having to write multiple overloaded constructors.</description><pubDate>Tue, 04 Jun 2013 00:00:00 +0100</pubDate></item>
<item><title>iPhone skip music tracks without unlocking</title><link>http://www.chrisnewland.com/av/351/iphone-skip-music-tracks-without-unlocking</link><description>How do you change tracks on the iPhone without unlocking it?</description><pubDate>Tue, 04 Jun 2013 00:00:00 +0100</pubDate></item>
<item><title>iPhone forensics. How to recover deleted messages from SMS, iMessage, Call History, WhatsApp</title><link>http://www.chrisnewland.com/av/352/iphone-forensics-how-to-recover-deleted-messages-from-sms-imessage-call-history-whatsapp</link><description>Guide to recovering deleted SMS, iMessages, calls, and WhatsApp chats from an iPhone</description><pubDate>Sat, 08 Jun 2013 00:00:00 +0100</pubDate></item>
<item><title>OSX encode mp3 on command line</title><link>http://www.chrisnewland.com/av/353/osx-encode-mp3-on-command-line</link><description>Use MacPorts to install the lame encoder</description><pubDate>Mon, 10 Jun 2013 00:00:00 +0100</pubDate></item>
<item><title>Java JIT analysis and code coverage</title><link>http://www.chrisnewland.com/av/354/java-jit-analysis-and-code-coverage</link><description>I am building a tool to visualise how much of a program's code is JIT compiled at runtime</description><pubDate>Wed, 12 Jun 2013 00:00:00 +0100</pubDate></item>
<item><title>Reference manual index, Java, PHP, JavaScript</title><link>http://www.chrisnewland.com/av/355/reference-manual-index-java-php-javascript</link><description>URLs for programming language reference documents</description><pubDate>Tue, 18 Jun 2013 00:00:00 +0100</pubDate></item>
</channel>
</rss>
