Skip to main content

· One min read
Hung Viet Nguyen

git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file - error: cannot run gpg: No such file or directory error: gpg failed to sign the data fatal: failed to write commit object

Answer:

git config --global gpg.program "$(which gpg)"

· One min read
Hung Viet Nguyen

You can convert audio/ video files to mp3 format using ffmpeg by:

ffmpeg -i input.mov -c:v copy -c:a libmp3lame -q:a 4 output.mp3

This is handy when you trim the video/ audio when using QuickTime on macOS (since the extension will be .mov or .m4a)

· One min read
Hung Viet Nguyen

This is my dream frontend test stack, to test my React applications: