Skip to content

Instantly share code, notes, and snippets.

View opensaucerer's full-sized avatar
🍀
1 Thessalonians 4:11-12 — 🍀 busy doing juju?

Perfection Loveday opensaucerer

🍀
1 Thessalonians 4:11-12 — 🍀 busy doing juju?
View GitHub Profile
@opensaucerer
opensaucerer / hls.sh
Created November 25, 2024 07:22 — forked from stenuto/hls.sh
HLS ffmpeg script
#!/bin/bash
# Function to display usage information
usage() {
echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]"
exit 1
}
# Check if at least one argument (input file) is provided
if [ $# -lt 1 ]; then
@opensaucerer
opensaucerer / gist:f74f8d1f633e0daf7a647d663919734a
Last active March 2, 2023 13:45
Making a request with Goaxios
package main
import (
"context"
"encoding/json"
"strconv"
"time"
"github.com/jackc/pgx/v5"
"github.com/samperfect/goaxios"