Archive for February, 2011
Implementing Event Delegation and Custom Events in JavaScript Using JQuery & Prototype.js
Events play a very vital role in developing a dynamic UI. Events are generated as a response to an User Action or to state changes in the Event source. An Event source is the one which notifies that the user has done some action . An Event Listener is the one which waits for notification from [...]
kill by name
on *nix at times I miss a “kill by name ” utilitly, my life mostly involves running a java task, which takes a bit too long and then I want to terminate it. Here is a simple Kill by name implementation killByName() { args=(“$@”) processLine=`ps -ef |grep ${args[0]} |grep ${args[1]}` processToKill=`echo $processLine |awk ‘{print $2}’ [...]
