A woman with a knife and a man who threatened to burn down a house were among people from York and Ryedale sentenced by magistrates recently.