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 following command to install:
#gem install -r gem_name –source http://gems.rubyforge.org
If this does not solves your problem(is your internet down?)
Borrow gem files from your friend and install them without -r option.
#gem install /path_to/gemname.gem
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.
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 and directory_writable are both variables
Open3.popen3(”/bin/mpgtx -#{count_chunks} #{_file_to_process} -f -b #{directory_variable}/#{game.file_path.gsub(’.mpg’,'’)} 2>> #{directory_variable}/split.log”)
Fix:
form style=”margin-top: 0px;margin-bottom: 0px;”
Mysql Getting Random Row: “order by rand()”
This is how you can run multiple instances of Google talk
c:\> googletalk.exe /nomutex
pretty straight huh !
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 day (24 hour increment from -1 ie yesterday)
find /etc -user root -amin -2 #all files in /etc that have been accessed within the last two minutes
* -atime: when the file was last accessed
* -ctime: when the file’s permissions were last changed
* -mtime: when the file’s data was last modified
* -amin: when (in minutes) the file was last accessed
* -cmin: when (in minutes) the file’s permissions were last changed
* -mmin: when (in minutes) the file’s data was last modified
* -nouser: shows output that’s not associated with an existing userid
* -nogroup: shows output not associated with an existing groupid
* -links n: file has n links
* -newer file: file was modified more recently than file.
* -perm 777: file has mode permissions. 777
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 that I found Blogging a simple and effective medium.
About Wordpress:
I heard about this tool from my friend Sanoop, and I found it really good. Quick setup,Clean interface, Simple But powerful.
to be continued….