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
import pygame | |
import moviepy.editor | |
file = r"\\share\video.mp4" | |
screen_info = pygame.display.Info() | |
pygame.init() | |
video = moviepy.editor.VideoFileClip(file, target_resolution=(screen_info.current_h,screen_info.current_w),fps_source=25) | |
video.preview() |
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
import random | |
from random import shuffle | |
import os | |
import uuid | |
import time | |
class Card(): | |
def __init__(self, column_length: int, columns_count: int, total_numbers_count: int): | |
self.card = [] |
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
#ES | |
#POD'ES | |
version: '3.1' | |
services: | |
mongo: | |
image: mongo | |
restart: always | |
ports: | |
- "27017:27017" |
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
#es | |
#configuring pod'es | |
version: '3.1' | |
services: | |
db: | |
image: postgres | |
restart: always | |
environment: |
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
version: "2.1" | |
services: | |
wireguard: | |
image: lscr.io/linuxserver/wireguard:latest | |
container_name: wireguard | |
cap_add: | |
- NET_ADMIN | |
- SYS_MODULE #optional | |
environment: | |
- PUID=1000 |
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
services: | |
db: | |
image: mariadb:10.6 | |
restart: always | |
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW | |
volumes: | |
- ./db:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=xaz261P3 | |
- MYSQL_PASSWORD=afDsf7an6Mg5 |