I made the Fly ADXL sensor a more permanent attachment in my printer so here's a more complete mount that covers the board, clamps a little more securely and fixes with two M3x10 cap head bolts to the same location either side of the extruder motor.
The author marked this model as their own original creation.