Skip to content

Instantly share code, notes, and snippets.

montanaflynn / main.go
Last active October 19, 2023 15:27
Gin request timeout middleware and handler
View main.go
package main
import (
jmsaavedra /
Last active February 29, 2024 09:36
Install FFmpeg on a Linux Box

Install FFmpeg via CLI on Linux box

These steps walk through installing a static binary of any ffmpeg version on to your linux machine. If you want to compile from source, there are several ways to do so. Here's the official guide. Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.

  • SSH into your instance and become root