SNF: TNG
So, Chris, you had mentioned throwing everything out and starting from scratch… What do you have in mind? Let us discuss.
hypertext transmission protocol, version 1.1
hypertext markup language
encoding-agnostic charcter representations
cascading stylesheets
the really simple syndication standard, version 2.0
superior to RSS in just about every way
the Python ultra-liberal feed parser
MySQL relational database reference
PHP's handy online manual
the PEAR::DB library online manual
the Smarty PHP template engine online manual
essential Javascript references
you will need this to do any serious client-side scripting
Mozilla's DOM reference guide
a general-purpose Javascript library with a reasonable footprint
checks validity of HTML and XHTML web pages
checks the validity of CSS
checks validity of RSS and Atom feeds
generates color ranges with CSS-friendly hex values
generates pleasing color combinations
generates XHTML markup for code samples
converts punctuation to typographically pleasing "smart" punctuation
testing doohickey for the Markdown text formatting language
useful for testing and debugging regular expressions
experiment with regular expressions in your choice of Python or PHP
this one uses Javascript
an excellent way to experiment with Javascript
So, Chris, you had mentioned throwing everything out and starting from scratch… What do you have in mind? Let us discuss.
In PHP 5.0.4 and _only_ PHP 5.0.4, readfile() has a bug that causes it to halt output at about 1.9 MB. This means that only the tiniest of files can be downloaded successfully from Shoplifters 2.
The following query is intended to show the number of revisions to the wiki over the past 14 days: SELECT DATE_FORMAT(date, ‘%Y-%m-%d’) AS dom, COUNT(id) AS revisions FROM version WHERE DATE_SUB(CURDATE(), INTERVAL 14 DAY) <= date GROUP by dom; Because a few days during the last two weeks had no activity at all, the…
I redesigned the wiki yesterday to more closely resemble the main SNF Labs site, and also added a sitewide recent comments page, plus a “what links here” feature for every article. The “what links here” feature provides a good chance to discuss when AJAX might be used and one way you can do it….
The purpose of the link-o-matic is to prevent friends from cluttering up my mailbox with links. bugs when a link is updated or receives comment, the UI will highlight the link the next time a user visits the index page. however, in some cases, it continues to highlight the link on subsequent visits, …
Summary: bug with comments feed, different bug with comments page
The purpose of the link-o-matic is to prevent friends from cluttering up my mailbox with links. bugs when a link is updated or receives comment, the UI will highlight the link the next time a user visits the index page. however, in some cases, it continues to highlight the link on subsequent visits, …
Summary: comments page shows comments attached to hidden links
mod_rewrite is an Apache module that rewrites URLs on the fly. What does that mean and why would you want to do it? Say, for example, that your PHP application for pog collectors expects URLs of the form /pogs/script.php?pogid=34234. You could use mod_rewrite to hide that ugly URL -- with the right …
Summary: mod_rewrite at SNF