Lodge It
New
All
About
?
New Paste
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Top Page - chat</title> </head> <body> <style type="text/css"> .poster { font-size: 80%; color: #999999; font-style: italic; } </style> <div id="status" style="float: right;"></div> <div> {% if request.user.is_anonymous() %} <a href="{{ create_login_url() }}">login</a> {% else %} Hello {{ request.user }}! <a href="{{ create_logout_url() }}">logout</a> {% endif %} </div> <div id="comment_form"> {{ form()|safe }} </div> <div id="recent_comments"> {% for comment in comments %} <div>{{ comment.content }}<span class="poster"> by {{ comment.get_owner() }}</span></div> {% endfor %} </div> <script type="text/javascript" src="{{ media_url }}/js/update_check_socket.js"> </script> <script type="text/javascript"> var cws = null; function updateComments() { var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function() { if (xhr.readyState==4) { var data = JSON.parse(xhr.responseText); document.getElementById('recent_comments').innerHTML=''; for (var i = 0; i < data.length; i++) { var comment_div = document.createElement('div'); comment_div.innerHTML = data[i].content+'<span class="poster"> by '+data[i].owner+'</span>'; document.getElementById('recent_comments').appendChild(comment_div); } } }; xhr.open("GET", "json", true); xhr.send(null); } window.addEventListener('load', function(e){ cws = new UpdateCheckSocket("mars.shehas.net", 10080, "/checkupdates", document.getElementById('status'), updateComments); function sendNOOP() { cws.send("NOOP"); setTimeout(sendNOOP, 60000); } setTimeout(sendNOOP, 60000); }, false); window.addEventListener('unload', function(e){ cws.ws.close(); }, false); document.forms[0].addEventListener('submit', function(e){ cws.ws.close(); return true; }, false); </script> </body> </html>
Apache Config (.htaccess)
Bash
Batch (.bat)
Boo
C
C#
C++
Clojure
Creole Wiki
CSS
CSV
D
Debian control-files
Django / Jinja Templates
Dylan
Erlang
eRuby / rhtml
GAS
GCC Messages
Genshi Templates
Gettext catalogs
GL Shader language
Haskell
HTML
INI File
Interactive Ruby
IO
IRC Logs
Java
javac Messages
JavaScript
JSP
Lighttpd
Literate Haskell
LLVM
Lua
Mako Templates
Matlab
Matlab Session
MiniD
Multi-File
Myghty Templates
MySQL
Nasm
Nginx
Object-Pascal
OCaml
Perl
PHP
PHP (inline)
Povray
Python
Python Console Sessions
Python Tracebacks
reStructuredText
Ruby
Scala
Scheme
Smalltalk
Smarty
sources.list
SQL
SquidConf
TeX / LaTeX
Text
Unified Diff
Vim
XML
XSLT
YAML
Paste private
Tab-key inserts tabstops
You have selected the multi-file highlighter. This highlighter allows you to paste multiple different files that belong together. For more information have a look at
the advanced features help page
.