To remove the closing functionality of the jQuery Lightbox popup when clicked outside the popup I changed the functions as follows
From
$("#overlay").click(function(){ end(); }).hide();
$("#lightbox").click(function(){ end();}).hide();
To
$("#overlay").click(function(){ });
$("#lightbox").click(function(){ });
ASP.NET, C#.NET, CruiseControl.NET, Microsoft SQL Server, MS-DOS Batch, MySQL, nAnt, NodeJs, PowerShell, Python, Selenium RC, Redis, WebAii, Ubuntu
Friday, March 26, 2010
Wednesday, March 10, 2010
Gem installation without documentation
In order to install gem without documentation I used the following command
sudo gem install dm-timestamps -v=0.10.2 --no-rdoc --no-ri
sudo gem install dm-timestamps -v=0.10.2 --no-rdoc --no-ri
Tuesday, March 02, 2010
Update installed gem version
In order to update the gem I used following commnad under Ubuntu
sudo gem update --system
sudo gem update --system
Monday, March 01, 2010
Replace string with shell script parameter using sed command
In order to change string inside a file using shell script I used the following command in the shell script, where inside myFile.xml, oldString is the string I want to replace with the string contained in the first parameter passed to the shell script.
sed -i 's/oldString/'"$1"'/g' /home/healthy/myFile.xml
sed -i 's/oldString/'"$1"'/g' /home/healthy/myFile.xml
Subscribe to:
Posts (Atom)