Archive for July, 2007

Mirror a complete website for local browsing with wget

Use the following command to mirror a complete website so you can browse it locally.

wget --mirror -p --html-extension –-convert-links -P ./localsites http://www.x.com

This mirros the complete site into the localsites directory. It also makes sure all links are converted so everything works OK.

1 Comment »

TextMate OSX dubble click variables and selecting the complete variable with dollar sign

Frustrating... When you double click a variable $blah in your script most editors do not select the $ sign.
After testing dozens of editors i came to the conclusion i had to live with it.
For some stupid reason i suddenly see the option "Word characters".
Filling in _$ did the trick! Now TextMate selects variables the way it should.

picture-1.png

No Comments »