Monthly Archives: July 2007

lynx: https how to

step1: Compile lynx with ssl support
cd lynx source folder
./configure –with-ssl
step2:  make ; make install
To avoid local ssl error prompts/complains,  Open lynx.cfg make following change:
step3: FORCE_SSL_PROMPT:yes
thats all!. you should be able to crawl https pages using lynx now.

mpgtx: MPEG splitting made easy

Considering ffmpeg for mpeg cutting/splitting… too complex i think for such a simple task.
mpgtx.sourceforge.net is the way to go if are looking for simple operations like cutting/joining mpeg files.
Tool Summary :
This simple command(from a ruby script I wrote) will cut the full length videos into count_chunks pieces and store them under directory_writable, where count_chunks [...]

RAILS_ROOT

RAILS_ROOT gives you relative path within the applications it works fine as far as you need the path within rails application.
How about getting absolute path to rails folder?
I found one way, and thats from the ENV hash.
You can use ENV['PWD'] to find absolute path to the rails folder.
Any other ways ??
*Update 4th Oct 2007*
Dir.pwd is [...]