Skip to content

Instantly share code, notes, and snippets.

View sko-kr's full-sized avatar

Seunghoon Ko sko-kr

View GitHub Profile
@sko-kr
sko-kr / hls.sh
Created November 9, 2024 05:09 — 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
@sko-kr
sko-kr / polyfill.html
Created December 7, 2020 12:34 — forked from michaelcpuckett/polyfill.html
Polyfill `overscroll-chaining` in iOS Safari
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>X App</title>
<meta name="viewport" content="width=device-width, height=device-height, viewport-fit=cover, initial-scale=1" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<link rel="shortcut icon" href="icons/32x32.png" type="image/x-icon" />