Skip to content

Instantly share code, notes, and snippets.

View pgram1's full-sized avatar
🎯
Focusing

Petros Grammatikopoulos pgram1

🎯
Focusing
View GitHub Profile
@pgram1
pgram1 / triangle-eye.py
Last active May 1, 2024 17:21
Triangle
def generate_triangle(height):
ellipse_width = height // 2
ellipse_radius_x = ellipse_width // 2
ellipse_radius_y = height // 4
eye_width = ellipse_width // 2
eye_radius_x = eye_width // 2
eye_radius_y = eye_width // 4
for i in range(height):
@pgram1
pgram1 / media-handling.md
Created December 9, 2022 13:52
Tips on acquiring and handling media

FFmpeg

FFmpeg is a utility that handles almost all multimedia formats that exist. It is usually the program that is used behind all the options of media-editing and management software. It is also used in automations like the one Google uses when we upload our videos and they convert them to all the alternative qualities.

An extensive tutorial is located here: https://img.ly/blog/ultimate-guide-to-ffmpeg/

yt-dlp

yt-dlp is a utility that can be used as an easy method to acquire media from the internet. It supports many different websites