Setting up Firefox 2 context menu for Mac

I reinstalled Firefox 2 on a MacMini with OS X 10.3, but could not remember how to get the single-button context menu setting restored. Thanks to Google, I found a posting that had the information:

  1. On the location (address) box, type about:config (this will bring up a list of all configurable settings)
  2. On the filter box, type click_hold – this will single out the ui.click_hold_context_menus setting, which has false under the value column
  3. Double click the ui.click_hold_context_menus line to turn false into true
  4. Close and restart Firefox, click holding will now bring up context menus
Posted in Firefox | Leave a comment

Modifying file upload settings for WordPress

In a recent post, I wanted to upload a Stuffit file with a .sitx extension, but had a problem using the upload features in WordPress (error was “file type does not meet security guidelines”). After some searching, I found this article describing how to fix this problem (modifying wp-includes/functions.php to add ‘sitx’ => ‘application/x-stuffit’). Once I updated the file, I was able to upload the Stuffit file successfully.

Posted in WordPress | Leave a comment

Test-Driven Development Using AppleScript

MacTech Magazine recently published my two-part article titled “Test-Driven Development Using AppleScript”. In the April 2008 issue, part 1 gave an overview of test-driven development techniques using the AppleScript language, then gave a short example of those techniques using the ASUnit testing framework. In the May 2008 issue, the ASUnit framework was used to develop a number guessing game using test-driven development techniques.

Back issues are available from MacTech magazine (issues 24.04 and 24.05). The following are the web links contained within the articles:

Part 1 (April 2008):

Part 2 (May 2008):

Finally, I am linking a file of the script listings from the two articles (Stuffit Expander required to expand the scripts).

ASUnit article example scripts

Posted in AppleScript | 1 Comment

Using the WordPress OPML Editor Tool

I have been testing the WordPress tool for the OPML Editor on a development WordPress weblog. Tonight, I decided to try it on my main weblog. Here goes….

It worked! I was able to successfully add another weblog to the tool setup.

Posted in OPML Editor | 1 Comment

Fixing the archives link in the Copyblogger theme

After I installed the Copyblogger theme, I noticed that the “Archives” link in the header of the page did not display the archives for my site. I reviewed this article which talks about adding links to the header navigation area, but it did not have any information on my problem. After some searching, I found a comment on the main Copyblogger site which had the details I needed:

  1. Create a page
  2. Enter whatever you want in the title, but do not enter any content
  3. Select “Archives” from the Page Template dropdown menu on the right
  4. Enter “archives” (without the quotes) in the Page Slug field, which is also on the right
  5. Save/publish your page

After following these steps, the archives link worked!

Posted in WordPress | 20 Comments

Welcome to Perl.com readers!

For those of you who are coming here from my article on Perl.com titled “Making Perl Reusable with Modules“, welcome! I have continued working with the concepts of Joseph Schillinger that I described in that article. I have created a short Perl script which allows the user to create a MIDI file from a Schillinger resultant. You will need to have the MIDI-Perl and Tk Perl modules installed on your system. The file containing the Perl script is attached to this post as a .txt file. See the file for instructions on how to run the script.

NoteDurationVersion1.0

Posted in Joseph Schillinger, Music, Perl | 1 Comment

About this weblog

Welcome to Andy Sylvester’s Web! This is a personal weblog which will cover a variety of topics I am interested in. See the Categories section on the sidebar to get a feel for my interests. Welcome aboard!

Posted in Main | Leave a comment