Posts

Adding RedHat DVD as Repository

…  a warning. Name can be anything it is for the user to identify it when its shown though the rpm interface. baseurl should point to the DVD mount point. For this we first identify the file repomd.xml. This file should be in the folder repodata. Thus …

“Send To” in Linux for Nautilus

…  one for my convenience. Nautilus supports user scripts inside it. This can be easily embedded into the manager by inserting it into the …

Tab Feature in Vim

…  2> …<file n>[/shell] By opening a file inside vi : This is done by going to command mode in vi and using the command …  The file name here is not essential. If not provided it opens a blank tab where you can open any file needed. You can switch …

Google Buzz Bug-Weird Comments

Google has come up with new feature in Gmail called Google Buzz. I saw a few of the privacy concerns on the initial week it came itself and it was said all this concerns have been fixed by the weekend itself.So I was trying it out and how it works when I n …

Restoring the Grub after reinstalling Windows

…  you have to mount the proc subsystem and udev inside /mnt/root also: sudo mount -t proc none /mnt/root/proc  sudo mount …  /dev/sda It might be hda if the hard disk is IDE and sda if disk is SATA. So try it out the next time you loose your grub …

Generate Date from a range in Mysql and pad the results where no date is present

…  of days. Thus we generate the dates from the date we provide to the x number we generate. So here is the code: [sql]select …

Web page Performance for a Blog – Part 1

…  it. But this is essential for displaying the css or js inside editor option in wordpress. So after compressing put back this comment …  of performance improvements on the blog.Currently I am considering the following: Minify the inline js and css Combine …

Sort according to the nth Column in Shell Script

…  same. -n for sorting the values as numbers instead of considering as text and -r for sorting in descending order ie biggest value on the …