| command | description |
|---|---|
| ctrl + a | Goto BEGINNING of command line |
A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * ICS.php | |
| * ======= | |
| * Use this class to create an .ics file. | |
| * | |
| * Usage | |
| * ----- | |
| * Basic usage - generate ics file contents (see below for available properties): |
- 抓取页面内容到一个文件中
curl -o home.html http://jingwentian.com
2.用-O(大写的),后面的url要具体到某个文件,不然抓不下来。我们还可以用正则来抓取东西
curl -O http://jingwentian.com/logo.png
curl -O http://jingwentian.com/uploads/2010/[0-9][0-9]/demo.jpg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fun! EvalVimScriptRegion(s,e) | |
| let lines = getline(a:s,a:e) | |
| let file = tempname() | |
| cal writefile(lines,file) | |
| redir @e | |
| silent exec ':source '.file | |
| cal delete(file) | |
| redraw | |
| redir END | |
| echo "Region evaluated." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| # Using GPL v2 | |
| # Author:: DongYuwei(mailto:[email protected]) | |
| # 更新部分内容应对2010年7月25日飞信升级 | |
| require 'uri' | |
| require 'net/http' | |
| require 'net/https' | |
| require "socket" | |
| require 'rexml/document' |
