Connect this to that with an IDC cable! This cable has 6 pins (2x3) in 0.1"x0.1" spacing. Often used for programming AVRs. 6" long with two sockets crimped onto either side, they're quite sturdy!
Program an AVR or Arduino Using Raspberry Pi GPIO
How to use the avrdude tool on a Raspberry Pi to program an AVR microchip or Arduino board!
6-Pin Socket/Socket IDC Cable - 6" / 15cm 
- Brand: Adafruit
- Product Code: ADA-371
- Reward Points: 3
- Availability: 3
- Ex Tax: £3.25
- Price in reward points: 100