A man accused of attacking and injuring two men during stabbings in Dublin’s Stoneybatter area has been remanded in custody.