
Something I thought I'd post up quickly which caused me a little trouble just now…
I tried to upgrade my Netgear DG834PN (an ADSL WiFi router, EXCELLENT piece of kit incidentally) from the stock 1.3.30 firmware to the latest (as of writing) 1.3.39. There was no particular reason for the upgrade - I'm just a "bleeding edge" kinda guy!
I while ago (almost a year!) I released a module called Relevant Content to the community. This module executes a relatively lightweight SQL query which pulls up other nodes and sorts them by how many terms they have in common with the current node you're looking at. This provides a rudimentary method of suggesting other content to visitors to the page. It also provides a way of teaching search engines about other potentially relevant content.
My first theme, Abessive, gets a new release today for Drupal 6. Turns out to be a pretty easy upgrade!
In case nobody caught onto what Abessive was the first time; it is an (almost) image free theme with flexible 1, 2 or 3 column layout (depending on where/if you place any blocks). Each block/section has rounded corners and slight top & bottom gradient which is achieved using only CSS techniques involving margins, padding and background colours. This makes the theme very lightweight and elegant at the same time.
I am currently in the process of migrating several dozen sites between two servers. I tried using scp command to copy the sites over however scp is a very slow command when transferring many small files.
I did a little research on how to use tar over an ssh connection and realised that you could specify the stdout on tar.
I just finished upgrading a server to Ubuntu 8.04 which came with Vim 7.1 rather than 6.3 on the older server. It seems 7.1 does things slightly differently to 6.3.
In 6.3 I could create ~/.vim/filetype.vim and in there define a line as follows:
au BufRead,BufNewFile *.module,*.install,*.theme setf phpHowever in 7.1, it looks like a line similar to this has to go into ~/.vimrc instead…