This should work with any kind of nuts.
Attention: Watch out that your food processor does not get too hot.