Gantt Calendar plugin for Trac

2013-03-28 Update : This plugin is hosted on GitHub for historical reasons, but no longer supported. Please use the sibuya-trac version. 2010/12/16 Update : I’ve been in touch with the original author of this plugin, and his latest version (0.12) supports English now. I recommend you use his svn repository rather than this out-dated version : > svn co http://svn.sourceforge.jp/svnroot/shibuya-trac/plugins/ganttcalendarplugin/trunk ganttcalendarplugin ...

November 26, 2008 · 2 min · Dave Perrett

Styling subversion listings with xslt

The default Apache mod_dav_svn listings are a little bland, but luckily you can use the SVNIndexXSLT Apache directive to spice things up a bit. I’ve been using a slightly modified version of the fantastic ReposStyle XSLT styles. Assuming you’ve already set up subversion , download the latest ReposStyle from here and drop it in the document root, and configure Apache something like this : ...

September 17, 2008 · 1 min · Dave Perrett

Rewrite Trac links to Redmine with nginx

I recently migrated from Trac (at http://recurser.com/trac/ ) to Redmine (at http://recurser.com/code/ ), and wanted the Trac links to redirect to the right place if possible. The nginx rules that follow achieve most of that. As always, there are a few catches: ...

September 11, 2008 · 2 min · Dave Perrett

Disable store links in iTunes 8

The preference to remove these links in iTunes 7 seems to have disappeared in version 8. You can turn them off, however, in the terminal : $ defaults write com.apple.iTunes show-store-arrow-links -bool FALSE Restart iTunes, and the links should be gone.

August 17, 2008 · 1 min · Dave Perrett

Filesystem path is neither a file nor a directory 160013 - SVN / Trac Error

Recently I had an SVN repository with a couple of corrupt revisions that I couldn’t figure out how to fix, which caused Trac to stop displaying revisions after the corruption. Trying trac-admin resync was no help, throwing this exception : ...

July 27, 2008 · 2 min · Dave Perrett

Installing Trac on CentOS

Before you do anything, go ahead and install subversion . Install the python easy install tool: ...

July 27, 2008 · 3 min · Dave Perrett

Simulate delayed-fade in jQuery

Unfortunately there is no .delay() function in jQuery. You can fake this, however, by using the .fadeTo() function: $("#my_element").fadeIn(1000).fadeTo(5000, 1).fadeOut(1000); ...

July 15, 2008 · 1 min · Dave Perrett

Browser detection with PHP

You can use PHP’s get_browser() function to find out information about user’s browsers, but it takes a little setting up. ...

June 23, 2008 · 2 min · Dave Perrett

Force MySQL Encoding to UTF8

Often MySQL will need to be forced to return results in UTF8 encoding. There are two ways to do this: ...

June 23, 2008 · 1 min · Dave Perrett

PHP5 on OS X Leopard

PHP5 is already installed on Leopard by default - all you have to do is turn it on. First, turn on web sharing - go to System Preferences->Sharing and make sure the ‘Web Sharing’ option is turned on. ...

June 23, 2008 · 1 min · Dave Perrett