Anyone know how to graph a piecewise defined discontinuous function in Mathematica so that the discontinuities actually show up?

I googled and found a solution here but it doesn't work. I've been editing the graphs with microsoft paint to make them look discontinuous but it is very time consuming, especially since I need to create so many graphs.

Anyone have any experience with this?