Check all vim colorschemes for minor issues
2013/10/10
Here is script that checks all the colorschemes in the current directory and corrects them if possible (Processing of the file is done with simple commands like sed, grep) Checks that the color_name …
Home grown mail scheduler with bash script and cron
2013/10/04
If you are using Linux (Fedora/Ubuntu or anything else) then you do get a lot of tools and one of them is cron. Very very useful. Just write some script that can do the task for you, put it in cron …
force recheck on reboot – fsck
2013/09/27
If you want to force a fsck re-check on reboot, then just touch /forcefsck Related articles Set some disk params to be safe Improve Boot Performance Ext4
find more information on ext2/3/4 filesystem
2013/09/20
In my previous post on check filesystem regurlarly, I mentioned tune2fs. That tool give quite a lot of information. But just in case, you did not find what you are looking for in the output, then you …
findmnt – find all the mounts and their source
2013/09/16
If you are looking for the source of a mount and the various options used in the mount, then the quickest way to get that is :: findmnt By default, with no parameters, it lists all the mounts in a …
Find directory/file with inode number
2013/09/10
Couple of days back, I was getting the following error: […] Directory inode 2362521 has an unallocated block #245823. Allocate? […] And this continued for hours together and I was in a …
Set some disk params to be safe
2013/09/05
It is always “Better safe than sorry” so, here are some things you should do.. First check fstab, if you have partitions other than root then use UUID instead of device: …
vim maps – simple commands to do stuff.
2013/08/28
Some time back, I was working on some script for logging and I wanted to change the class to function like this: $logger->Debug("Test string"); loggerFunc("Debug", "Test String"); As you can see, …
pkgwat -search packages for Fedora.
2013/08/23
pkgwat is a nice utility to search the fedora packages websearch. Description : Pronounced "package WAT", pkgwat is a fast CLI tool for querying : the fedora packages webapp. : …
power save mode for battery in Fedora 19.
2013/08/20
I was getting really bad battery life on my Fedora 19 system, and did not find much on how to tune it. Finally I found something that just does not need much configuration but works pretty well. So, …
Delete all but some directories
2013/08/16
I think, like me, you would have faced a lot of situations, where you wanted to delete all the files or directories in a location, leaving only the required files/directories. So, I have a directory …
Lal Bagh 2013 – Photos from Flower show on 15 Aug 2013
2013/08/12
Its again that time of the year, when visiting Lal Bagh ( Bangalore , India) is so much fun. There is a lot of crowd and there are lot of opportunities for photography. So, here are some of the photos …