Preheat the oven to 325'F (165'C). Spread nuts or shredded dried coconut in a single layer on a half-sheet pan and toast, stirring occasionally for even browning, until fragrant and the color deepens. Watch them carefully, as timing varies depending on the type of nut and the size of the pieces. Most nuts will take between 10 and 20 minutes; shredded coconut will take 5 to 10 mintes.