Design and Urban Shape for a Resilient City