0
frances
6 years ago 回复了 如何查看jquery版本

alert(jQuery().jquery);

0
function checkPortOpen($host, $port = 80) {
    $host = preg_replace('/https*:\/\//ism', '', $host);
    if (strpos($host, ':') !== false) {
        $hosts = explode(":", $host);
        $host = $hosts[0];
        $port = $hosts[1];
    }
    $connection = @fsockopen($host, $port, $errno, $errstr, 3);
    if (is_resource($connection)) {
        return true;
    }
    return false;
}
var_export(checkPortOpen('http://www.baidu.com', 80));
0
   webView.backgroundColor = [UIColor clearColor];
    webView.opaque = NO;
0

在代码入口的地方打个断点, 然后执行下面的命令即可

GDB 调试

handle SIGPIPE nostop

LLDB 调试

process handle SIGPIPE -s false

Broadcast


JoyK
Better personal homepage
reddit style
GitHub Flavored Markdown syntax
Adaptive layout