Skip to content

Instantly share code, notes, and snippets.

View deveworld's full-sized avatar

Dev world deveworld

View GitHub Profile
@deveworld
deveworld / encode.py
Last active May 6, 2024 08:45
Diff-SVC Audio Data Preprocess Python Script
import os
import glob
import parmap
import multiprocessing
import subprocess as sp
FFMPEG_BIN = "ffmpeg"
def encode(input, output_path):
@NickyAlan
NickyAlan / mp4explorer.py
Created November 27, 2023 14:08
play video in file explorer
# Might ruin your SSD
import cv2
import time
import numpy as np
VIDEO_PATH = "video.mp4"
FOLDER = "playground" # folder that play video, create this folder for sure!
ROWS, COLS = 7, 4 # number of images
cap = cv2.VideoCapture(VIDEO_PATH)
@aroxu
aroxu / server-optimization-guide-ko.md
Last active March 16, 2025 08:49
Minecraft Server Optimization Guide (Korean)

시작 하기 앞서, 이 가이드는 이 Spigot MC 최적화 가이드를 보기 쉽게 한글화 한것임을 알립니다.

bukkit.yml

  • spawn-limits
    기본값: monsters:70, animals:10, water-animals:15, water-ambient:20, ambient:15
    최적화 값: monsters:50, animals:8, water-animals:7, water-ambient:10, ambient:1
    성능에 미치는 영향: 높음

    ➫ "플레이어 당 몹"(플레이어 한명당 비례하게 생기는 몹의 양) 값이 낮을수록 몹이 적다는 것을 의미합니다. 너무 낮게 설정하는 것을 피하세요. 그렇지 않으면 눈에 띄게 몹이 부족할 수 있습니다.