If you run this: You will get the output regarding available updates in Ubuntu similar to the following 130 packages can be updated. 92 updates are security updates. Ubuntu Version...
James McDonald
EQualLogic Array Won’t load Java Admin Applet in Browser
Tried to load the admin web page for an EqualLogic PS 6100 series array and got attempted to open sandboxed jar The fix requires editing the java.security file and removing MD5 from the following line jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024, DSA keySize...
Amazon AMI with EPEL Repo throws error when updating latest etckeeper
When doing a yum update I get Error: Package: etckeeper-1.18.7-2.el6.noarch (epel) Requires: hostname Problem is currently fixed in epel-testing re https://bugzilla.redhat.com/show_bug.cgi?id=1577707 So to fix you just need to install it from testing: [code...
Google Backup and Sync the Glacial Copy Program
So I had 250GB of data to upload to Google G Suite. Some ~200GB is Pictures the other is a mix of Documents and an assortment of Macbook home directory detritus. So I wanted to upload the photos and get them to automatically appear in Google Photos. Google Backup and...
Insync on Ubuntu 18.04
I had some small issues getting the insync client running on a fresh (defaults install) of Ubuntu 18.04 to install insync-nautilus Unfortunately the standard Ubuntu 18.04 deb package doesn't add a list file for the insync repo so you can't enable nautilus integration...
AWS CLI S3 Download of Mac Files to Windows Causes Failures
I have recently needed to upload several hundred GB of files from a Macbook Pro Laptop to S3, then download the S3 Files into 4GB t2.medium Windows 2016 Server EC2 instance so I could use Google Backup and Sync to upload the pictures and docs to a GSuite account. This...
aws cli – can’t encode character ‘\uxxx’ surrogates not allowed
If you get the above when trying to do an aws s3 sync then check your LANG settings... for some reason inside a docker container I had no LANG=en_AU.UTF-8 set and so the aws cli could not encode the romantic little love hearts and weird characters that people embed in...
Run a docker container command from synology crontab
Use the information here to edit the /etc/crontab and then restart with synoservice -restart crond http://www.multigesture.net/articles/how-to-use-cron-on-a-synology-nas/ # /etc/crontab every 2 hrs at 15 minutes past 15 */2 * * * root...
Call to undefined function opcache_reset()
Got this error message 2018/03/13 22:12:41 [error] 17149#0: *7057 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function opcache_reset() in /path/to/wordpress/wp-content/plugins/opcache/opcache.php:72 And then created a file...
VMWare Fusion 8.5.10 Guests on Mac High Sierra 10.13.3 NAT Network not Working
Just booted both a Windows 10 and Fedora 26 VM on my Macbook and found that the default network adaptor setting of "Share with my Mac" caused the guest OS to not have a valid IP Address: So after some investigation I think the problem is that Mac High Sierra 10.13.3...
Get the Size of an Amazon Bucket
Command to get a listing of each object and it's size, the number of objects and their total size in human readable format: aws s3 ls --summarize --human-readable --recursive s3://BUCKET_NAME/ # output is a really long listing ... with this...
Configure CakePHP 3.x and React so 401 Unauthorized Errors are Caught by fetch()
Update: Another way of globally implementing CORS is to add a .htaccess with the following in it Doing JWT authentication with CakePHP and when I put the wrong...
Word for Mac 2016 Label Merge Work-a-round
I have been trying to create labels with a mail merge in Microsoft Word for Mac 2016 After much frustration (a colossal waste of time) with trying to get it working using the recommended merge field options: { INCLUDEPICTURE "{ MERGEFIELD...
Bootstrap Glyphicons and Font Awesome in CakePHP 3
This is how I use both bootstrap glyphicons and the font awesome fonts in cake with some simple helper methods. You first need to copy your font awesome files to webroot/webfonts and glyphicons to webroot/fonts and the respective css files to webroot/css and include...
A Good Mac Terminal
Just been using iTerm2 for a number of weeks on my Macbook Pro. It's been stable and easy to use. The mac terminal itself had been buggy and exited randomly.
Using DRAC 6 to update BIOS on Dell 710 Server
My tips from my mac Use fn+command+F11 to send the F11 key to get into the BIOS boot device selection screen when connecting from a mac to remote desktop to a java instance of the DRAC console.
ntpdate
Just upgrading from 5.1 to 5.5 of the Vcenter Server Appliance and was wanting to set time synchronization Get a list of public NTP server from http://www.pool.ntp.org/zone/au Login to the upgraded VCSA as root and run ntpdate your.ntp.server.name.here will confirm...
Playing with the … spread operator on JSON objects
const stringify = (obj) => { // use 2 spaces and pretty print it return JSON.stringify(obj, null, 2) } const token = "hijames" // starting array const config = { headers: { 'Authorization': `Bearer ${token}`,...