Electrospray ionisation - the sample is dissolved in a volatile solvent and forced through a fine needle connected to a high voltage. This causes the the sample to gain a proton.
Electron impact - the sample is vapourised and high energy electrons are fired at it, knocking off an electron from each particle
X(g) + e- --> X+(g) + 2e-