Local man has 'miraculous' recovery after head injury