Python
Nevow HTML Table rendering with xhtml template and stan
Submitted by LordVan on Wed, 03/04/2009 - 10:33.Very short example of a Page with xml template and a table which is used to render some data (with stan).
Thanks to Brend for sharing this with me (he also said that there is probably some way to do it without stan, but I quite like this as it is easy to use):
- LordVan's blog
- Login or register to post comments
- Read more
Nevow DropDownListWithDefault class (Element)
Submitted by LordVan on Wed, 03/04/2009 - 10:30.I wrote a page with quite a few dropdown lists .. since it gets tedious to just copy and paste I wrote myself a DropDownList class which takes a name and default:
- LordVan's blog
- Login or register to post comments
- Read more
Nevow basic container Page + Page/Element with Data
Submitted by LordVan on Wed, 03/04/2009 - 10:23.Here some small code - snippets where some form of data gets passed to a page / element. This could of course be changed to get more data or not a dict/axiom db but I prefer it this way (Pretty much every axiom/nevow app will need something like this afaik):
- LordVan's blog
- Login or register to post comments
- Read more
Nevow examples and explainations
Just a page to put some examples / notes that help me learn to use nevow (again) :)
I'm not going to explain how to add a resource/page to a twisted.web server here for that please look on other howtos and stuff .. or maybe I'll add it at a later point.
MultiRenamer
Submitted by LordVan on Sun, 05/13/2007 - 22:01.MultiRenamer is a tool i wrote as i needed a reliable way to rename lots of files according to a pattern (regex 'only' at the moment
).
It is written in python and uses Jason Orendorff's path.py. Currently the only thing working is the ConsoleMultiRenamer. I'm planning on adding a gui as well as soon as I get time but the console version works quite well - apart from not really existent handling of errors in regex and/or replacement patterns.
FWAT - FireWall Administration Tool
Submitted by LordVan on Fri, 04/20/2007 - 09:37.A (simple) firewall administration tool which generates shell scripts as output to be used on servers (or desktop machines too of course).
This was a project which I worked on together with a Friend of mine in school and unfortunately hasn't been updated since then, though I think most things will still work, but new stuff will be missing.
