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 | |
""" | |
feed_history - demonstration implementation of incremental feeds. | |
See: | |
http://www.mnot.net/drafts/draft-nottingham-atompub-feed-history-07.txt | |
This is a SAMPLE ONLY. In particular, error handling is not robust, entry | |
combination is basic, and using pickle for persistence may cause problems | |
(e.g., unnecessary fetches when the class is changed). |
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 | |
""" | |
xop_parser.py - A demonstration XOP Parser for SAX | |
Based upon: http://www.w3.org/2000/xp/Group/3/06/Attachments/XOP.html | |
THIS SOFTWARE IS EXPERIMENTAL - INTERFACES MAY CHANGE AT ANY TIME. | |
CAVEATS / TODO: | |
- requires python 2.3 AFAIK |
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 | |
""" | |
Test for browser redirection handling WRT URI fragments, quick and dirty. | |
Usage: | |
./redir_frag_test.py hostname port_number | |
""" | |
import nbhttp # http://github.com/mnot/nbhttp |
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
/* | |
invalidate_cache.js -- HTML Includes (version 0.8) | |
Copyright (c) 2005-2006 Mark Nottingham <[email protected]> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
/* | |
http_autocomplete.js | |
Copyright (c) 2006 Mark Nottingham <[email protected]> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
/* | |
template_form.js -- Templated Form Submission (version 0.1) | |
Copyright (c) 2006 Mark Nottingham <[email protected]> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
/* | |
json_form.js -- JSON Form Submission (version 0.5) | |
Copyright (c) 2006 Mark Nottingham <[email protected]> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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 | |
""" | |
Chatterbox - System monitoring through Social Networking. | |
Chatterbox uses Twitter, IM and eventually other "social" channels to | |
send you information about your systems, so that you can keep in touch | |
with how they're performing without lots of messages in your e-mail inbox | |
or on your pager. |
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
/** | |
* \file mod_loadshed.c | |
* \author Mark Nottingham, <[email protected]> | |
* | |
* mod_loadshed, when enabled, will refuse the request with a 503 if | |
* no additional Apache children are currently available. This should | |
* prevent requests from going to the listen queue. | |
*/ | |
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 | |
""" | |
test_http_conns.py - Tests for how HTTP persistent connections are handled, | |
including pipelining. | |
This script will set up a server which summarises how a browser connecting | |
to it behaves. For example, FireFox with pipelining turned on will give: | |
--->8--- |