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
// ==UserScript== | |
// @name Fix keyboard Play/Pause button with Youtube | |
// @namespace http://gwitr.nips.org.pl/ | |
// @version 0.1 | |
// @description See title | |
// @author You | |
// @include /https:\/\/www\.youtube\.com/ | |
// @icon https://www.google.com/s2/favicons?domain=youtube.com | |
// @grant none | |
// ==/UserScript== |
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
# written in almost exactly 2 hours, don't expect the highest quality code | |
import sys | |
import enum | |
import math | |
import random | |
import pygame | |
BOARDSIZE = 800 |