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
| ##################################################################################### | |
| # INSTALL isolated PHP 7.2 ZTS (Thread-safe) with pthreads on Ubuntu 14.04 &16.04 ### | |
| ##################################################################################### | |
| 0) Possible dependencies | |
| sudo apt-get install libxml2-dev | |
| 1) Install necessary bison version | |
| wget http://launchpadlibrarian.net/140087283/libbison-dev_2.7.1.dfsg-1_amd64.deb |
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
| div { | |
| width : 200px; | |
| height : 50px; | |
| position: relative; | |
| z-index : 1; | |
| } | |
| div:before { | |
| content : ""; | |
| position: absolute; |
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
| public static function generateUniqueNumber($len = 9) | |
| { | |
| $numbers = '0123456789'; | |
| $result = mb_substr($numbers, rand(0, $len),1); | |
| for ($i = 1; $i < $len; $i++) { | |
| $result .= mb_substr($numbers, rand(0, $len),1); | |
| } | |
| return $result; | |
| } |
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
| "use strict"; | |
| /* | |
| * Original script by Josh Fraser (http://www.onlineaspect.com) | |
| * Continued and maintained by Jon Nylander at https://bitbucket.org/pellepim/jstimezonedetect | |
| * | |
| * Provided under the Do Whatever You Want With This Code License. | |
| */ | |
| /** | |
| * Namespace to hold all the code for timezone detection. |