What does the word contrive mean?

Usage examples for contrive

  1. Look you, Montiel, my son, my advice to you is this: be good all you can; but if you must be wicked, contrive all you can not to appear so. – The Exemplary Novels of Cervantes by Miguel de Cervantes Saavedra
  2. Cuss 'em, an' contrive 'em, both sides on 'em, all an' similar! – A Little Union Scout by Joel Chandler Harris