An sample image (originally in GIMP xcf format): Becomes: Using: <?php $xcf2png = '/usr/bin/xcf2png'; $xcf_file = 'gimp_sample.xcf'; $jpg_file = 'gimp_sample.jpg'; $png_file = 'gimp_sample.png'; $tiled_file = 'gimp_tiled.png'; $cmd = $xcf2png . ' ' . $xcf_file . '...
James McDonald
Including jQuery scripts just before the closing body HTML tag in CakePHP 2.2.2
In your view file app/View/Controller/view.ctp or at the top of your layout app/View/Layouts/layout.ctp put $this->Html->script( 'jquery.min', array( 'inline' => false, 'block' => 'script_bottom' ) ); # or multiple scripts $this->Html->script( array(...
Perl Script to Convert a Progress Table Dump file to a CIM Load File
Ran into a problem trying to load a .d file with the progress editor. I think there was a unique index on the first first field of the msg_mstr table so I had to update the records using CIM from inside QAD. This is the script I used to convert it from .d format to...
Whereis.com Zoom Level to Legend Scale Mapping
Adding to my similar post about Google Zoom to Map Legend Mapping
Associating File with an Application in Gnome 3
I have installed a program named OCRFeeder to be handle using tesseract. OCRFeeder saves files with a .ocrf extension of application/zip mime-type. By default you associate mime-types to applications the problem is the OCRFeeder files are recognized as application/zip...
Installing the OSQL Command Line Utility on Windows 7 Pro 64bit
1. Install SQL 2008 Management Studio Express Install Management Express Studio from Microsoft® SQL Server® 2008 Management Studio Express Install tools only 2. Update the Install with MS SQL Service Pack 3 Immediately run Windows Button ==> All Program ==>...
Things that hold us back
Some notes regarding a Brian Tracy Series of Videos http://youtu.be/RILoZ0Vx4Xc Feelings of: Doubt & Fear Guilt & Unworthiness Inferiority & Undeservingness Emotional habits are learned. We can unlearn bad emotions. Law of Cause and Effect. Find someone...
Testing a Remote Computers WMI Connectivity
Just had a situation where I ghosted then virtualized a Windows SBS2003 server once it was on VMWare I installed SBS2003 Service Pack 1 and all the patches required for a SBS2011 upgrade. Unseen by me this appears to have updated the Domain firewall Policy and turned...
Ghost Boot Wizard Fails at Preparing Disks
Just spent an unproductive morning try to get the Ghost Boot Wizard (version 11.5.1.2266) to copy a winpe image to a Vebatim 4GB USB Key (NG04G2520005743DML) I would go through the wizard and when I got to the end and it said "Preparing Disks" GBW would exit - no...
Just installed recoll ( a desktop search tool ) and it complains about heaps of missing "helper" applications. I couldn't install pstotext unless I add a repository as listed at the above link. I also found that the missing helper list is located in...
When Super Tankers Attack
On 8 June 2007 the Pasha Bulker ran aground in Newcastle. Just found these photos so thought I would post them.
Setting up Gnome Desktop to use DIA in Single Window Mode
On Fedora 17 install the menu editor program named alacarte. yum install alacarte Launch it and find dia under Graphics and click properties In the properties window edit the lauch command to include --integrated as shown Now when you launch Dia you should have nicely...
UMBrello KDE UML Diagram Creator
Update: Not a fan of Umbrello has a lot of features for UML but too many functionality gotcha's and bugs (from a user stand point I can't comment on it's UML implementation because I'm a newb on UML) I ran into the can't a Anchor a Note to an Activity with error...
QCAD 3
My most favourite open source application QCAD is now at version 3. I buy a license for the "Pro" version because it's just a fantastic easy to use product. At my $DAYJOB today I found out QCAD 3 (I was using RC5) can open dwg files so now it's as useful to me as the...
Setting wget to use a HTTPS proxy
Edit /etc/wgetrc for global change or ~/.wgetrc for a per user change and add: http_proxy = http://192.168.50.22:3128 https_proxy = http://192.168.50.22:3128 ftp_proxy = http://192.168.50.22:3128 Where 192.168.50.22 is the IP Address of your proxy server and 3128 is...
How do I do a Driveway – Maitland City Council
Maitland publishes some standard drawings which may be very handy for people such as myself who are trying to get a handle on the requirements for improvements and additions to a house. To get them: Go to Maitland Councils Website Hover over Planning & Development...
Symantec Licensing Portal Slow and Buggie
When I visit Symantecs Licensing Portal it seems to vary it's performance between slow and unavailable. Today I get the above error message when I use the Redeem My Voucher Link. Fix: Clear your browser cache, re-start your browser and it works. But I don't understand...
I want to start creating web apps that can be used on iPhone and/or Android based devices. HTML5 apparently is the way to go. Only I'm tired of using vi or bluefish so I'm hoping that there are some Linux friendly products that will allow a little WYSIWYG editing. For...