Skip to content

Commit b202025

Browse files
authored
Update README.md
Corrected some messy indentation
1 parent 453706c commit b202025

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

webpaste/README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ Installing Webpaste:
22

33
1. Clone hacks repo: https://github.com/tomnomnom/hacks
44
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
66
4. By default webpaste runs on port 8080,
77

8+
```
89
$ ./webpaste -h
910
Usage of ./webpaste:
1011
-a string
1112
address to listen on (default "0.0.0.0")
1213
-p string
1314
port to listen on (default "8080")
1415
-u only print unique lines
15-
16+
```
1617

1718
Installing Extension:
1819

@@ -37,7 +38,7 @@ http://localhost:8080 or http://ip:port
3738
Same token as set above example: iloveweb
3839

3940
For Snippets, cloned directory has Google and JS extraction snippets.
40-
41+
```
4142
cat hacks/webpaste/extension/snippets.js
4243
[
4344
{
@@ -52,7 +53,7 @@ cat hacks/webpaste/extension/snippets.js
5253
"onsuccess": "document.location=document.querySelectorAll('a.next_page')[0].href;"
5354
},
5455
]
55-
56+
```
5657
Copy only the values inside " " in expension option, Save.
5758

5859
7. open google, search something: example: site:yahoo.com url:?

0 commit comments

Comments
 (0)