本歌单由Listen1创建, 歌曲数:2726,歌单数:15,点击查看更多
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
<?php | |
if (! function_exists('format_number')) { | |
/** | |
* 格式化数字 | |
* | |
* @param float|int $number | |
* @param string $rule | |
* @param int $depth | |
* |
本歌单由Listen1创建, 歌曲数:3052,歌单数:18,点击查看更多
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
<?php | |
/**.----------------------------------------------- | |
* | Author: guanguans <[email protected]> | |
* | Date: 2018-12-27 12:20 | |
* '---------------------------------------------*/ |
本歌单由Listen1创建, 歌曲数:3034,歌单数:22,点击查看更多
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 loadScript(url, callback){ | |
var script = document.createElement ("script") | |
script.type = "text/javascript"; | |
if (script.readyState){ //IE | |
script.onreadystatechange = function(){ | |
if (script.readyState == "loaded" || script.readyState == "complete"){ | |
script.onreadystatechange = null; | |
script.parentNode.removeChild(script); | |
callback(); | |
} |
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
{ | |
// 使用 IntelliSense 了解相关属性。 | |
// 悬停以查看现有属性的描述。 | |
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", | |
"stopOnEntry": false, |
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
; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini) | |
; xdebug.remote_host=dockerhost | |
; xdebug.remote_host=docker.for.mac.localhost 此处有坑,这是以前的写法,现在用下条 | |
xdebug.remote_host=docker.for.mac.host.internal | |
xdebug.remote_connect_back=0 | |
xdebug.remote_port=9000 | |
xdebug.idekey=PHPSTORM | |
xdebug.remote_autostart=1 |
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
{ | |
// 使用 IntelliSense 了解相关属性。 | |
// 悬停以查看现有属性的描述。 | |
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", |
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
<?php | |
function getHourInt($timeArray) | |
{ | |
$val = 0; | |
for ($i = 0; $i <= 23; $i++) { | |
if (in_array($i . '', $timeArray)) { | |
$val |= pow(2, $i + 1); | |
} | |
} |
OlderNewer