Tuesday 10 March 2009

Show delicious saves and tags on blog


This is a useful feature from delicious where you can show how many people have saved your page as a bookmark on delicious and the tags people have used.

You can probably see this at the bottom of this page.

Just go to http://delicious.com/help/tagometer and it has a snippet of javascript to copy and paste into your page.

To add a snippet of html/javascript to blogger have a look at the help site.

Wednesday 4 March 2009

Adding ClearCase commands to Visual Studio context menu

If you are using Visual Studio and clearcase this is really useful. This puts clearcase functions like opening the version tree into the menu when you right click on a file in solution explorer.

1. The following link shows you how to add new menu items to the context menu when you select file in the solution explorer:

http://www.sharpregion.com/blog/?p=105&cpage=1

2 . Just add the following bit of code to the module ContextCommads or download the full file from here:




3. Now Repeat steps 7 to 9 from the afore mentioned link Extending the Visual-Studio Context-Menu for the following three subs :

VersionTree - this opens up the clearcase version tree for the selected file
HijackFileCommand - hjacks the selected file (makes it writeable)
ClearCaseAnnotateCommand - calls the clearcase annotate command to show who and when each change was made on the selected file

Thats it. Now right click on a file and you will have these options available