Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user


« Newer Snippets
Older Snippets »
5 total  XML / RSS feed 

Launchd item for starting MySQL

This will start MySQL with a low priority on reboot

<?xml version="1.0" encoding="UTF-8"?>
DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">

Adding "post to" links for, digg, and ma.gnolia in Textpattern

Here's how to add "post to" links for, digg, and ma.gnolia to individual articles in Textpattern

post to <a href="">del.icio.usa> 


post to <a href="">digga>


post to <a href="">ma.gnoliaa>

Clicking one of the those links will automatically post a permanent link for an article and, in the case of and ma.gnolia, the title to one of the above services.

Garlic Rosemary Mashed Potatoes

Here's another winner I busted out at Thanks Giving. I modified it slightly in that I used a potato ricer so as not to over mash and render them gluey (originally found on and tips specifically from here)

2 pounds potatoes 
4 cloves garlic 
1/4 cup freshly grated 
   Parmesan cheese 
1 tablespoon butter or margarine 
1 tablespoon chopped fresh rosemary 
1/2 cup Evaporated Lowfat Milk 
salt and ground black pepper to taste

1 PLACE potatoes and garlic in large saucepan. Cover 
   with water; bring to a boil. Cook over medium-high heat 
   for 15 to 20 minutes or until potatoes are tender; drain. 
2 RETURN potatoes and garlic to saucepan. Mash potatoes and
 garlic together with a potato ricer. Add cheese, butter and 
   rosemary; stir until smooth (but not too much). Gradually stir in evaporated milk. Season with salt and pepper.

Switching a working copy with subversion

If you find that the location to a subversion repository has changed, do this:

svn switch --relocate

Where the old url is

And the new one is

To see if it worked, do this:

svn info | grep URL

And you should see something like this:


(source: Switching a Working Copy)

Cranberry Chutney

I made this for last Thanks Giving (Canadian) and it was well received by all, even my mother who likes her festive dinners to be on the traditional side. (originally found on

1 cup water 
3/4 cup white sugar 
1 (12 ounce) package fresh cranberries 
1 cup apples - peeled, cored 
   and diced 
1/2 cup cider vinegar 
1/2 cup raisins 
1/2 teaspoon ground cinnamon 
1/4 teaspoon ground ginger 
1/4 teaspoon ground allspice 
1/8 teaspoon ground cloves

1 In a medium saucepan combine the water and sugar. Bring 
   mixture to a boil over medium heat. Add the cranberries, 
   apples, cider vinegar, raisins and spices. Bring to a boil, 
   then simmer gently for 10 minutes stirring often. 
2 Pour mixture into a mixing bowl. Place plastic wrap 
   directly on the surface of the sauce. Cool to room temperature 
   and serve or cover and refrigerate. Bring chutney to room 
   temperature before serving.
« Newer Snippets
Older Snippets »
5 total  XML / RSS feed