- 博客(5)
- 资源 (9)
- 问答 (4)
- 收藏
- 关注
原创 git查看函数修改历史
追踪一个函数的变更历史可以使用 I want to view the commit history for a specific functiongit log -L :FunctionName:FilePath这条指令可能对类似C语言适用,对于其他语言git也提供了相应的支持,需要配置一下。参考:generating diff textGit - how do I view the ...
2019-07-30 20:11:09 6034 10
原创 如何将多个指令的输出合并到一行输出?
有时候为了清晰会将多个指令的结果合并在一行中显示,比如查看文件及属性的命令 ls 和 file,单独使用时ls --full-time -h-rwxr-xr-x 1 lufei www 7.5M 2019-07-09 14:23:48.041432487 +0800 1.mp4-rw-r--r-- 1 lufei www 3.1M 2019-07-09 14:24:17.872506355...
2019-07-27 09:12:43 5576 1
原创 Moov itom not found 详解及修复。
moov atom 是什么?understanding the mpeg4 movie atom (moov atom)怎么修复?Untrunc(better than recover_mp4_to_h264) SORestore a damaged (truncated) mp4, m4v, mov, 3gp video. Provided you have a similar ...
2019-07-27 08:35:21 12573
原创 命令行艺术 ( the art of commad line )
Github: the-art-of-command-line实例:For web debugging, curl and curl -I are handy, or their wget equivalents, or the more modern httpie.To know current cpu/disk status, the classic tools are top (o...
2019-07-25 18:33:03 623
原创 df 与 du 输出磁盘使用情况不一致
五点多醒了,一看手机,收到了一堆网站磁盘告警信息,显示磁盘的占用情况82%,85%,…92%(每半个小时报警一次)。赶快打开电脑,登上服务器,查看磁盘占用情况。df -hFilesystem Size Used Avail Use% Mounted on/dev/vda1 40G 36G 4G 92% /sudo du -h -x --max-dep...
2019-07-11 09:23:27 494
TA创建的收藏夹 TA关注的收藏夹
TA关注的人