Wednesday, November 2, 2011

OARS girls

To get all the pictures of girls in a batch from OARS,
download the msharma or equivalent query page in html format. Name it code.html

Then run the code below

awk '/oa.cc.iitk.ac.in/' code.html |awk -F "img src=\"" '{print $2}'|awk -F "\"" '{print $1}'>picslist.dat
mkdir pics;cd pics
for i in `cat ../picslist.dat`;do wget $i >/dev/null 2>&1;done
rm -f ../picslist.dat

Tuesday, November 1, 2011

Unable to locate theme engine in module_path: “pixmap”

I got the following error in gnuplot

Gtk-WARNING **: Unable to locate theme engine in module_path: “pixmap”

To solve this install gtk2-engines-pixbuf

sudo apt-get install gtk2-engines-pixbuf