Skip to content

Instantly share code, notes, and snippets.

View staylet's full-sized avatar
✍️

StayLet staylet

✍️
  • 127.0.0.1
View GitHub Profile
@staylet
staylet / convert.md
Created August 23, 2024 10:58 — forked from maximebories/convert.md
FFmpeg command to convert webm to mp4 video files
ffmpeg -i input.webm -c:v libx264 -preset slow -crf 22 -c:a aac -b:a 128k output.mp4

This ffmpeg command converts a .webm video file to a standard .mp4 file using the libx264 codec for video, aac codec for audio, and a CRF value of 22. The preset is set to 'slow' for higher quality encoding, and the audio bitrate is set to 128 kbps.

@staylet
staylet / nginxvarcore.md
Created April 17, 2017 13:21 — forked from esfand/nginxvarcore.md
Nginx Variables

Embedded Variables

The ngx_http_core_module module supports embedded variables with names matching the Apache Server variables. First of all, these are variables representing client request header fields, such as $http_user_agent, $http_cookie, and so on. Also there are other variables:

  • $arg_name
    argument name in the request line
@staylet
staylet / editor-i18n_zh_CN.properties
Last active July 26, 2016 18:46
i18n_zn-CN for jira-editor-plugin-1.0.72.jar
# Toggle
jira.editor.toggle.text=Text
jira.editor.toggle.visual=Visual
jira.editor.toggle.mode.visual=Visual mode
jira.editor.toggle.mode.text=Text mode
# Macros
jira.editor.macro.code.placeholder=// code placeholder
# TinyMCE language pack