YUI DataTable – Using a dateCellEditor with an asyncSubmitter

If you are wondering what a dateCellEditor and asyncSubmitter are go check out http://developer.yahoo.com/yui/examples/datatable/dt_cellediting.html.  See the last_login column?  Click on that, you will get a cool calendar that pops up for you to change the date.  Pretty handy. That Inline Cell Editing page touches on how to implement that, but it doesn’t cover the actual [...]

Protecting Apache Served Directories

Surprised I haven’t written this up before now. It is very simple to do.

This assumes you are using apache on a unix based system. This should work on any OS running apache though.

In the directory you want to restrict create a file named .htaccess that contains the following:

AuthType Basic
AuthName "RESTRICTED ACCESS"
AuthUserFile /home3/speedtow/.htpasswd
Require valid-user

Note: [...]

svn: Get Changes Since Revision x

Example, getting all changes since r260, followed by all changes except deleted files.

svn log -v -r 260:HEAD | grep ‘^[ ]\{3\}’
svn log -v -r 260:HEAD | grep ‘^[ ]\{3\}’ | grep -v ‘^ D’ | cut -f3- -d/ | perl -ne ‘if(/(.*)\/.*$/){print $1."\n";}’ | sort | uniq