Author Archives: coder4

给p12证书更换密码

1先导出成无密码的
openssl pkcs12 -in protected.p12 -nodes -out temp.pem
# -> Enter password

2再加密码
openssl pkcs12 -export -in temp.pem -out unprotected.p12
# -> Just press [return] twice for no password
3删除临时文件
rm temp.pem

 

 [......]

继续阅读

Linux下ape切分并转换为mp3

#转化为flac
ffmpeg -i test.ape test.flac
# 分割
iconv -f gbk -t utf8 test.cue > test_utf8.cue
shntool split -t "%n.%p.%t" -f test.cue -o flac test.flac -d output
# flac转为mp3
flac -cd test.flac | lame --preset insane test.mp3
也可以flac直接分割成mp3[......]

继续阅读