Skip to content
View clearxlate's full-sized avatar
Block or Report

Block or report clearxlate

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
clearxlate/README.md

clear xlate

#####some text

Pinned

  1. Create animated gif from video Create animated gif from video
    1
    # Convert video to gif file.
    2
    # Usage: video2gif video_file (scale) (fps)
    3
    video2gif() {
    4
      ffmpeg -y -i "${1}" -vf fps=${3:-10},scale=${2:-320}:-1:flags=lanczos,palettegen "${1}.png"
    5
      ffmpeg -i "${1}" -i "${1}.png" -filter_complex "fps=${3:-10},scale=${2:-320}:-1:flags=lanczos[x];[x][1:v]paletteuse" "${1}".>
  2. applescript to switch target display... applescript to switch target display mode on headful imac
    1
    #!/bin/bash
    2
    osascript -e 'tell application "System Events" to key code 144 using command down delay'