This section is from the book "Handy Man's Workshop And Laboratory", by A. Russell Bond. Also available from Amazon: Handy Man's Workshop And Laboratory.
The accompanying illustration shows a very simple way of making an adjustable socket for tungsten lamps, in which the lamp will tend to hang perpendicularly of its own weight. A cage is first made consisting of three or more prongs, brazed to a split ring, which is slipped over the lamp socket. A similar cage is made to slip over the neck of the plug. The prongs may also be soldered to the socket and the plug. These prongs must be long enough to extend past the center of a solid rubber ball, which is to unite the lamp socket and plug. The rubber ball may be purchased at any toy store.

Fig. 229 - Adjustable socket for tungsten lamps.
With a thin metal tube cut a hole through the center of the ball. This is easily accomplished by turning the metal tube with one hand and holding the ball with the other. By running the tube through the rubber a second time at an angle to the first hole an oblong bore is made, such as shown in the illustration. Through this hole put an ordinary lamp-cord and connect one end with the plug and the other with the lamp socket. Now screw the plug into the bracket and turn the 'ball so that the lamp socket hangs perpendicularly. Then screw in the lamp. It will be seen that almost any angle may be obtained.
 
Continue to: