Don't mess around with rattle snakes. They are ova viviporous. They carry their eggs within their bodies. After you kill one, it is still possible to find yourself with a few little just hatched rattlers.
We used to throw the dead snakes into a fire. That avoided the problem.
When you have a snake hiding in a wood pile or under something, squirt the co2 fire extinguisher in there. That brings them out pronto. They are cold blooded and they can't take it. Beware, they will not be in a good mood when the come out.
To get snakes out of ground squirrel holes, just squirt some gasoline in there. Again, they will be out quickly, so be prepared.
I suggest you plug the ground squirrel holes with steel wool. But they will just dig another hole. Try the Maccabee Gopher trap.
Again, don't mess around with the ground squirrels. They have fleas that carry the bubonic plague. Take them out of the trap and dispose of them promptly. Don't let the dogs have the dead body.
Good luck,
Rufus