vec2web is a dxf to png (and other format) convertor based on the QCAD libraries. I downloaded and compiled it. However when I ran it the text dimensions were missing. I discovered the reason for this is that vec2web needs to be able to find the fonts and resource in...
Open Source Apps
QCAD – Isometric Projections made easy
QCAD - Isometric Projections or "The coolest open source app in the universe" I used to do Tech Drawing at school and to do an Isometric Projection required all sorts of construction lines just to render a circle. Here is a sample of an isometric projection in QCAD....
Converting DWG files to DXF for use in QCAD
The native file format in QCAD is DXF however many online resources provide downloads in DWG file format. For example I was looking for roofing iron profiles and found some in DWG format So how do you convert from DWG to DXF. I tried to download lx-viewer but it has...
Getting the HTML Tidy External Command working on Bluefish for Windows
Bluefish is a really cool "Web Development Studio" I find it's side pane CSS and HTML reference invaluable when trying to code HTML. It has recently been ported to Windows As it installs, everything pretty much works out of the box, but it's Linux heritage shows when...
What languages does WP-Syntax Highlighter Support? – Another memory jolt posting
I use WP-Syntax to highlight my code samples on this blog and I keep having to Google and go to the wp-syntax website to get the correct lang attribute value to put in my <pre lang="blah"></pre> tags So here they are abap, actionscript, actionscript3, ada,...
Perl system() call return results
Just been trying to create a Perl script to run ping and return results #!/usr/bin/perl use strict; # this is a heap of notes to try and come to grips with Perl # a bit better. # # Looks at how the system() call works # # How to build the command arguments to get #...
WP-Syntax Plugin
I have been attempting to use the <pre> tag to simply copy and paste information into Wordpress but the result has been that it doesn't accept all the whitespace as being whitespace. Anyway I installed WP-Syntax plugin and attempted to insert some code and it...
Formatting Perl’s XML::DOM output
I have been taking some output from our ERP system into a webform destined ultimately for resubmission to the ERP. XML and it's relationship to HTML makes it perfect for the job. Therefore I have been using Perls XML::DOM to read and write some XML. One issue I have...
Ubuntu 8.04 OpenOffice 3.0.1 Australian Spellchecking
I just removed all the standard Ubuntu 8.04 OpenOffice 2.4.1 packages and installed Openoffice from Openoffice.org's download area by following the howto here. After going into Tools ==> Options ==> Language Settings ==> Languages and setting everything to English...
Subversion Working Copy Downgrade
If you jump from one distribution to another and then back to an older version one of the gotcha's can be that later versions on newer distro's can change your Subversion Working Copy repository data so it's unaccessible from the older distro. Case in point: On Ubuntu...
LedgerSMB – Changing Invoice to “Tax Invoice”
This is done on Fedora 10. File paths may change depending on what install package or location you install to. On Fedora 10 the path is LSMB_ROOT=/usr/share/ledgersmb To maintain an orginal untouched set of templates you should always copy the demo templates away to a...
Changing the LedgerSMB Letter Head Graphic
Make a backup of the original demo templates cp -rv /var/lib/ledgersmb/templates/demo /var/lib/ledgersmb/templates/template1 # on Ubuntu this was sudo cp -rv /etc/ledgersmb/templates/demo /etc/ledgersmb/templates/template1 Go into the LedgerSMB admin control panel and...
LedgerSMB Installation on Fedora 10 Notes
Overview Starting from Fedora 10 Live Installed to Harddisk. This is a a record of the chronological steps with all the errors I encountered along the way. As such it is a kind of messy and in a as it happened style. I will flesh these notes out as I have time. Email...
Error Installing SimpleInvoices
Fail I haven't been able to install SI on U8.10 there are alot of problems with the Ubuntu 8.10 enviroment. Incorrect mysql_pdo modules etc... Nightmare ... SI installs fine on Fedora 10. Problem: On Ubuntu 8.10 Server I get "Warning: Smarty::include()...
How not to choke your internet connection while downloading with wget
wget has a cool feature known as limit-rate. If you want to leave a bit of bandwidth for other things then use it with double u get. wget -c -t 100 --limit-rate=80k http://ftp.iinet.net.au/pub/ubuntu-releases/8.10/ubuntu-8.10-beta-desktop-i386.iso The above means -c...
Installing WxPerl on Ubuntu 8.04
Using apt-get or synaptic install lynx libwxgtk2.8 libwxgtk2.8-dev libgtk2.0-dev Test::POD::Coverage As root run CPAN with the command to install wx. You may have to configure CPAN prior to using it. I chose to follow dependencies and kept most of the defaults. sudo...
plink.exe – Unable to read from standard input: The handle is invalid.
I am currently writing a small wxPerl application on Windows that will take user input and then send that input via ssh to a Linux server for further processing. I am using PuTTY's command line component plink.exe for this. To stop the wxPerl program launching a DOS...
xsane “Failed to create file: Permission Denied” error
Today I tried to run xsane as my normal account and it didn't detect my scanner. I traced the problem to insufficient permissions because my account wasn't a member of the "scanner" group, hence, because I didn't have permission to the scanner devices xsane wouldn't...