This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Apr 02 22:20:46 -0700 2008 | |
| |
.gitmodules | Sun Dec 21 21:55:47 -0800 2008 | |
| |
History.txt | Tue Aug 05 16:20:37 -0700 2008 | |
| |
License.txt | Wed Apr 02 22:20:46 -0700 2008 | |
| |
Manifest.txt | Sat Apr 05 00:54:43 -0700 2008 | |
| |
README.txt | Mon Apr 07 19:18:58 -0700 2008 | |
| |
Rakefile | Wed Apr 02 22:20:46 -0700 2008 | |
| |
bin/ | Fri Apr 04 22:50:29 -0700 2008 | |
| |
config/ | Sat Apr 05 15:58:17 -0700 2008 | |
| |
lib/ | Tue Aug 05 16:20:37 -0700 2008 | |
| |
log/ | Wed Apr 02 22:20:46 -0700 2008 | |
| |
script/ | Sat Apr 05 00:08:33 -0700 2008 | |
| |
setup.rb | Wed Apr 02 22:20:46 -0700 2008 | |
| |
tasks/ | Wed Apr 02 22:20:46 -0700 2008 | |
| |
test/ | Sat Apr 05 00:48:12 -0700 2008 | |
| |
website - ab62c3f | Sun Dec 21 21:55:47 -0800 2008 |
README.txt
= pastiepacker * http://pastiepacker.rubyforge.org == DESCRIPTION: Prepare to pack or unpack piles of files with the pastiepacker. == SYNOPSIS: To pack a folder: +pastiepacker+ Packing options: -f, --format=FORMAT Possess pasties with a particular persona Supported formats: c++, css, diff, html_rails, html, javascript, php, plain_text, python, ruby, ruby_on_rails, sql, shell-unix-generic Default: ruby -m, --message=MESSAGE Promotional passage for your pastie -p, --private Posted pasties are private Ignored for unpacking -s, --stdout Prints packed pasties instead of posting -H, --no-header Prevents placing pastiepacker promotion in pasties That is, no 'about:' section is added to the top of pasties -h, --help Show this help message. To only pack a selection of files ending with *txt* you can pass a list of file names via STDIN: find * | grep "txt$" | pastiepacker It outputs the url of the prepared pastie, so you can pipe it to xargs: pastiepacker | xargs open To unpack a packed pastie: pastiepacker http://pastie.caboo.se/175183 - This unpacks the files into a subfolder 175138/ To unpack a private pastie: pastiepacker http://pastie.caboo.se/private/5hwfheniddqmyasmfcxaw - This unpacks the files into a subfolder 5hwfheniddqmyasmfcxaw/ == REQUIREMENTS: * ruby * rubygems To test if you have these, the following should work: gem env == INSTALL: * sudo gem install pastiepacker == CONTRIBUTIONS The source for the Pastie Packer is available via git: http://github.com/drnic/pastie-packer/tree/master git clone git://github.com/drnic/pastie-packer.git pastiepacker cd pastiepacker rake install_gem It is also available via rubyforge.org: git clone git://rubyforge.org/pastiepacker.git cd pastiepacker rake install_gem == LICENSE: (The MIT License) Copyright (c) 2008 Dr Nic Williams Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.







