Grow some white flowers. Make sure the flower species are not toxic for cats, for example lilies are dangerous and daisies are safe. Also, keep a mirror or any shiny...
The syntax of a program varies by language, so that's not directly possible to answer. As far as micro goes, the only thing you need to know is to press...