Escape a stalled subway car or a swarm of pigeons; stop a runaway hot dog cart; defeat cockroaches—what every native and visitor needs to survive in the Big Apple.