Skip to content

Instantly share code, notes, and snippets.

@xPomaHx
xPomaHx / hum population
Created May 7, 2018 13:51
модель доказывающая что 10 людей достаточно для возражения цивилизации
const Man = function() {
this.gender = Math.round(Math.random());
this.age = 0;
this.rel = new Set();
}
function IntersecArrays(A, B) {
A = Array.from(A);
B = Array.from(B);
var m = A.length,
(async () => {
var story_id = 5007814;
while (story_id > 5000) {
await jQuery.ajax({
type: "post",
url: "https://old.pikabu.ru/ajax/vote_story.php",
data: {
story_id,
vote: 1,
}