Archive

Archive for the ‘None’ Category

Downloading website to Hard Disc

September 2, 2010 4 comments

Downloading websites its easy on linux, all what we need is execute a command:

wget -r -l1 -k -p <address>

Arguments:

-r Recursive download (download all files and folders too)
-l1
Download depth for recursive download. (-l0 for infinite. Its -l zero not letter)
-k
Convert Links to local links. Able to browse website locally without manual converting links
-p
Download images too
<address> Address to download e.g. http://mypage.com

In example if we need a WxPython documentation locally we can download it by:

wget -r -l0 -k -p http://docs.wxwidgets.org/stable/

Warning: All files will be downloaded (e.g. zip rar and others)

Categories: None Tags: ,

(G)vim editor

September 1, 2010 Leave a comment

Vim is a great editor for many platform (linux/windows/mac), can highlight many of programming languages.
Vim have a plugin system. Vim isn’t a ‘normal’ editor, vim support many modes of editing.
You need to learn Vim before use, this can be irritate. Who use first time a vim, never change it to other editor.

Screenshot

If you want try it and you use Ubuntu/Debian as your OS, simple execute in console:

sudo apt-get install vim-gtk

otherwise visit HomePage and download file for you system.

Categories: None Tags: , , ,