This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <chrono> | |
#include <future> | |
#include <iostream> | |
#include <iterator> | |
#include <random> | |
#include <thread> | |
#define unlikely(x) __builtin_expect((x), 0) | |
#define likely(x) __builtin_expect((x), 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"flag" | |
"log" | |
"net/http" | |
"strings" | |
"time" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from urllib import request, parse | |
from http import cookies, cookiejar | |
import re | |
import time | |
cookie = cookiejar.CookieJar() | |
opener = request.build_opener(request.HTTPCookieProcessor(cookie)) | |
def set_cookie(name, value): | |
cookie = cookiejar.Cookie( |