Barack Obama’s presidency has been pockmarked by rioting, looting and protests. That’s no coincidence. It’s what the former community organizer sought from Day One. And it’s just going to get worse before he leaves office.

The senseless protests we’re seeing break out on the campuses of the University of Missouri, Yale and other colleges, as well as on bridges and highway overpasses and outside police stations, are precisely the kind of thing Obama was trained to organize while attending leftist agitation schools founded by Chicago communist Saul Alinsky. He learned to a fare-thee-well how to “rub raw the sores of discontent.”

These irritating, self-absorbed, belligerent brats will “hands-up, don’t shoot” themselves into every cobwebbed corner of society.

Now Obama is returning the favor of his Alinsky masters, training and cloning an army of social justice bullies to carry on his revolution to “fundamentally transform America.” He’s doing it mainly through a little-known but well-funded group called Organizing for Action, or OFA, which will outlast his administration.

OFA, formerly Obama for America, has trained more than 10,000 leftist organizers, who, in turn, are training more than 2 million youths in Alinsky street tactics.

The leftist group, which recently registered as a 501c4 nonprofit eligible for unlimited contributions, holds regular “organizing summits” on college campuses.

Through social media, they mobilize flash mobs against “biased cops,” “climate-change deniers,” “Wall Street predators” and “gun extremists.” They hold rallies against conservative foes of gay marriage, LGBT rights, abortion and amnesty for illegal immigrants.

In addition, Obama has trained hundreds of thousands of junior agitators through AmeriCorps, a Clinton youth program he’s dramatically expanded, and through My Brother’s Keeper, the “racial justice” initiative he launched in the wake of the 2012 death of Florida teen Trayvon Martin. My Brother’s Keeper agitates for “school discipline reform” — that is, touchy-feely alternatives to suspensions and expulsions — and other measures to “improve outcomes for boys and young men of color.”

All three of these federally sponsored projects have crossover with the Black Lives Matter and Occupy Wall Street movements, both of which Obama embraces. They share manpower and resources, as well as radical agendas, while coordinating activities with nonprofit ACORN clones, who are being secretly bankrolled through Justice Department subprime settlement funds extracted from banks.

In fact, the president has egged on both BLM and OWS protesters. “We are on their side,” he assured OWS in 2011. And last year, Obama met with Black Lives Matter co-founder Patrisse Cullors, who earlier this year also got to sit down with the first lady in the White House.

This president has encouraged the nonstop civil unrest exhausting the nation.

The protests of the ’60s had real causes — fighting for civil rights and opposing the draft during an unpopular war. But today’s protesters are posers grasping at faux causes and ginning up pseudo-grievances about things like Halloween costumes and swastikas drawn in bathrooms.

They are protesters in search of an issue, agitators in search of a target. They aren’t even rabble-rousers so much as rubble-rousers picking through the charred remains of the last revolution.

Alinsky’s 13th rule for radicals — “Pick the target, freeze it, personalize it and polarize it” — is getting harder to do, because there are fewer and fewer real targets from which to pick. That’s why today’s racism charges are so nebulous.

The police dogs, truncheons and firehoses of the civil-rights movement have been reduced to slights, slurs and symbols. Today’s discrimination is “unconscious” or “implicit.” Activists know it exists, they just can’t prove it. It’s “systemic,” yet they can’t find it.

Desperate for things to grind against, the omni-protesters of the Obama era are turning on their own. Even professors, deans and chancellors who worship at the altar of diversity and multiculturalism are enduring their wrath, poetically suffering intolerances in the name of tolerance.

These little flash-fascists are even cannibalizing the First Amendment that gives them the space to be obnoxious. At Mizzou, they have given campus cops license to police otherwise free speech for “hateful” or “hurtful” words.

Obama is leaving behind a generation of militant jerks — collectively known as his “family” — to continue to proliferate protests and militate against everything and nothing. These irritating, self-absorbed, belligerent brats will “hands-up, don’t shoot” themselves into every cobwebbed corner of society, and the liberal media will give them the national bullhorn to amplify their hatred every time.

Chronic social irritation can do lasting damage to the fabric of a nation. By falsely accusing people of racism . . . or sexism . . . or homophobia . . . or Islamophobia — or whatever other “ism” or phobia they come up with next — these agitators are creating angst and hatred in people’s hearts that wasn’t there previously.

But maybe that’s the objective. As Alinsky advised Obama and other young radicals: “A revolutionary organizer must shake up the prevailing patterns of lives — agitate, create disenchantment and discontent with the current values [until] masses of people have reached the point of disillusionment with past ways and values. . . . The time is then ripe for revolution.”

Paul Sperry, a visiting Hoover Institution media fellow, is author of “Infiltration” and “The Great American Bank Robbery.”