annotate README.md @ 227:c2a76a901e61

No need to base64.
author Edho Arief <edho@myconan.net>
date Mon, 13 May 2013 13:20:01 +0900
parents de168fde2df2
children 4a79bc78e90e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 Zeropaste
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 =========
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3
203
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
4 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
5 The one running on [0paste.com](http://0paste.com).
36
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 Requirements:
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8
203
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
9 * Ruby 1.9 or up (JRuby 1.7 and Rubinius 2.0 should also work)
36
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10 * MySQL
63
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
11 (nothing MySQL specific - can be easily changed if you know what you're doing)
36
bf0d09d7cd7b Actual readme.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12 * Ruby Bundler
63
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
13
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
14 Optional:
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
15
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
16 * Newrelic account
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
17
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
18 Suggested:
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
19
599a9320b6a3 Spiced up the readme a bit.
Edho Arief <edho@myconan.net>
parents: 62
diff changeset
20 * nginx
72
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
21
203
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
22 Installation
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
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
25 Left as an exercise.
de168fde2df2 Updated README.
Edho Arief <edho@myconan.net>
parents: 102
diff changeset
26
72
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
27 Misc
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
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
30 Pasting from CLI:
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
31
f43b4d5400ac Added documentation how to post from CLI.
Edho Arief <edho@myconan.net>
parents: 63
diff changeset
32 ...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
33
de4ce9ce1cc1 Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents: 72
diff changeset
34 Or with gzip to save bandwidth:
de4ce9ce1cc1 Added documentation on posting with gzip.
Edho Arief <edho@myconan.net>
parents: 72
diff changeset
35
227
c2a76a901e61 No need to base64.
Edho Arief <edho@myconan.net>
parents: 203
diff changeset
36 ...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
37
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
38 Design
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
39 ------
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
40
7a514c733e6c A note about current design.
Edho Arief <edho@myconan.net>
parents: 89
diff changeset
41 Current design is a bit crap. Suggestions and actual designs are welcome.