Skip to content

Instantly share code, notes, and snippets.

View codebycaleb's full-sized avatar

Caleb M codebycaleb

View GitHub Profile
@codebycaleb
codebycaleb / subtitle-overlap-fixer.go
Created May 2, 2024 13:57 — forked from nimatrueway/subtitle-overlap-fixer.go
Little tool to fix overlapping subtitles (especially the ones extracted from english auto-subtitles of youtube, vtt files that you would convert to srt with ffmpeg)
package main
import (
"time"
"regexp"
"bufio"
"strconv"
"fmt"
"os"
"errors"

Keybase proof

I hereby claim:

  • I am codebycaleb on github.
  • I am 0xca1eb (https://keybase.io/0xca1eb) on keybase.
  • I have a public key ASD1_Zf5Ad6aCCHRw8TUHdWolZIN7ZegBxpCSyCgxvjaEQo

To claim this, I am signing this object: