Category Archives: Uncategorized

ERROR: While executing gem … (Gem::GemNotFoundException)

You might be feeling annoyed with this problem. (I do)
Problem could be:
your local source cache
Example:   /usr/lib/ruby/gems/1.8/source_cache
; try removing this file (Your path might be different than above given; check your path first using #gem env)
If this does not solves your problem
check your env var REMOTE SOURCES (#gem env)
If it is not gems.rubyforge.org then use [...]

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 [...]

Form tag & Extra Vertical Space Problem

Fix:
form style=”margin-top: 0px;margin-bottom: 0px;”

Tips & Tricks

Mysql Getting Random Row: “order by rand()”

Multiple Gtalk instances

This is how you can run multiple instances of Google talk
c:\> googletalk.exe /nomutex
pretty straight huh !

Find : various possibilities

find . -name “*.ext”
find . -user mike #owned by mike
find . -type d   #All directories  -type f for all files
find . -size +1024M #More than 1 GB
find . -name *.jpg ! -name bb*  #All jpgs except those that start with bb
find /etc  -mtime -1 #All files in /etc that have been modified within the last [...]

Welcome

Hi all,
Welcome to my Place..
I will be using this place to store my Notes,articles,Tools which ofcourse are open for public share.
About me:
I am a software guy by profession, and have to deal with multitude of technologies/ tools during my work. Its very important to keep track of what you are doing, and for [...]