Welcome to My Blog
IT related tech tips since 2006Creating Passwords that don’t Require a Keyboard Epiphany using pwgen
Just rediscovered pwgen which I had forgotten all about. I'm still a fan of Secure Memorable Passwords for personal use though. But pwgen is great if you are wanting to automate installations and require random mysql table prefixes: # mysql table prefixes pwgen -A 3 2...
Google+ Posts missing images
If you have moved from one content management system to another. For example you move from Drupal to Joomla and you have a social media plug-in that posts your articles to your Google+ or Facebook page you might find when you move CMS's that your social media feed is...
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...
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...
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...
Mordac The Preventer of Informations Services Strikes after a yum update
SeLinux ... Ah the serenity If you haven't rebooted a box in many days and then do yum update you may find that your seLinux policy now denies access to some of your processes. This is especially true if you have made changes to the default configuration files meaning...
Mac osxfuse/encFS conflicts with VMWare Fusion 7.1.2 so try Safe 1.4
I don't know when it happened but running osxfuse 2.8.0 and encfs version 1.8.1 on Mac OS X Yosemite 10.10.5 and then trying to launch a VMWare Fusion 7.1.2 VM causes the following errors: "Could not open /dev/vmmon: No such file or directory" and "Failed to...
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...
Save a directory trees permissions and then restore them
One Web Site Admin problem that I have found to be annoying is when you want to secure your webserver by making only what is required writeable and leave the rest unwriteable by the web server process. As soon as you go to perform an update of a module then the...