Man appears in court after pair of stabbings