Heat a little oil in a pressure cooker and sauté the coconut pieces till golden brown. Remove and keep aside.
In the same cooker, add ginger, garlic and shallots. Saute till translucent and then add all the masalas and mix well.
Add the beef pieces to this and then add curry leaves and curd. Add salt to taste. Mix well and pressure cook till the beef is 3/4ths done.
In a non stick pan or earthenware pot, add oil and then crackle mustard seeds. Add curry leaves and the cooked beef along with the stock.
Cook on low flame till the beef turns brown. (A time-consuming process but worth the effort!)
Garnish with the coconut pieces and curry leaves.