James McDonald

Access

Blog History

Docker attach you hang

Docker attach you hang

Docker attach is supposed to give you a bash shell But I have found on some containers that it just hangs when you run it: docker attach 54b38600e152 But this command works for me (and apparently allows multiple shells to attach) docker exec -i -t 54b38600e152 bash...

read more
Glabels-3 almost had me beta

Glabels-3 almost had me beta

Just had an issue in glabels when I pointed it at a CSV file one of the fields was missing. The cause was glabels intelligently determining the CSV encoding to be non-unicode (ISO-8859) and then dutifully skipping the  display of a field with the ? beta  character in...

read more
Transferring from a PST to IMAP Server

Transferring from a PST to IMAP Server

Step 1: Export from Exchange to PST A few weeks ago I blogged about Running a Mailbox export from Exchange to PST using powershell at https://toggen.com.au/it-tips/powershell-export-multiple-mailboxes-to-pst If you are wanting to publish your PST to a IMAP server the...

read more

Map old website URLs to new case Insensitive

Instead of just using RedirectPermanent in htaccess try: RedirectMatch 301 (?i)/blog/my-really-cool-blog-post /about-us/blog/my-really-cool-blog-post So if your old web server had capitalised URLs e.g. http://www.example.com/blog/My-really-Cool-blog-post it will still...

read more

PowerShell Export Multiple Mailboxes to PST

This script exports the email aliases in $export_names to a file with a yyyymmdd date stamp. The BadItemLimit is jacked really high because when a mailbox is 24+ GB and has a lot of weird Chinese and other character sets that make the export think it's corrupt. I'm...

read more
Optus Android App Fail

Optus Android App Fail

Any example of inconsistent behaviour in an Android Mobile app. This is from Optus a Telco supplier. You have an amount to pay value and a click to pay button. The next screen should carry over the amount to pay value but instead has a value from  a payment made...

read more