Skip to content

Instantly share code, notes, and snippets.

View jsuesse's full-sized avatar
🥾

Jonathan jsuesse

🥾
  • Thüringen
  • 00:39 (UTC +02:00)
View GitHub Profile
@jsuesse
jsuesse / Später ansehen leeren (Deutsch)
Last active June 17, 2023 09:47
Code to clear your watch later playlist on youtube
setInterval(() => {
document.querySelector('#primary button[aria-label="Aktionsmenü"]').click();
document.evaluate('//span[contains(text(),"Später ansehen")]', document, null,
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null).snapshotItem(0).click();
}, 500);
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdbool.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <errno.h>