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

iTerm Delete Key Config

I’ve often found that after SSHing with iTerm, the delete key mappings are occasionally (well regularly) problematic. This post from Alaska Geeks sorted the problem out straight away in my case : ...

October 24, 2008 · 1 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

svn: Can't find a temporary directory: Internal error

If you’re getting a ‘svn: Can’t find a temporary directory: Internal error’ error while using subversion, check the disk space on the server : $ df You’re more than likely out of space. [dave@dev2:~/]$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/vg0-rootvol 73608360 73605908 0 100% /

July 14, 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