debian 降级
摘要:如何由 unstable 降回 stable要把所有的套件降級至 stable,請依下列來編輯 /etc/apt/preferences 檔:Package: *Pin: release a=stablePin-Priority: 1001然後執行 "apt-get upgrade" ,因為 Pin-priority > 1000 的原因,所以會強制降級。警告你,這會在相依性上造成點小問題。 請參考debian參考手冊 6.2.5 將所有套件降級至 stable
阅读全文
svn命令在linux下的使用
摘要:本文链接: http://www.php-oa.com/2008/03/12/svnminglingzailinuxxiadeshiyong.html1、将文件checkout到本地目录svn checkout path(path是服务器上的目录) 例如:svn checkout svn://192.168.1.1/pro/domain 简写:svn co2、往版本库中添加新的文件svn ...
阅读全文
Git使用指南
摘要:1.创建目录$ git config --global user.name "Your Name Comes Here"$ git config --global user.email you@yourdomain.example.com$ git config --list 查看相关信息$ git init如果作为 Server 存在,那么可以忽略工作目录,以纯代码仓库形式存在。$ git --...
阅读全文
Linux / Unix Command: ImageMagick
摘要:NAMEImageMagick - commandline utilities to create, edit, or convert imagesSYNOPSISanimate [ options ... ] file [ [ options ... ] file ... ]composite [ options ... ] image composite [ mask ] compositedconjure [ options ] script.msl [ [ options ] script.msl ]convert [ [ options ... ] [ input_file ...
阅读全文
picture2video and video2picture using mplayer and ffmpeg
摘要:video2picturemplayer –vo png videname.avipicture2videoffmpeg -f image2 -i image%d.jpg video.mpgconvert *.jpg movie.mpgmencoder mf://*.jpg -mf fps=20:type=jpg -o output.avi -ovc lavcvideo2videoffmpeg -i input.avi -s 640x480 -b 5000k output.avi; % resize the input avi file to 640x480 with 5000k bitera
阅读全文