The R-S flip-flop shown here uses two NOR gates and is set and reset by positive pulses applied to these inputs. The inputs must be kept in the low logic level when not triggered. This can be done with 100 k ohm connected to ground.
Flip-Flop Using NOR Gates