Solved: Updating partition details… Unable to open zip file. Error flashing zip

When trying to flash my old Motorola Xoom using this excellent guide http://www.xda-developers.com/motorola-xoom-still-alive-and-kicking-receives-functional-kitkat/ I was unable to flash the system and google apps zips from TWRP and received the following error:

Updating partition details...
Unable to open zip file.
Error flashing zip '/sdcard/update.zip

The error wasn’t quite verbose enough. I found when I tried to have another stab at flashing the recovery partition Android was more helpful and told me that the battery level was too low.

Plugging the device in I was able to flash the device straight away and bring my Xoom back to life and make use of an old tablet again!

Custom Fit Keyboard Dust Covers UK

I had such a hard time finding a dust cover to cover my Akai MPK249

I’ve just placed an order with this company
http://www.pianocoversonline.co.uk/universal-keyboard-dust-covers-p-13026.html

Whilst it took a whilst to be delivered, which is fair enough, they were hand making it to order, I’m very happy with my keyboard cover.

I’ll definitely use this company again for when I inevitably buy a full size keyboard 🙂

Exporting Active Directory Users Into CSV

It took far too long to find this very very useful command online so I thought I’d repost to help others find it.
The below command exports as follows:
Connection to server: domain.local
Exporting attributes: whenChanged,whenCreated,cn,sAMAccountName,givenName,sn
From DN Root: DC=domain,DC=local
Into File: domain.local-users.csv
csvde -s domain.local -l "whenChanged,whenCreated,cn,sAMAccountName,givenName,sn" -d "DC=domain,DC=local" -f domain.local-users.csv

Solution: libpam-radius-auth: Sends out 127.0.0.1 as NAS-IP-Address

Symptom

When authentication linux to radius using libpam-radius-auth: Sends out 127.0.0.1 as NAS-IP-Address

Cause

/etc/hosts file contains the local machine’s hostname with 127.0.0.1

Solution

Either remove the offending line, or before this line place the correct ip address with the hostname (note that order is important).
10.0.0.5 computerName
127.0.0.1 computerName