Skip to content

Instantly share code, notes, and snippets.

@natema
natema / .XCompose
Created March 30, 2020 11:15
Unicode emoticons for Compose key
include "%L"
# Emoji
# http://unicode.org/emoji/charts/full-emoji-list.html
<Multi_key> <colon> <colon> <D> : "😀"
<Multi_key> <colon> <x> <D> : "😁"
<Multi_key> <colon> <l> <o> <l> : "😂"
<Multi_key> <colon> <r> <o> <f> : "🤣"
<Multi_key> <colon> <colon> <d> : "😃"
@maitrungduc1410
maitrungduc1410 / create-vod-hls.sh
Last active April 12, 2025 01:00
Bash scripts to create VOD HLS stream with ffmpeg (Extended version)
#!/usr/bin/env bash
START_TIME=$SECONDS
set -e
echo "-----START GENERATING HLS STREAM-----"
# Usage create-vod-hls.sh SOURCE_FILE [OUTPUT_NAME]
[[ ! "${1}" ]] && echo "Usage: create-vod-hls.sh SOURCE_FILE [OUTPUT_NAME]" && exit 1
# comment/add lines here to control which renditions would be created
renditions=(