Code probably won't help that much, but using green hosting providers is very helpful. Think of all those servers drawing power 24x7, that are powered by burning coal.
Does anyone have a list of carbon-neutral VPS hosts?
Is it possible to build a carbon-neutral SaaS app, given all the dependencies we have on SaaS providers these days?