Any person who, with intent to injure or endanger the safety of any person on any railway is guilty of a crime.(a) places any thing upon or across any railway;(b) does any act likely to interfere with, injure, endanger, or obstruct any engine, carriage, or other vehicle on any railway;(c) shoots or throws anything at, into, or upon, or causes anything to come in contact with, any such engine, carriage, or other vehicle, or any person;(d) does anything whatever to any part of any railway, or to any points, machinery, or signal belonging to or near to such railway, or to any engine, carriage, or other vehicle thereon;(e) deals in any way with any signal or light on or near to any railway or makes or shows any false signal or light, or makes any sign whatever on or near to any railway; or(f) wilfully omits to do any act which it is his duty to do Charge: Intentionally endangering persons on a railway.