This file contains hidden or 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
version: "1.0" | |
services: | |
# PaperMC | |
paper: | |
image: marctv/minecraft-papermc-server:1.21.3-81 | |
environment: | |
- MEMORYSIZE=2G | |
- PAPERMC_FLAGS="" | |
- PUID=1000 |
This file contains hidden or 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
import catch as catch | |
from PIL import Image | |
import random | |
RGB_MIN = 230 | |
RGB_MAX = 255 | |
COLOR_NUM = 200 | |
# open original image | |
while True: |
This file contains hidden or 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
typedef struct{ | |
int* comped; | |
int len; | |
} lzw_comped; | |
/* |
This file contains hidden or 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
//Utils(ファイル分割すべきだけど設定がめんどくさいので) | |
typedef struct | |
{ | |
int len; | |
char str[]; |
This file contains hidden or 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
typedef struct | |
{ | |
int len; | |
char str[]; | |
} string; |