get all the urls in html file (local or on server).

To use this, you will need the lynx tool, so install that first.

sudo yum install lynx

Now, to get list of all the URLs in local html file or some URL, just execute this:

lynx -dump -listonly

 

Enhanced by Zemanta

quick notepad in firefox.

If you quickly need to note something and you do not want to leave your browser then just add a bookmark to :

data:text/html, <html contenteditable>

and whenever you need to get the notepad, just open this bookmark. Sorry, I do not remember, where I got this from, but this is something that I did not discover but since I do not remember where I got this from, I am not able to credit the authour.

 

Enhanced by Zemanta

viewvc – serve current directory in web interface.

Here is the description of viewvc:

ViewVC is a browser interface for CVS and Subversion version control
repositories. It generates templatized HTML to present navigable directory,
revision, and change log listings. It can display specific versions of files
as well as diffs between those versions. Basically, ViewVC provides the bulk
of the report-like functionality you expect out of your version control tool,
but much more prettily than the average textual command-line program output.

and to install, just execute:

sudo yum install viewvc

And when you want to serve the current directory in the web browser, you just need to execute the following command in that directory:

/usr/lib/python2.7/site-packages/viewvc/bin/standalone.py -r $PWD

 

Enhanced by Zemanta