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 | |
| /** | |
| * This Software is provided "as is" under the terms of the MIT license. | |
| * | |
| * @link https://opensource.org/licenses/MIT | |
| */ | |
| /** | |
| * Provides named constants for HTTP protocol status codes and their messages | |
| * |
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
| { | |
| "AC": "+247-####", | |
| "AD": "+376-###-###", | |
| "AE": "+971-5#-###-####", | |
| "AE": "+971-#-###-####", | |
| "AF": "+93-##-###-####", | |
| "AG": "+1(268)###-####", | |
| "AI": "+1(264)###-####", | |
| "AL": "+355(###)###-###", | |
| "AM": "+374-##-###-###", |
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 | |
| /** | |
| * StatusCodes provides named constants for | |
| * HTTP protocol status codes. Written for the | |
| * Recess Framework (http://www.recessframework.com/) | |
| * | |
| * @author Kris Jordan | |
| * @license MIT | |
| * @package recess.http | |
| * |
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 | |
| /* | |
| OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP) | |
| Author: _ck_ (with contributions by GK, stasilok) | |
| Version: 0.1.7 | |
| Free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
| * revision history | |
| 0.1.7 2015-09-01 regex fix for PHP7 phpinfo | |
| 0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter |
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
| //util function to check if an element has a scrollbar present | |
| jQuery.fn.hasScrollBar = function(direction) | |
| { | |
| if (direction == 'vertical') | |
| { | |
| return this.get(0).scrollHeight > this.innerHeight(); | |
| } | |
| else if (direction == 'horizontal') | |
| { | |
| return this.get(0).scrollWidth > this.innerWidth(); |