Skip to content

Instantly share code, notes, and snippets.

View tolgahanakgun's full-sized avatar
😛
( ͡ ͡° ͜ ʖ ͡ ͡°) \╭☞

Tolgahan Akgün tolgahanakgun

😛
( ͡ ͡° ͜ ʖ ͡ ͡°) \╭☞
View GitHub Profile
@tolgahanakgun
tolgahanakgun / transcoder.py
Created March 11, 2025 22:02
H264 video transcoder
import os
import subprocess
import time
# This script is intended to transcode *.mkv files.
# It uses docker image from https://github.com/lisamelton/other_video_transcoding .
# It transcodes the videos inside the rootdir to max quality H264 mkv files.
# The docker container utilizes intel quick sync hardware encoder.
# This can be run inside a tmux session overnight.
@tolgahanakgun
tolgahanakgun / main.go
Created June 27, 2025 08:55
simple telnetd
// This was coded by claude.ai
package main
import (
"bufio"
"fmt"
"net"
"os"
"os/exec"
@tolgahanakgun
tolgahanakgun / text-share.py
Last active July 21, 2025 17:56
A very simple web app that can be used to share text between devices
# This is intended only for personal use and it must NOT be open to public internet witout authentication and encryption.
#
# This was coded with help of ChatGPT and Claude.
#
# It can be simply deployed via the following command:
#
# sudo docker run --detach \
# --name text-share \
# --memory 128m \
# --publish 8000:8000 \