Grease your baking dish and line it with parchment paper to make the bars easy to remove once they're set.
In a bowl, combine your sugar and cocoa powder, then set aside.
In a double boiler, melt the butter over medium-low heat.
Remove the melted butter from the heat and mix in the sugar/cocoa mixture, stirring until well combined.
While whisking constantly, slowly pour in the egg a little at a time. Don't pour too much or it'll curdle from the heat.
Return the mixture to the heat and cook while whisking until it thickens up some.
Remove from the heat again and stir in the graham cracker crumbs, coconut, and almonds. Stir until well combined.
Pour this mixture into the baking dish, spreading it evenly to make a base "crust" for the bars. Lightly press it down, and place the baking dish in the fridge to chill.