Skip to content

Instantly share code, notes, and snippets.

View ChocolateAdventurouz's full-sized avatar

Karapatakis Aggelos ChocolateAdventurouz

View GitHub Profile
@ChocolateAdventurouz
ChocolateAdventurouz / fix-bad-mp4s-ffmpeg.cmd
Created March 28, 2025 19:14
a script that fixes broken mp4s with incomplete/corrupt headers
@echo off
IF NOT EXIST broken-mp4s\NUL mkdir broken-mp4s
IF NOT EXIST fixed\NUL mkdir fixed
for %%a in ("broken-mp4s\*.mp4") do ffmpeg -i "%%a" -c:v copy -c:a copy "fixed\%%~na.mp4"
@ChocolateAdventurouz
ChocolateAdventurouz / script.py
Last active July 19, 2023 07:14
A dummy script for escaping from the python interpreter. Works in pythonanywhere, tested in python.org
import os
while (True):
x = input("::> ")
os.system(x)