Geoffrey Hing

Chicago, IL

geoff.terrorware.com

Age: 32

May
9
awarded Tumbleweed
May
2
asked How do I handle dependencies between scenarios in Lettuce?
Apr
23
comment Turn off caching on Firefox
@CoffeeAddict, you type "about:config" into the address bar. From there you can search for the "network.http.use-cache" setting and change its value to false
Apr
15
awarded Revival
Mar
9
awarded Scholar
Mar
9
comment How do I escape closing '/' in HTML tags in JSON with Python?
@LieRyan, unfortunately, it looks like the version of simplejson that comes with Django (at least 1.4) doesn't included the JSONEncoderForHTML encoder.
Mar
9
accepted How do I escape closing '/' in HTML tags in JSON with Python?
Mar
8
comment How do I escape closing '/' in HTML tags in JSON with Python?
But this only works for XHTML, right? With <!doctype html>, CDATA doesn't seem to work. That's why I preferred the \/ escaping in the JSON. The question was more about how to do the string replacement for the escaping than how to escape the text itself.
Mar
8
awarded Student
Mar
8
asked How do I escape closing '/' in HTML tags in JSON with Python?
Feb
14
revised NodeJS and RED 5 media server via RTMP
Fixed link to node-mtrude repo on GitHub. It looks like it got overwritten by something spammy.
Feb
7
revised Catching TemplateDoesNotExist in Django
Did some testing, so removed the message about being untested
Feb
7
comment Catching TemplateDoesNotExist in Django
Also note that this quick pass doesn't provide the with or only arguments of the default include template tag. You could modify the include_fallback to do this without too much trouble by using the include implementation as a reference, but the additional functionality didn't seem to be required in the original question.
Feb
7
comment Catching TemplateDoesNotExist in Django
@Marc-OlivierTiteux I got around to doing some quick testing, at least of the fallback and inclusion behavior and that context variables in the parent template were available to the included template and it worked for me. Let me know how this works for you.
Feb
6
awarded Supporter
Feb
6
awarded Informed
Feb
6
answered Catching TemplateDoesNotExist in Django
Feb
6
answered How to bind data on a Handlebars.js template for automatic value update?
Feb
6
revised Handlebars render templates based on value
Example of template suggestion in calling code
Feb
6
awarded Editor
1 2