01 - Preheat oven to 350°F. Grease and flour a 9x13-inch cake pan or two 8-inch round cake pans.
02 - In a large bowl, whisk together flour, sugar, baking soda, and salt until well blended.
03 - In a separate bowl, whisk buttermilk, melted butter, vegetable oil, eggs, vanilla extract, and almond extract until smooth.
04 - Pour wet ingredients into dry ingredients. Mix gently just until combined, being careful not to overmix.
05 - Fold in shredded coconut and chopped pecans until evenly distributed throughout the batter.
06 - Pour batter into prepared pan(s). Bake for 30-35 minutes, or until a wooden toothpick inserted into the center comes out clean.
07 - Allow cake to cool completely in the pan on a wire rack before frosting.
08 - Beat cream cheese and butter together until smooth and creamy. Gradually add powdered sugar and vanilla extract, mixing until fluffy and spreadable. Add milk as needed to achieve desired consistency.
09 - Frost the cooled cake evenly. Sprinkle toasted pecans and toasted coconut over the top for garnish.