The PDF (it's small) is available here: http://www.cc.gatech.edu/~mihail/2050Lec10.pdf
It says:
1 ≡ −332×79 mod 1249
Equivalently, since:
−332≡(1249−332) mod1249
How did they get that equivalency? How do you jump from that first equation to the next?