Triplet superconductivity in quasi-one-dimensional systems