Thursday, June 27, 2013

Overlay scrollbars begone!

I use a 3M EM500 mouse which doesn't have a scroll-wheel. Ubuntu's newish scrollbars appear only when hovering the mouse cursor within angstroms of where a scrollbar might once have been, and thus are somewhat fiddly to use. A tip from Dan at tridan.it has improved my life by a small but very welcome amount:

sudo apt-get purge overlay-scrollbar

Wednesday, June 05, 2013

Workaround for uploading files to MAAS

It turns out that it's not possible to use maas-cli to upload files to MAAS. It's not something that most people need to do because tools like Juju use MAAS's API directly to upload files. However, the following workaround can be used like so: upload.py http://example.com/MAAS/api/1.0/ my:api:key my_filename < my_file