mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Removed description.
This commit is contained in:
parent
fa6d0f7b2e
commit
dd83f739e9
1 changed files with 9 additions and 12 deletions
|
@ -5,17 +5,14 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>Description follows...</p>
|
||||
|
||||
|
||||
<h2>API</h2>
|
||||
|
||||
<pre>#!/usr/bin/env python
|
||||
|
||||
|
||||
import urllib
|
||||
import urllib2
|
||||
import sys
|
||||
|
||||
|
||||
def paste_code():
|
||||
request = urllib2.Request(
|
||||
'http://dpaste.de/api/',
|
||||
|
@ -23,7 +20,7 @@ def paste_code():
|
|||
)
|
||||
response = urllib2.urlopen(request)
|
||||
print response.read()[1:-1]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
paste_code()</pre>
|
||||
|
||||
|
@ -34,7 +31,7 @@ if __name__ == '__main__':
|
|||
|
||||
{% block sidebar %}
|
||||
<h2>Imprint</h2>
|
||||
|
||||
|
||||
<p>
|
||||
<strong>Address</strong>
|
||||
</p>
|
||||
|
@ -44,21 +41,21 @@ if __name__ == '__main__':
|
|||
DE-18581 Putbus<br/>
|
||||
Germany
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
<strong>Jabber/E-Mail:</strong>
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
<a href="mailto:martin@mahner.org">martin@mahner.org</a>
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
<strong>Phone:</strong>
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
+49 38301 890(770+8)<sup>1</sup><br/><br/>
|
||||
+49 38301 890(770+8)<sup>1</sup><br/><br/>
|
||||
<small style="font-size:0.9em;"><sup>1</sup> Yes, that's math!</small>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue