Skip to content

Category Archives: Uncategorized

Stopping X on Ubuntu 11.10

sudo service lightdm stop

Share

Ubuntu: Making resolv.conf entries permanent

Edit following file: root@ubuntu:/etc/dhcp# vim /etc/dhcp/dhclient.conf Change/Add (uncomment) following line: prepend domain-name-servers 8.8.8.8; Note that you may need to change 8.8.8.8 to your own DNS server ip.

Share

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

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

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

Form tag & Extra Vertical Space Problem

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

Share

Multiple Gtalk instances

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

Share