Skip to content

Instantly share code, notes, and snippets.

View OskarZyg's full-sized avatar
🇪🇺
strength through collaboration!

Oskar OskarZyg

🇪🇺
strength through collaboration!
View GitHub Profile
import asyncio
import json
from typing import List, Tuple
import websockets
from PIL import ImageGrab
def get_colors(size: int = 10) -> List[Tuple[int, int, int]]:
image = ImageGrab.grab()
$ sudo apt-get install libmariadb3 libmariadb-dev
[sudo] password for oskar:
Sorry, try again.
[sudo] password for oskar:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed
libmariadb-dev
The following packages will be upgraded:
eula=true

BukkitRepeatingTask

RepeatingTask Class that is useful for managing bukkit repeatingTasks

I didn't make this, I just cant find OC.

Usage:

RepeatingTask repeatingTask = new RepeatingTask(this, 0, 20) {