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> | |
<html> | |
<head> | |
<title>Take Picture</title> | |
</head> | |
<body> | |
<video autoplay></video> | |
<canvas></canvas> | |
<button>Click</button> | |
<select></select> |
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
@@ -1,1 +1,1 @@ title | |
+foobar | |
-foo | |
@@ -1,1 +1,0 @@ myNewField | |
+This is my new field | |
@@ -3,1 +3,1 @@ text | |
+The third text line has changed | |
-The old third line | |
@@ -1,2 +1,1 @@ tags | |
+foo |
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> | |
<html> | |
<head> | |
<title>EventBase Demo</title> | |
</head> | |
<body> | |
<div class="foo"> | |
<a href="">I'm a link</a> | |
<button>I'm a button</button> | |
</div> |
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
.PHONY: test | |
test: | |
qunit test/index.html |
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
#!/usr/bin/env python | |
# | |
# Upload a (set of) named file(s) to TiddlySpace | |
# | |
# expects a ~/.tiddlyspace-cookie file | |
# | |
# For Example: | |
# | |
# $ tsupload bengillies tsupload -t cli -t upload -t tiddlyspace -t script -t python -B '{{{' -A '}}}' | |
# |
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
wikitext = (function(){ | |
/* Generated by PEG.js 0.6.1 (http://pegjs.majda.cz/). */ | |
var result = { | |
/* | |
* Parses the input with a generated parser. If the parsing is successfull, | |
* returns a value explicitly or implicitly specified by the grammar from | |
* which the parser was generated (see |PEG.buildParser|). If the parsing is | |
* unsuccessful, throws |PEG.parser.SyntaxError| describing the error. | |
*/ |
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
twinstance foo | |
cd foo | |
twanager server & | |
open http://0.0.0.0:8080/recipes/default/tiddlers/unicode∑ç≈µ˚¬ |
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
""" | |
This is a handler for running tiddlyweb | |
under apache using either mod_wsgi or mod_python. | |
mod_wsgi is a better choice. | |
################################################## | |
For mod_wsgi | |
Your apache must be configured to use mod_wsgi. |
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
modifier: None | |
created: | |
modified: 20100127161718 | |
type: None | |
tags: systemConfig | |
/*** | |
|Name|BookmarkletPlugin| | |
|Version|0.1| | |
|Author|Ben Gillies| |
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
""" | |
test to ensure that extra template variables in the recipe | |
are picked up in control._recipe_template | |
""" | |
from tiddlyweb.control import _recipe_template | |
def test_get_template_from_recipe_template(): | |
environ = { | |
'tiddlyweb.recipe_template': { | |
'foo': 'bar' |