Halifax, a city of 403,000 on Canada’s east coast, has shifted its focus over the past several years from fishing and shipbuilding to establishing itself as a competitive tech sector.