Toggen Blog
Tech tips
Articles
Latest
XSLT
At work we have an ERP system that can receive information in a proprietary XML format via directory drop or Web service call. Our customers place orders with us using disparate systems and methods. Fortunately most of them output some sort of XML. How to convert one...
Power outage for a day
Today 7 Jan 2009 we have an all day power outage starting at 8:30AM. Seeing as this webserver sits under my desk at home and the UPS is a tiny one that means that we are going offline for the duration of the outage. Be back at about 4:00PM
Clear Squid Cache CentOS 5.x
How: service squid stop rm -rf /var/spool/squid/* (removes cached files and directory structure) rm -rf /var/log/squid/* (removes the logs) squid -z (recreates the cache_dir structure) service squid start Why: Doing the above can be helpful if you want to claw back...
Running Cron Every X Minutes
I keep forgetting the correct format of cron entries to have a command run every three minutes To do it every three minutes you need to make the syntax */3 not simply 3 (which means on the 3rd minute of every hour) # m h dom mon dow command */3 * * * *...
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...
Putting the I in Idiot – or I just deleted my External USB Drive Partition
The Problem: Doing a Windows XP Pro install at work... Boot Install CD Delete partitions Delete C: Hmm didn't know there was a D: but hey it's got to go.... Delete D: ... Oh No! That was my 250GB External USB drive holding a heap of backups.... Argggh The Fix: I have...
