This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>jQuery simpleLogin plugin</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script> | |
<script src="scripts/main.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
/*<![CDATA[*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Testcase</title> | |
<link rel="stylesheet" type="text/css" href="styles/main.css"> | |
<style type="text/css"> | |
* { | |
margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>CSS Data Structures (proof of concept)</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
//------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Cork - virtual pinboard</title> | |
<link rel="stylesheet" type="text/css" href="styles/main.css"> | |
<link rel="stylesheet" type="text/css" href="styles/jquery.ui.css"> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
<<mURL "http://google.com" "http://tiddlywiki.com" "http://tiddlywiki.org">> | |
***/ | |
//{{{ | |
(function($) { | |
config.macros.mURL = { | |
handler: function(place, macroName, params, wikifier, paramString, tiddler) { | |
var container = $('<div class="mURL" />').appendTo(place); | |
$.each(params, function(i, item) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import foo | |
class Bar(object): | |
def __init__(self): | |
print "in bar.Bar.init" | |
def run(self, msg): | |
print "in bar.Bar.exec", msg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nevow & Stan tutorial (EuroPython 2009) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: py/test/plugin/pytest_terminal.py | |
=================================================================== | |
--- py/test/plugin/pytest_terminal.py (revision 66152) | |
+++ py/test/plugin/pytest_terminal.py (working copy) | |
@@ -284,6 +284,11 @@ | |
except AttributeError: | |
pass | |
reportinfo = item.config.hook.pytest_report_iteminfo(item=item) | |
+ # add docstring to message | |
+ docstring = item.obj.__doc__ # TODO: shorten |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cf. http://tiddlyweb.peermore.com/wiki/recipes/docs/tiddlers/Serializing%20and%20Deserializing | |
from tiddlyweb.model.tiddler import Tiddler | |
from tiddlyweb.serializer import Serializer | |
def internalize(serialization, title, format): | |
serializer = Serializer(format) | |
serializer.object = Tiddler(title) | |
return serializer.from_string(serialization) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from jinja2 import Environment, FileSystemLoader | |
from tiddlywebplugins import replace_handler | |
def init(config): | |
replace_handler(config["selector"], "/", dict(GET=homepage)) | |
def homepage(environ, start_response): |