A harsher alternative meaning for "go with the flow."
Going with the flow implies just going with whatever happens.
Since lightning is so fast, deadly, etc., "riding the lightning" denotes a "fuck it all" mentality in which the person is so fed up, that they ultimately concede and just adapt or let themselves go to arbitrary circumstance, no matter how austere or violent it may be.
"I can't take this shit no more..."
"Aww, fuck it all. Just go with flow, ride the lightning..."