Step 1: Disassembling and cleaning
Step 2: Wiring
Important: from here on do the wiring first and then put all the switches in place (and let enough slack)
The blender had a "push-and-hold" button, witch I replaced by an on-off switch of the same size (I could even use the old switch cover).
I disassembled a wall mounted dimmer switch and used it for this lamp. It fitted perfectly, I could even fix it on the original screw holes.
As cable I used an extension cord and cut of the female plug.
When all the wiring is done reassemble without the baseplate.
Step 3: (Almost) done!
Fix the old knob on the new dimmer (needed some glue in my case).
Screw the base plate back on and enjoy your new table lamp.