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
(async () => { | |
'use strict'; | |
const loadedEvent = (f, l) => new Promise(r => { | |
f.addEventListener('load', () => { | |
const d = f.contentDocument; | |
if (d.readyState === 'complete' || (d.readyState !== 'loading' && !d.documentElement.doScroll)) r(); | |
else d.addEventListener('DOMContentLoaded', r); | |
}, { once: true }); | |
l(); |
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 <sys/epoll.h> | |
#include <sys/socket.h> | |
#include <arpa/inet.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <string.h> | |
#define MAX 1024 |
NewerOlder