Do we need another lightbox script? Probably not, but I needed a lightbox for my company's website and my own, and although there are plenty available, they all feel a bit over the top compared to what I wanted. Personally, I'm not a fan of the 'expand horizontally', 'expand vertically', 'fade in image' (yawn), 'fade in close button' type lightboxes - I want my image to appear in the middle of the page, at a reasonable size pretty much just after I've clicked on it.
I found this by Emanuele Feronato, and although the title is slightly misleading, it basically does exactly what I want with a tiny amount of code. It doesn't require any images, and even works in IE6! It's only really a starting point, so I took the basic idea, wrapped it in some jquery and this is my result:
All you need to do to get it working is to include the jquery library in your page like this:
then include my script, and add the class 'expandable' to any images you want to expand. For example,
Try clicking the screenshots on this page. It should be pretty obvious how the code works, so it should be really easy to adapt it to your needs.
<img src="/images/zaonce.png" class="expandable">
This OSX tool is a simple GUI for the CVS ANNOTATE command. It can be used as a droplet (drag a file on to it's dock icon) or files can be dropped into the main window. You'll need to be logged in to CVS for it to work. Once it has annotated a file, you can also find show the CVS LOG and CVS STATUS of the file by pressing the Info button at the bottom left. You can search the file by entering text in the box at the bottom right. The first instance of the text will be highlighted - press Next to find the next occurrence.
I wrote this as a quick way of annotating a file without needing to go into my CVS client. It can also cope with annotating working copies in branches, which CVS fails to do by default.
This is basically a GUI frontend for Mr. Spiv's Maclink command line application. It gives mac users the ability to drop files from the finder onto the GP32, and browse the contents of your SMC card using a tree view. It is currently based on version 0.7 of Mr. Spiv's maclink. It has been tested under OSX 10.3.2 and 10.3.3 and little else.
Note, because it uses Mr. Spiv's application you should also read the readme.txt which comes with that. Download it from here.
I accept no responsibility for any problems that may occur by using this application. You might want to backup your SMC card before using it, although the whole point of the GUI is to prevent you from doing something silly with the command line application. *Dangerous* operations like Delete and Format will ask you if you are sure before proceeding.
This is a tool for merging Safari bookmarks. Safari is a browser for OSX. It can import and export standard Netscape bookmark files. This means that this tool should also be able to merge bookmarks from other browsers that can use standard Netscape bookmark files.
The tool consists of two files, a perl script, which does the merging, and an applescript to make it convenient to use. To install it, download this zip file and after unzipping it, move the Merge script to your desktop (or somewhere else convenient) and put the bm.pl script in your /Library/Safari folder.
To use the tool, simply drag a bookmarks file onto the Merge icon. This should create a new file on your desktop called merged bookmarks.html. This will initially contain only the contents of the first file your drag onto Merge. The next time you drag a bookmarks file onto Merge its contents will be merged into merged bookmarks.html. You can then import merged bookmarks.html back into Safari.
Note: To access the import/export bookmarks functions in Safari, you need to enable the Debug menu. To do this, quit Safari, open a terminal window and enter:
When you restart Safari you should now have a debug menu containing (amongst other things), Import Bookmarks... and Export Bookmarks....
At the end of the day, I wrote this because I wanted to keep my bookmarks on my personal laptop up to date with my bookmarks on my work machine without the expense of a .mac account. Using this tool I can export my bookmarks from both browsers, merge the two together and reimport them.
The bm.pl script can be configured for a few tweaks in its behaviour. By default, the script doesn't attempt to do anything clever with bookmarks which exist in several different folders. The resulting merged bookmarks.html will simply contain an amalgamation of the merged files.
To enable the script to try to do something slightly more sensible with bookmarks which exists in several folders, set removeDuplicates to 1 at the top of the script. This will cause the script to only keep the bookmark with the latest visit/creation/modification date. You may want to experiment with this. If you use this option, you can also get the script to remove any folders which end up empty. Set removeEmptyFolders to 1 if you want to enable this behaviour.