Preheat oven to 350 degrees. Line a baking sheet with parchment. To toast the nuts, bake for 5 - 10 minutes in 350 degree oven until lightly toasted - cool and chop. In a mixing bowl, cream the butter and sugar. Add the eggs one at a time. Add the vanilla and almond extracts. Combine the flour, baking powder, cinnamon and salt in a small bowl. Slowly add the flour mixture, stir in the nuts. Form the dough into 2 logs, approx. 12 inches long and 1/2 inch high. Bake for 30 minutes, remove from the oven. Cool slightly and then slice diagonally into 1/2 in pieces. Place on the baking sheet cut side down. Return to the oven and bake for 20 minutes, turn after 10 minutes. Cool and store in airtight container