Dia is a great Open Source diagramming program that has extensive `shape' libraries for a lot of different applications (I use it for drawing network diagrams and flow-charts). When using Dia one of the questions that arises fairly regularly is: Is it possible to...
Open Source Apps
Resolve Relative to Absolute Paths with readlink
Just wanted to resolve a relative file path so that I can pass it as an absolute path to a program. #!/bin/sh QCAD_DIR=/opt/qcad-2.2.2.0-1-prof.linux.x86 ABS_PATH=$(readlink -f "$1") cd $QCAD_DIR && ./qcad $ABS_PATH Credits: Andy
Encourage Comments on Your Blog
I'm fairly strict with what I allow as comments on this blog. But if someone has gone to the effort to post a well-thought-out comment I don't mind if they put a URL in the comment or the associated website field and therefore gain some SEO benefit from it. I have...
MySQL Backup to Email or Disk Script
If you run mysqldump --all-databases you get one monolithic file which can be a pain when trying to restore one database. So it's nice to call mysqldump dbname so you get individual database backup files. To call mysqldump for each database requires that you either...
Locally hosted Piwik a replacement for Google Analytics
Looking at this article on Slashdot led me to an open source version of Google Analytics namely Piwik. Installation of Piwik is very easy and It has a Wordpress Module, WP-Piwik so integration into a WP blog isn't too difficult. Another benefit is you get a stats page...
avidemux compile or I just wanted to rotate some video…
Ubuntu 9.10... avidemux is crashing everytime I try to run the rotate filter with a partial frame range. So I'm trying to compile it from source to see if I can get it running. What they don't tell you in the online install instructions is you have to compile both the...
Sweet Home 3D
Check out the 3D drawing I did from a cool Java application Sweet Home 3D This is approximately an hours work after following the tutorial and using an imported 2D floorplan. This isn't using the best quality rendering setting and I found my old P4 was struggling a...
Create a WordPress Page Tab that leads to a non WordPress URL
I have my Wordpress setup to display all the blog posts on the front page and the Wordpress "Pages" as tabs on the navigation at the top of the page. However I also would like the navigation to point to other non Wordpress areas of my domain and go straight there. For...
KDE4
So I have haunted the linux-users mailing list for about um (1999-2009) 10 years. And the discussion turned to KDE4 and well frankly there wasn't many people saying it 'completes me'. Quite the opposite. So seeing I'm running Ubuntu 9.04 I though I would install...
svn working copy inside ecryptfs file name gotcha
So encrypting your stuff is wise from a security standpoint. Yes? Here is a little problem I ran into when I copied my svn working copy into an ecryptfs directory. The actual copy operation gave an error message about "file name too long" which I ignored. But then I...