Oxgen and nitric oxide are paramagnetic
Most other gases (e.g. nitrogen) are weakly diamagnetic and thus are repelled from a magnetic field.