danielshahaf / read_paste Goto Github PK
View Code? Open in Web Editor NEWThis project forked from e36freak/read_paste
downloads the raw format of a pastebin
This project forked from e36freak/read_paste
downloads the raw format of a pastebin
read_paste [OPTIONS] URL Downloads URL, getting the raw format for the supported pastebins. If URL is not one of the supported pastebins, it is treated as already being in a raw format. Normally writes to stdout, unless -e or --editor is used. Options: -h, --help display this help and exit -e, --editor opens file with vim after downloading -H, --highlight SYN when using the -e or --editor option, tells vim what the filetype is for syntax highlighting. while this program will automatically try to get this information from the site, doing so will not always be possible. this option will override any information acquired from the site. -a, --add SYN=LANG add SYN to the configuration file. LANG must be a *.vim file in your vim's VIMRUNTIME or in ~/.vim/syntax. the .vim on the file may be omitted. This option can be used multiple times, to add multiple syntaxes. Any existing SYN in the file will be overwritten with the new value for LANG. -l, --list list available values for SYN and exit -r, --remove-cr force removal of carriage returns (ASCII 13) from downloaded files -f, --file FILE if -e is not used, write to FILE instead of stdout. if -e is used, use FILE instead of a temp file Valid syntaxes for -H are stored in: "${XDG_CONFIG_HOME:-$HOME/.config}/read_paste/syntaxes.conf" Currently supported pastebins: gist.github.com pastebin.com (will automatically remove CRs) paste.pocoo.org pastie.org sprunge.us syntaxes.conf: This file contains the valid syntaxes for -H. Each line contains two fields, key:value. "key" is the term that read_paste looks for, when determining what language to use syntax highlighting for. "value" is the appropriate *.vim file in your VIMRUNTIME/syntax directory. The '.vim' at the end is omitted in the config.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.