IR reader ans sender

Aren't their just some easy program's that you can upload to your arduino, so you can read a Infrared code from any remote ?