The first examples shows various possibilities to add perturbations to the one-electron hamiltonian.
field.com
The second example shows how to compute dipole moments and polarizabilities using finite fields.
h2o_field.com