This file contains hidden or 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
/** | |
* Hierarchical table rows object | |
* | |
* Pure JavaScript - but comes with a IE9+ warning | |
* | |
* @param {object} options tableSelector e.g. 'table' | |
* parentClass e.g. 'parent' | |
* collapsedClass e.g. 'hidden' | |
* childClassPrefix e.g. 'parentId' | |
* @type function |
This file contains hidden or 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
#!/bin/bash | |
# usage: svn_upgrade_wordpress.sh X.X.X | |
# http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion | |
# licence MIT | |
die () { | |
echo >&2 "$@" | |
exit 1 | |
} |
This file contains hidden or 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
<?php | |
/** | |
* Ping a host using an IMCP packet | |
* | |
* N.B. This function must be called by an administrator / root user as socket_create requires this | |
* | |
* @param string $host domain | |
* @param integer $timeout seconds | |
* @return mixed False | Response time milliseconds | |
* |
NewerOlder