Happy Diwali

2013/11/04

Wish you all a very happy and prosperous Diwali 2013.

bashrc with lots of functions and useful alias

2013/10/30

Here is a link of a useful 10K lines bashrc http://pastebin.com/LEkXXuST You may not want to put the whole thing, but get an idea and use what you think can be helpful to you or at-least get an idea. …

Beautiful set of icons.

2013/10/24

Here is a link to a very beautiful set of icons for you gnome/kde desktop: http://bokehlicia.deviantart.com/art/Pacifica-Icons-402508559

Code beautifier for php

2013/10/17

If you would like to beautify your php scripts, then you can use the beautifier available at : http://pear.php.net/package/PHP_Beautifier/download

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

Thumbnail

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, …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it