annotate README.md @ 390:91dabc034389

Improved styling for show.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 19:38:42 +0900
parents 62f2a4b27af6
children 95bb6750003e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
371
62f2a4b27af6 Update nickname.
nanaya <me@myconan.net>
parents: 366
diff changeset
1 [![Build Status](https://drone.io/bitbucket.org/nanaya1/zeropaste/status.png)](https://drone.io/bitbucket.org/nanaya1/zeropaste/latest)
276
42e70577c962 Code climate yay.
edogawaconan <me@myconan.net>
parents: 256
diff changeset
2
36
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 Zeropaste
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 =========
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
5
203
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
6 A pastebin with some features: create and destroy (with key) pastes.
62
de8da13eb7a6 Added link to running website in readme.
Edho Arief <edho@myconan.net>
parents: 36
diff changeset
7 The one running on [0paste.com](http://0paste.com).
36
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9 Requirements:
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10
323
a0166874e31e Remove jruby and rubinius version.
edogawaconan <me@myconan.net>
parents: 322
diff changeset
11 * Ruby 1.9 or up (JRuby and Rubinius should also work)
256
0b5f83d99c54 Update README to reflect database change.
edogawaconan <me@myconan.net>
parents: 228
diff changeset
12 * PostgreSQL
0b5f83d99c54 Update README to reflect database change.
edogawaconan <me@myconan.net>
parents: 228
diff changeset
13 (nothing PostgreSQL specific - can be easily changed if you know what you're doing.
0b5f83d99c54 Update README to reflect database change.
edogawaconan <me@myconan.net>
parents: 228
diff changeset
14 May or may not work with MySQL)
36
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
15 * Ruby Bundler
63
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
16
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
17 Optional:
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
18
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
19 * Newrelic account
72
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
20
203
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
21 Installation
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
22 ------------
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
23
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
24 Left as an exercise.
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
25
72
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
26 Misc
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
27 ----
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
28
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
29 Pasting from CLI:
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
30
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
31 ...some commands... | curl 'http://0paste.com/pastes.txt' -F 'paste[paste]=<-'
89
de4ce9ce1cc1 Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents: 72
diff changeset
32
de4ce9ce1cc1 Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents: 72
diff changeset
33 Or with gzip to save bandwidth:
de4ce9ce1cc1 Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents: 72
diff changeset
34
227
c2a76a901e61 No need to base64.
Edho Arief <edho@myconan.net>
parents: 203
diff changeset
35 ...some commands... | gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-'
102
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
36
228
4a79bc78e90e Hint for private paste curl
Edho Arief <edho@myconan.net>
parents: 227
diff changeset
37 Privately:
4a79bc78e90e Hint for private paste curl
Edho Arief <edho@myconan.net>
parents: 227
diff changeset
38
4a79bc78e90e Hint for private paste curl
Edho Arief <edho@myconan.net>
parents: 227
diff changeset
39 ...some commands... | gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-'
4a79bc78e90e Hint for private paste curl
Edho Arief <edho@myconan.net>
parents: 227
diff changeset
40
102
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
41 Design
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
42 ------
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
43
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
44 Current design is a bit crap. Suggestions and actual designs are welcome.