Skip to content

Instantly share code, notes, and snippets.

View diceroll123's full-sized avatar
🎲

Steve C diceroll123

🎲
  • New Jersey
  • 02:28 (UTC -04:00)
View GitHub Profile
@trvswgnr
trvswgnr / compress_video
Last active February 5, 2025 20:37
portable shell script to compress videos with ffmpeg
#!/bin/sh
print_usage() {
echo "usage: compress_video <input_file>"
echo "supported formats: mp4, webm, mkv, mov, avi, flv"
}
get_extension() {
f="${1##*/}"
case "$f" in
@YumaInaura
YumaInaura / README.md
Last active December 21, 2024 11:39
Gist β€” Manage in one repository many gists by using git submodule

Gist β€” Manage in one repository many gists by using git submodule

Gist is a nice service. We can write code so easily and manage files as repository.

But bad points are …

  • Many repository
  • Gist destributes random hash to perticular gists (repositories).
  • So difficult to find or remember contents as repository.