This isn't the first time you've posted this. Here is the response I decided not to post last time.
You will probably never write a magic thousand lines of code for this. You'll probably have a far greater impact if you do a few simple things we should all be doing anyway:
* Turn off lights you aren't using.
* Turn your air conditioning up or down by a few degrees.
* Turn your water heater down a few degrees.
For computer-specific stuff:
* Don't leave computers running when not in use.
* Dim your displays.
* Use your laptop's battery rather than leaving it plugged in all the time.
I know it's not exactly interesting stuff, and it certainly doesn't build your CV, but neither of those things is actually important when it comes to climate change.