One thing us developers can do for the environment: Write more efficient software!
You might save some electricity, thus making it easier to switch the grid fully over to renewables. But what really matters is for you not to be the reason your users buy new hardware!
Depending on how large your audience is and how green your other habits are, this might be the single biggest thing you can do! Probably not though.
@alcinnz See also: Frugal Computing