Skip to content

Category Archives: Uncategorized

Public stings using Facebook

I had this thought a while ago while on my long drive to office. At many occasions, I have encountered people misbehaving on roads and I wished I could do something to fix their heads. Primarily, I was looking for something that could be a real time reporting mechanism for Traffic police but unfortunately there [...]

  • Share/Bookmark

Use CNG and keep environment clean! But how do I reach that filling station?

I wish there were more “CNG stations” around in Delhi. Long queues makes really hard to keep myself on “Drive on CNG” promise. But rising petrol prices are somewhat making me think harder on this “fuel” aspect in life. Petrol/Diesel are on rising trends as usual. With stricter emission norms in India, I am pretty [...]

  • Share/Bookmark

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

  • Share/Bookmark

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.

  • Share/Bookmark

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

  • Share/Bookmark

Form tag & Extra Vertical Space Problem

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

  • Share/Bookmark

Tips & Tricks

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

  • Share/Bookmark

Multiple Gtalk instances

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

  • Share/Bookmark

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

  • Share/Bookmark

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

  • Share/Bookmark