inotify -watch for file to change

2014-01-28 1 min read Learning Linux
Here is a simple command for you. It uses inotify tools. So first you need to install : sudo yum install inotify-tools and then you can try something like this: while true; do inotifywait -r -e modify --exclude=".swp" . && make; done Here, once the file changes, we are running make, but you can do anything you want. Related articles Development Server: Automatic Reload on Code Change Concurrent or lock access in bash script function

Movie Review (by Prashant Prahlad Abkari) – Stanley ka Dabba

2011-05-24 4 min read GuestPost
You wake up to some noise.. popping up of sesame seeds….u avoid it ..Daily routine they are.. Lethargically you start preparing by stuffing the books, separating them as either 100/200 pages or text books and placing them in different compartments, only to retrieve it easily. Packing Done . Its late.. You start rushing with your heavy bagpack..Empty handed.. R u missing something? A loud scream from back.. DABBA … Food for lunch it is . Continue reading

DIY- Photos at home (Beautiful and Magical)

2010-11-17 1 min read Photo
Requirements: DSLR Nikon D5000 Some Sparkles of different colors 2x100W Bulbs and some imagination Results: Fantastic Photos with beautiful effects. [][1]Sparkles [][2]Sparkles [][3]Sparkles [][4]Sparkles [][5]Sparkles [][6]Sparkles [][7]Sparkles [][8]Sparkles - Heart Related articles More cloud photos for your eyes. (amit-agarwal.co.in) Build a DIY Photo Booth that Fits in a Duffel Bag [DIY] (lifehacker.com) Digitize Your Old Film Strips with a DIY Negative Duplicator [DIY] (lifehacker.com) DIY Photo Magic: How to Turn Black and White Photos into Full Color Images! Continue reading

Flower photos for you :)

2010-11-05 1 min read Photo
Here are few more photos that I took at my home with my favourite Nikon DSLR D5000. Hope you like them. [][1]Flower [][2]Flower [][3]Flower [][4]Flower Related articles More cloud photos for your eyes. (amit-agarwal.co.in) Low-end used Nikon DSLR for a beginner (ask.metafilter.com) Revised PhotoTrackr Plus works with Nikon D90, D3100, D5000 and D7000 (engadget.com) Kids Flower Arranging Exhibition, Revisited (regex.info) Nikon D3100 DSLR hands-on (engadget.com)

web page error\’d – Name cannot be less that 5 characters :)

2010-09-09 1 min read Uncategorized
If you have noticed, I have put a new <a class="zem_slink" title="Toolbar" rel="wikipedia" href="http://en.wikipedia.org/wiki/Toolbar">tool-bar in the bottom. The tool-bar is delivered from the wibiya cdn and while registering for the service, I got the below error 🙂 <img class="size-medium wp-image-2446" title="wibiya error'd" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/wibiya-300x162.png" alt="wibiya error'd" width="300" height="162" />

let a cow tell you your fortune

2010-06-03 1 min read bash Linux
Here\’s something that I saw on commandlinefu yesterday. That sent me thinking about some command to have the cow file picked randomly 🙂 So, here\’s the original command from the commandlinefu: let a cow tell you your fortune 1 <td> <div class="text codecolorer"> $ fortune | <a class="zem_slink freebase/en/cowsay" title="Cowsay" rel="homepage" href="http://www.nog.net/%7Etony/warez/cowsay.shtml">cowsay</a> -f tux </div> </td> </tr> </table> Let
Older posts