Latest posts

Configuring rEFInd boot manager as your startup disk on a Mac

So I’ve installed Ubuntu on the metal of my MacBook Pro Retina (13 inch, if you must know) and in order to dual-boot the machine, I use the rEFInd Boot Manager.

It works really well and was simple to configure, but I found that after upgrading to Yosemite (10.10), Mac OS X became the default boot OS, whereas rEFInd was booting by default originally.

Originally, this was fine, I dealt with just holding the Option key down during boot to bring up the Startup Manager and selecting EFI Boot in order to get into Linux. I wasn’t ...

Project ‘Green’ House #2: LED replacement lighting for straight T5 tubes

In my previous post, I talked about replacing the various circular fluorescent tubes in my house over to LEDs. In this post, I’ll cover the replacement of short, straight T5 fluorescent tubes and discuss the interesting results I had in this space.

Before - T5 tube present After - LED board replacement

In my house, I have a total of just two of these T5 tubes, both positioned above the sinks in my respective bathrooms. They’re positioned inside a housing that essentially acts as recessed lighting, reflecting light from the tube out in all directions.

Replacement lights

  • 2 x 16W straight LED panels: Cost $10.00 US each ...

Project ‘Green’ House #1: LED replacement lighting for circular fluorescent tubes

This is the first in a series of ways I’m looking to reduce my environmental impact at home, and save a significant amount of money at the same time. Over the course of my Project ‘Green’ House posts, I aim to look at extremely cost-effective ways of reducing your carbon footprint, improving your power bill, and generally making life easier at home. Feel free to adopt any of my ideas for your own uses - I’d love to hear if this has helped you.

This first post is about my aim to replace all the lights in my house ...

Project ‘Green’ House #1: LED replacement lighting for round CFLs

This is the first in a series of ways I’m looking to reduce my environmental impact at home, and save a significant amount of money at the same time. Over the course of my Project ‘Green’ House posts, I aim to look at extremely cost-effective ways of reducing your carbon footprint, improving your power bill, and generally making life easier at home. Feel free to adopt any of my ideas for your own uses - I’d love to hear if this has helped you.

This first post is about my aim to replace all the lights in my house ...

Nginx with Shibboleth (FastCGI authorizer) support updated to 1.6

Note

This was discussed in a previous post. Various changes have happened since then, improving the customisation process and updating for newer versions of Nginx and associated add-on modules.

I’ve updated the custom version of Nginx that supports operating with a Shibboleth SP to version 1.6.0, now that this version has become the lastest stable version.

The build scripts located at https://github.com/jcu-eresearch/nginx-custom-build have been updated, along with the patches required to make the Shibboleth integration happen due to the changes in the Auth Request Module now being built into Nginx since version 1 ...

SCP/Rsync transfers stall at exactly 2112 kB

In case your SCP, Rsync, or other sort of file transfer works for a short period and then suddenly stalls (permanently), then you may want to examine the MTU configuration on your network interface. After trawling the web for hours, attempting to find a solution to why an SCP transfer of one file stalls between server A and B, whilst the exact same file transfers fine from C to B, the answer finally ended up being the MTU configuration.

Curiously, the SCP transfers stall at exactly 2112 kB, which was thankfully my saving grace when I was searching. I’d ...

Gmail avatar/photo always reverts after being changed

Got an unsightly image associated with your Gmail messages, your Google Groups posts, Google Drive activity or somewhere else obscure within Google’s domain? Tried changing that image several times and it won’t budge - or it does and reverts itself right back? Your main Google+ avatar just doesn’t want to sync up with other Google services? Sure, I hear you - you’re not alone. Your issue is probably intermittent too - you change the image on Gmail and your old image comes bounding back, possibly several days later.

It’s an annoying issue and I feel for you. So ...

uWSGI and Database Lockups with SQLAlchemy

If you’re running a Python-based web application and using SQLAlchemy as your database integration layer (as an ORM or otherwise), you may also be using uWSGI to act as the application container.

If you try and fire up multiple processes to handle greater load coming in with the uWSGI option --processes (or -p, --workers; or uWSGI’s various configuration mechanisms), then you’ll probably find that after a short time, your web application will lock up and refuse to serve requests. For me, this was between 1 and 10 requests with using the cx_Oracle database adapter against an Oracle ...

Unlocking your Telstra Elite (ZTE MF60) Mobile Wi-fi Device for Free

Ha, that’s a dodgy-sounding title if I ever heard one. If you’re reading this, then I’ll assure you that these instructions are real, open, and free, and that I’ve used them to unlock my device. Read on…

Update: I should mention that hexecute’s site at https://sites.google.com/site/mf60guide/ now mentions his patch can unlock as well. I haven’t tried that, but from memory, the Windows drivers that are available on that site didn’t work with my MF60 - presumably a different model or something similar. If what’s there doesn’t ...

All Fanstatic resources being served with ‘text/html’ mimetype by WebOb/WSGI

If you’re finding that you’re using Fanstatic to serve static resources within your Python-based server process, you may be left scracthing your head if you suddenly find that resources aren’t being served correctly. For me, this was manifesting as an incorrect Content-Type header, always being set to text/html for any type of static file being served. As a side effect, because I’m using Diazo to theme my backend Pyramid application, this was automatically seeing this mimetype being returned to the browser and trying to “theme” the raw files. The global picture looked like a whole ...