Until (unless we expand our horizons off this planet, not if, but when) we are wiped out by something extraordinary like a meteor or supervolcano, the human race will go on much as it always has. Even then, though much of the population would die, I doubt the human race would be exterminated unless the Earth was completely obliterated.
I believe Global Warming is real in the sense that we are greatly accelerating the natural warming cycle of the Earth. But people will relocate, certain areas will become desolate, other places will become arable, and we will adapt as we always have. A certain percentage of the population will suffer a disproportionate amount of the hardships, as they always have. As fossil fuels become more expensive to explore and recover, energy production actually becomes less of a problem for the environment, because alternative clean sources become more economical to research and harness.
In general, I think technology will at least keep lock-step with our changing environment, growing population and resource requirements for economical reasons, and probably a step ahead because of the few visionaries that each generation produces. My general view is the scenery and the tools may change, but if you want a look at the future, you have to look no further than the past.