James McDonald

Form POST missing data when added via JQuery .load()

https://forum.jquery.com/topic/reload-dom-after-injecting-form-elements#14737000002044320 Just had an issue where I was using JQuery to add form fields to a page and when I would submit the form all the added fields were missing. Some forums suggested that I check the...

Lets Encrypt

Was doing some work for an Interior Designer based in Newcastle NSW who is using Squarespace as a hosting platform. Squarespace has partnered with Let's Encrypt to provide SSL https connections for every one of their websites. I also have a friend who runs a Building...

Command Line xTuple DB restore on mac

Command Line xTuple DB restore on mac

This is for a restore to a remote host running postgresql on a custom port and using the pg_restore provided by pgAdmin on a mac. gzcat xtuple-2016-11-07_1412.dump.gz | \ /Applications/pgAdmin3.app/Contents/SharedSupport/pg_restore \ -v -p 5434 -h 10.20.20.20 -U...

xTuple Postbooks Edition 4.10.0 RC FTW

xTuple Postbooks Edition 4.10.0 RC FTW

So for a while I was using Simple Invoices to raise invoices for my Small IT Consultancy Business. However in a short space of time I found that it just didn't have the bells and whistles that I needed. Being an avid fan of Open Source software I looked around and...

Perl Script to Parse PDF Invoice and Send Email

This script uses perl to run pdftotext to grab the text from a PDF Invoice. It parses and extracts document meta data and then uses that to construct a meaningful filename and attach and send the PDF to the correct recipient. You could automate this by placing a watch...

[SOLVED] MacOS Sierra Scanning Fail

Fixed It! Update: So I just made a change to the printer configuration NOT the Mac Sierra software and the scanner is now working.  Log into the OfficeJet Pro 8620 Printer using the web interface and do the following change to the General Network Protocol Settings...

A Favourite Quote That My Sister Introduced Me To

“Oh, the comfort, the inexpressible comfort of feeling safe with a person; having neither to weigh thoughts nor measure words, but to pour them all out, just as they are, chaff and grain together, knowing that a faithful hand will take and sift them, keep what is...

VMWare Fusion conflicts with encfs on MacOS Sierra

I had a work-a-round for osxfuse not working https://toggen.com.au/it-tips/mac-osxfuseencfs-conflicts-with-vmware-fusion-7-1-2-so-try-safe-1-4 but http://www.getsafe.org no longer works since the update to MacOS Sierra EncFS Password: the OSXFUSE file system is not...

Develop CakePHP in 3 Locations – HOME TEST LIVE

I have a CakePHP application that I develop on my MacBook and then push to a "TEST" install environment and then across to a LIVE environment when I'm happy. In the past I've done the following at each instance after I have git pull | fetched | merged: Edit...