-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
276 lines (265 loc) · 13.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!doctype html>
<title>qbin$$if_fork$$ - Fork $$id$$$$/if_fork$$</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name=description content="A minimalist pastebin service. Paste your code, or write some! Includes a nice and easy Netcat and POST API, and can render Markdown.">$$if_fork$$
<meta name="robots" content="noindex">$$/if_fork$$
<link rel="canonical" href="$$root$$/">
<link rel="shortcut icon" type="image/x-icon" href="$$path$$/favicon.ico">
<link rel="shortcut icon" type="image/svg+xml" href="$$path$$/assets/logo.svg">
<link rel="stylesheet" href="$$path$$/style.css">
<link rel="stylesheet" href="$$path$$/style-input.css">
<form id="F" class="always-show-logo" action="$$path$$/" method="POST" style="opacity: 0"><!-- Hide until CSS is loaded -->
<aside>
<a href="/"><img src="$$path$$/assets/logo.svg" alt="qbin.io"></a>
<h4>qbin</h4>
<div class="buttons">
<label data-shortcut="Ctrl+Y" style="display: none"><input type="checkbox" id="C" name="C" value="encrypted"> Encrypt (BETA)</label>
<div style="opacity: 0; pointer-events: none"><a>Configure Link</a></div>
</div>
<div class="buttons" style="margin-left: 5px">
<div data-shortcut="Ctrl+E" title="Expiration"><img src="$$path$$/assets/icons/calendar-alt.svg" alt="Expiration:"> <select id="E" name="E">
<option value="30m">30 mins</option>
<option value="24h">24 hours</option>
<option value="14d" selected>14 days</option>
<option value="0">never</option>
<option value="volatile">volatile (1 view)</option>
</select></div>
<div data-shortcut="Ctrl+S" title="Syntax Highlighting"><img src="$$path$$/assets/icons/code.svg" alt="Syntax Highlighting:"> <select id="S" name="S"$$if_fork$$ value="$$syntax$$"$$/if_fork$$>
<optgroup label="General">
<option value="generic">Generic Syntax</option>
<option value="none">No Highlighting</option>
<option value="markdown!">Markdown Render</option>
</optgroup>
<optgroup label="Programming" id="syntax-programming">
<option value="cpp">C/C++</option>
<option value="csharp">C#</option>
<option value="go">Go</option>
<option value="java">Java</option>
<option value="lua">Lua</option>
<option value="php">PHP</option>
<option value="sql">SQL</option>
</optgroup>
<optgroup label="Web" id="syntax-web">
<option value="markup">HTML/XML/SVG/...</option>
<option value="javascript">JavaScript</option>
<option value="css">CSS</option>
</optgroup>
<optgroup label="Scripting" id="syntax-scripting">
<option value="batch">Batch</option>
<option value="powershell">PowerShell</option>
<option value="bash">Shell Script/Bash</option>
</optgroup>
<optgroup label="Configuration" id="syntax-configuration">
<option value="apacheconf">Apache Config</option>
<option value="nginx">nginx Config</option>
<option value="docker">Dockerfile</option>
<option value="makefile">Makefile</option>
<option value="yaml">YAML</option>
</optgroup>
<optgroup label="All Languages">
<option>abap</option>
<option>actionscript</option>
<option>ada</option>
<option>apacheconf</option>
<option>apl</option>
<option>applescript</option>
<option>asciidoc</option>
<option>aspnet</option>
<option>autoit</option>
<option>autohotkey</option>
<option>bash</option>
<option>basic</option>
<option>batch</option>
<option>bison</option>
<option>brainfuck</option>
<option>bro</option>
<option>c</option>
<option>coffeescript</option>
<option>cpp</option>
<option>crystal</option>
<option>csharp</option>
<option>css</option>
<option>d</option>
<option>dart</option>
<option>diff</option>
<option>docker</option>
<option>eiffel</option>
<option>elixir</option>
<option>erlang</option>
<option>fortran</option>
<option>fsharp</option>
<option>gherkin</option>
<option>git</option>
<option>glsl</option>
<option>go</option>
<option>graphql</option>
<option>groovy</option>
<option>haml</option>
<option>handlebars</option>
<option>haskell</option>
<option>haxe</option>
<option value="markup">html</option>
<option>http</option>
<option>icon</option>
<option>inform7</option>
<option>ini</option>
<option>j</option>
<option>jade</option>
<option>java</option>
<option>javascript</option>
<option>jolie</option>
<option>json</option>
<option>julia</option>
<option>keyman</option>
<option>kotlin</option>
<option>latex</option>
<option>less</option>
<option>livescript</option>
<option>lolcode</option>
<option>lua</option>
<option>makefile</option>
<option>markdown</option>
<option>matlab</option>
<option>mel</option>
<option>mizar</option>
<option>monkey</option>
<option>nasm</option>
<option>nginx</option>
<option>nim</option>
<option>nix</option>
<option>nsis</option>
<option>objectivec</option>
<option>ocaml</option>
<option>oz</option>
<option>parigp</option>
<option>parser</option>
<option>pascal</option>
<option>perl</option>
<option>php</option>
<option>powershell</option>
<option>processing</option>
<option>prolog</option>
<option>properties</option>
<option>protobuf</option>
<option>puppet</option>
<option>pure</option>
<option>python</option>
<option>q</option>
<option>qore</option>
<option>r</option>
<option>jsx</option>
<option>reason</option>
<option>rest</option>
<option>rip</option>
<option>roboconf</option>
<option>ruby</option>
<option>rust</option>
<option>sas</option>
<option>sass</option>
<option>scss</option>
<option>scala</option>
<option>scheme</option>
<option value="bash">shell</option>
<option>smalltalk</option>
<option>smarty</option>
<option>sql</option>
<option>stylus</option>
<option value="markup">svg</option>
<option>swift</option>
<option>tcl</option>
<option>textile</option>
<option>twig</option>
<option>typescript</option>
<option>vbnet</option>
<option>verilog</option>
<option>vhdl</option>
<option>vim</option>
<option>wiki</option>
<option value="markup">xml</option>
<option>xojo</option>
<option>yaml</option>
</optgroup>
</select></div>$$if_fork$$
<script>document.getElementById("S").value = document.getElementById("S").getAttribute("value")</script>$$/if_fork$$
</div>
<input type="hidden" id="R" name="R" value="1">
<div class="submit" data-shortcut="Ctrl+Enter">
<input type="submit" value="Submit" id="submit">
</div>
</aside>
<div id="content" data-shortcut="Ctrl+Space">
<textarea id="Q" name="Q" required spellcheck="false" autocapitalize="none" autocomplete="off" autocorrect="off" maxlength="1048576" class="CodeFlask__textarea" autofocus>$$if_fork$$$$content$$$$/if_fork$$</textarea>
<div class="placeholder"><div>
<strong>A minimalist pastebin service. Paste your code, or write some!</strong><br>
We also support & render Markdown!<br>
<br>
You may also:<br>
<ul>
<li>Hold <b>Ctrl+V</b> to submit clipboard contents immediately</li>
<li>Drop text or a file here to insert it</li>
<li>Hold <b>Ctrl</b> to see all available keyboard shortcuts</li>
<li>Submit command output from any shell with <a class="selectable select-all"><b> | nc qbin.io 90</b></a><br><small>(pro-tip: click that text, then click the scroll wheel in your terminal to paste)</small></li>
<li>Click a line number in an uploaded document to link directly to that line (Ctrl/Shift for multi-select also works)</li>
</ul><br>
By submitting any content to qbin.io, you accept our <a href="$$path$$/guidelines">guidelines and privacy policy</a> and confirm that your document complies with them.<br><br>
<strong>Using qbin often? You should consider <a href="https://liberapay.com/qbin/" target="_BLANK">donating on Liberapay</a>.</strong><br>
» <a href="http://qbin-io.viewdocs.io/qbin/api/" target="_BLANK">API documentation</a><br>
» <a href="https://github.com/qbin-io/qbin">Source on GitHub</a><br>
» <a href="https://github.com/qbin-io/qbin/issues/new">Report an issue</a><br>
<!--» <a href="$$path$$/guidelines#contact">Contact information</a><br>--><br>
</div></div>
</div>
</form>
<div id="encrypting">
<img src="/assets/icons/lock.svg">
<strong>Encrypting...</strong>
</div>
<div class="syntax-selection" style="opacity: 0"><!-- Hide until CSS is loaded -->
<strong class="headline">General & Search</strong>
<div class="syntax-grid">
<a tabindex="0" data-value="none">No Highlighting</a>
<a tabindex="0" data-value="markdown!">Rendered Markdown</a>
</div>
<input type="text" id="syntax-search" placeholder="Search all supported languages">
<div id="syntax-search-results" hidden>
<strong class="headline">Search Results</strong>
</div>
<strong class="headline">Popular Languages</strong>
<div class="syntax-grid">
<div id="syntax-left">
<strong>Programming</strong>
<div class="syntax-grid">
<syntax-options for="syntax-programming"></syntax-options>
<!-- <a tabindex="0" class="current" data-value="c++">C/C++</a>-->
</div>
<strong>Web</strong>
<syntax-options for="syntax-web"></syntax-options>
</div>
<div id="syntax-right">
<strong>Scripting</strong>
<syntax-options for="syntax-scripting"></syntax-options>
<strong>Configuration</strong>
<syntax-options for="syntax-configuration"></syntax-options>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/plugins/autolinker/prism-autolinker.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="$$path$$/lib/prism-css-line-numbers.js"></script>
<script src="$$path$$/lib/prism-generic.js"></script>
<script>Prism.languages.none={};</script>
<script src="$$path$$/lib/codeflask.js"></script><!-- @TODO: Diff. Something was wrong with the official version -->
<script>window.$ = document.getElementById.bind(document);</script><!-- jQuery for poor people :( -->
<script src="https://cdn.rawgit.com/keybase/triplesec/master/rel/triplesec-3.0.14-min.js"></script>
<script src="https://cdn.rawgit.com/mscdex/base91.js/master/lib/base91.js"></script>
<script src="$$path$$/script/tools.js"></script>
<script src="$$path$$/script/encrypt.js"></script>
<script src="$$path$$/script/syntax-highlight.js"></script>
<script src="$$path$$/script/syntax-selection.js"></script>
<script src="$$path$$/script/keyboard-shortcuts.js"></script>
<script src="$$path$$/script/drop-and-paste.js"></script>
<script src="$$path$$/script/select-text.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/themes/prism.min.css">
<link rel="stylesheet" href="$$path$$/lib/codeflask.min.css"><!-- @TODO: Diff. Something was wrong with the official version -->