Search and replace text in multiple files. 1

I had a bunch of html files where a particular style sheet inclusion had to be removed from about 500 odd html files. Knew this could be done through an sed script , but found a better one using perl from here. export OLD_TEXT='<link rel=”stylesheet” type=”text/css” href=”style.css”>’ export NEW_TEXT=’some new text’ and use it in ...

Enable sound for 3gp videos in ubuntu using mplayer 4

To play 3gp videos with audio using mplayer in Ubuntu Jaunty, add the following line to your /etc/apt/sources.list file sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list You need the GPG key for medibuntu packages. Get it the following way. sudo apt-get update sudo apt-get install medibuntu-keyring sudo apt-get update now install the following packages w32codecs mplayer mencoder amrnb ...

Unable to connect Yahoo messenger in Kopete? 4

[UPDATE] As of now the latest update on jaunty for the kopete package, the problem is fixed in the version 4:4.2.2-0ubuntu2. It seems Yahoo! is changing their protocols for client connection. Heard somewhere this is done to disallow 3rd party clients like pidgin and trillian access yahoo’s messenger service. On my Ubuntu Jaunty, this has ...

Flex builder on Linux kept on Hold?

This post has reported that the flex builder work on linux has been put on hold.  Noted Adobe techie has said “there is not enough requisition for the product to continue its development” Well, that’s not a great news to hear.. considering the open sourced SDK of adobe flex,  good amount of interest was generated ...

Juploadr: Flickr upload tool for Linux and Mac!

Though i had found this tool long time back, it came about pretty handy while using it recently. Get it from jUploadr Just untar the package and run jupload from the installation folder. This launches a simple UI which allows you to drag and drop photos to it. Just add a flickr account and authorize ...

Remote Login to Linux from Windows (Non-VNC) 6

Remote Login to Linux from Windows (Non-VNC)
We can actually login to a *nix based system running X server remotely from Windows XP/Vista based machines. Although there are other ways to achieve remote login using Putty for a SSH login and file transfer over SSH using WinSCP. This particular method allows you to access the entire desktop as a independent session unlike ...

Download videos from youtube.com 3

Update: On Ubuntu a better approach to download youtube videos from command line is using clive. It has options to download the best available format for the video using the -f option. Also a to download videos directly from the youtube.com homepage a firefox extension provides a “Save As” option just below the playing video. ...

Assorted Linux/Ubuntu Gotchas!! 3

To customise Vi Editor copy /usr/share/vim/vimrc to ~/.vimrc :syntax on for color highlighting :set incsearch for incremental search in vi editor to clear and redraw the screen ^L To get network info netstat -lneap | grep tcp 5900 for vnc 21 for ftp To mount Windows partitions (NTFS) on boot-up, and allow users read and ...