File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,18 @@ Installing Webpaste:
2
2
3
3
1 . Clone hacks repo: https://github.com/tomnomnom/hacks
4
4
2 . Go to webpaste directory, run go build, and you will get "webpaste" binary file.
5
- 3 . Before starting webpaste, sen environment variable: export WEBPASTE_TOKEN=iloveweb
5
+ 3 . Before starting webpaste, set environment variable: export WEBPASTE_TOKEN=iloveweb
6
6
4 . By default webpaste runs on port 8080,
7
7
8
+ ```
8
9
$ ./webpaste -h
9
10
Usage of ./webpaste:
10
11
-a string
11
12
address to listen on (default "0.0.0.0")
12
13
-p string
13
14
port to listen on (default "8080")
14
15
-u only print unique lines
15
-
16
+ ```
16
17
17
18
Installing Extension:
18
19
@@ -37,7 +38,7 @@ http://localhost:8080 or http://ip:port
37
38
Same token as set above example: iloveweb
38
39
39
40
For Snippets, cloned directory has Google and JS extraction snippets.
40
-
41
+ ```
41
42
cat hacks/webpaste/extension/snippets.js
42
43
[
43
44
{
@@ -52,7 +53,7 @@ cat hacks/webpaste/extension/snippets.js
52
53
"onsuccess": "document.location=document.querySelectorAll('a.next_page')[0].href;"
53
54
},
54
55
]
55
-
56
+ ```
56
57
Copy only the values inside " " in expension option, Save.
57
58
58
59
7 . open google, search something: example: site: yahoo .com url:?
You can’t perform that action at this time.
0 commit comments