Skip to content

Instantly share code, notes, and snippets.

@tonydeng
tonydeng / ffmpeg.md
Last active August 29, 2015 14:19 — forked from v5tech/ffmpeg.md

使用ffmpeg合并MP4文件

ffmpeg -i "Apache Sqoop Tutorial Part 1.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i "Apache Sqoop Tutorial Part 2.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
ffmpeg -i "Apache Sqoop Tutorial Part 3.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate3.ts
ffmpeg -i "Apache Sqoop Tutorial Part 4.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate4.ts
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts|intermediate3.ts|intermediate4.ts" -c copy -bsf:a aac_adtstoasc "Apache Sqoop Tutorial.mp4"
@tonydeng
tonydeng / .git-commit-template
Last active September 1, 2016 01:56
git commit tempate
type(<scope>): <subject>
<body>
<footer>
# type 字段包含:
# backlog: 开始一个新的backlog
# feat: 新功能(feature)
# fix: 修补bug
@tonydeng
tonydeng / starUML.md
Created December 7, 2017 10:56 — forked from trandaison/starUML.md
Get full version of StarUML

StarUML

Download: StarUML.io

Crack

Source: jorgeancal

After installing StartUML successfully, modify LicenseManagerDomain.js as follow:

/**
@tonydeng
tonydeng / install-thrift-0.11.0-with-brew.sh
Last active October 14, 2024 17:00
Install Thrift 0.11.0 with brew on macOS
#!/bin/bash
brew unlink thrift
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/4ba654c6d99b3b6804dd3843546a9dcbb700188b/Formula/thrift.rb