The end of debt standoff and a stronger-than-expected jobs report helped boost the Dow to its biggest gain in over six months, while the Nasdaq is near a 14-month high.