In a dramatic turn of events, the US Senate has passed a bill to keep the government open, narrowly avoiding a shutdown that would have had far-reaching consequences for the country. The bill, which was passed with a narrow margin, will now be sent to the President for signature.