This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -u apache ssh-keygen -t rsa | |
//make sure ./.ssh dir is set to 770 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setTimeout(function(){myFunction(parameter); parameter = null},myTimeout); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
list($width, $height) = getimagesize($img); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function changeBG(theid){ | |
if(theid.style.backgroundImage == 'url(images/expand.jpg)') { | |
var your_image = 'images/collapse.jpg'; | |
theid.style.backgroundImage="url('"+your_image+"')"; | |
} | |
else { | |
var your_image = 'images/expand.jpg'; | |
theid.style.backgroundImage="url('"+your_image+"')"; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cursor: hand; cursor: pointer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function URLEncode (clearString) { | |
var output = ''; | |
var x = 0; | |
clearString = clearString.toString(); | |
var regex = /(^[a-zA-Z0-9_.]*)/; | |
while (x < clearString.length) { | |
var match = regex.exec(clearString.substr(x)); | |
if (match != null && match.length > 1 && match[1] != '') { | |
output += match[1]; | |
x += match[1].length; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return confirm('Remove Image: Are You Sure?'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ./ -name .svn -exec ls -l {} \; | |
find ./ -name .svn -exec rm -rf {} \; |
OlderNewer