Here are some codes that I used and love.