-
Notifications
You must be signed in to change notification settings - Fork 17
tools
Hanlei Qin edited this page Aug 22, 2018
·
54 revisions
- 指定url内查找相关信息,将以下内容放入Google的搜索框内并回车:
site:https://github.com/doubility-sky/daydayup/wiki 搜索
- ImageMagick:批量处理图像的超级利器
- 使用ImageMagick在命令行下处理图片
- Linux命令 ImageMagick
- 常用 IM 命令
convert image.png image.jpg
convert -resize 2732x2048! image.jpg new_image.jpg
-
convert image.png -background white -alpha off out.png
关闭 alpha 通道 设置背景色 - 批量转换当前目录所有png至jpg:
mogrify -format jpg *.png
- 批量拉伸(强制拉伸)当前目录下所有jpg至指定大小:
mogrify -resize 2732x2048! *.jpg
- 批量关闭 alpha 通道,设置背景色
mogrify -background white -alpha off *.png
- 裁剪
convert xxx.png -crop 229X81+0+82 +repage xxx-1.png
-
pngquant
- GUI https://imageoptim.com/
-
recursively-batch-process-files-with-pngquant
find . -name '*.png' -exec pngquant --ext .png --force 256 {} \;
-
find . -name '*.png' -print0 | xargs -0 -P2 -L1 pngquant --ext .png --force 256
多核处理(-P2)
- https://tinypng.com/ - Up to 20 images, max 5 MB each.
lame --mp3input --abr 32 ${infile} ${outfile}.mp3
ffmpeg -i "${filename}.wav" -f mp3 "${filename}.mp3"
- 使用 audacity/lame/ffmpeg 进行 mp3 文件瘦身
- Axure RP UI设计软件
-
Graphviz
- 贝尔实验室AT&T出品, 成品质量奇佳; C++ boost 库都有API支持; 有独立语言DOT支持, 入门不易.
- 使用 Graphviz 生成自动化系统图
-
draw.io
- 云端绘图,可导出各个网盘
- 需要翻墙2016-01-20
-
Artistic Style
格式化利器,别人代码瞬间变成你熟悉的风格。以下为一个使用命令案例:
AStyle.exe --mode=c --style=kr --indent=force-tab --attach-namespaces --attach-classes --attach-inlines --indent-switches --indent-col1-comments --pad-oper --pad-header --unpad-paren --align-pointer=type --fill-empty-lines --add-brackets --recursive --suffix=none *.c *.cpp *.h *.hpp
- vim
- emacs
- 新世纪编辑器
- 小清新
- sublime 速度飞快 (打开大文件表现好)
- notepad++ (Windows Only)
- 重量级
- source insight 收费,windows only
芝士就是力量,法国就是培根!
Knowledge is power -- Francis Bacon
人要是没有梦想,和咸鱼有什么分别?光标请勿在最高司令官身上停留!
- mathematics
- algorithm
- theory-of-computation
- compiler
- operating-system
- networks
- security
- artificial-intelligence
- computer-graphics