comparison README.md @ 411:731bf8577da6

The world hates .tk :(
author nanaya <me@myconan.net>
date Mon, 07 Sep 2015 03:34:22 +0900
parents c302c80dfa0c
children 72557a5310d9
comparison
equal deleted inserted replaced
410:a2f8e5c80769 411:731bf8577da6
2 2
3 Zeropaste 3 Zeropaste
4 ========= 4 =========
5 5
6 A pastebin with some features: create and destroy (with key) pastes. 6 A pastebin with some features: create and destroy (with key) pastes.
7 The one running on [0paste.tk](https://0paste.tk). 7 The one running on [0paste.com](https://0paste.com).
8 8
9 Requirements: 9 Requirements:
10 10
11 * Ruby 1.9 or up (JRuby and Rubinius should also work) 11 * Ruby 1.9 or up (JRuby and Rubinius should also work)
12 * PostgreSQL 12 * PostgreSQL
26 Misc 26 Misc
27 ---- 27 ----
28 28
29 Pasting from CLI: 29 Pasting from CLI:
30 30
31 ...some commands... | curl 'https://0paste.tk/pastes.txt' -F 'paste[paste]=<-' 31 ...some commands... | curl 'https://0paste.com/pastes.txt' -F 'paste[paste]=<-'
32 32
33 Or with gzip to save bandwidth: 33 Or with gzip to save bandwidth:
34 34
35 ...some commands... | gzip | curl 'https://0paste.tk/pastes.txt' -F 'paste[paste_gzip]=<-' 35 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-'
36 36
37 Privately: 37 Privately:
38 38
39 ...some commands... | gzip | curl 'https://0paste.tk/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-' 39 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-'
40 40
41 Design 41 Design
42 ------ 42 ------
43 43
44 Current design is a bit crap. Suggestions and actual designs are welcome. 44 Current design is a bit crap. Suggestions and actual designs are welcome.