<?php $r = tail('dd.ddmap.log','Baiduspider'); echo '<pre>'; print_r($r); echo '</pre>'; /** * @param $filename * @param false $num * @param int $n * ...
分类:
Web程序 时间:
2021-04-30 12:11:16
阅读次数:
0
已知macOS 11.3修复了一个主要漏洞(该漏洞使Shlayer恶意软件绕过了GateGeeper和File Quarantine等苹果公司的保护措施。) 各位Mac用户,笔者建议尽快更新到Apple的新macOS 11.3软件,因为它包含重要的恶意软件修复程序。可以极大地提高Mac的安全性能 除 ...
分类:
系统相关 时间:
2021-04-30 11:56:56
阅读次数:
0
<PropertyGroup> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntime ...
分类:
移动开发 时间:
2021-04-29 12:04:19
阅读次数:
0
#!/usr/bin/env /usr/bin/python3 # -*- coding:utf-8 -*- # 1.冒泡排序 l = [8,3,22,15,17] for i in range(1,len(l)): flag = False for j in range(0,len(l)-i): ...
分类:
其他好文 时间:
2021-04-29 11:55:09
阅读次数:
0
// 安全文件路径,$fileName:完成文件路径 function securityFilePath($fileName,$read_write = '0777'){ $path = dirname($fileName); if(!file_exists($path)){// 判断路径是否存在, ...
分类:
Web程序 时间:
2021-04-29 11:54:35
阅读次数:
0
1、利用ES6 Set去重 {}没去重 let arr = [1, 1, 'true', 'true', true, true, 15, 15, false, false, undefined, undefined, null, null, NaN, NaN, 'NaN', 'NaN', 0, 0, ...
分类:
编程语言 时间:
2021-04-29 11:48:15
阅读次数:
0
http://www.codingwhy.com/view/8733.html set MAVEN_OPTS="-Dfile.encoding=UTF-8" ...
分类:
其他好文 时间:
2021-04-29 11:41:35
阅读次数:
0
全文检索通过sphinx搜索出来的内容是没有问题的。 但是搜索结束之后,文章的排序还是多少有点小问题,是这样,我最开始是使用时间倒叙排序,这样就会有一个小问题就是,我想要的结果,或者说跟我搜索关键词最贴近的结果不会出现在前几条。这个体验很不好。 然后,我这里使用了PHP内置的similar_text ...
分类:
编程语言 时间:
2021-04-28 12:22:57
阅读次数:
0
Dockerfile 文件 写法1(实际用过) FROM openjdk:8-jdk-alpine VOLUME /tmp ADD testdocker-1.0-SNAPSHOT.jar app.jar ENTRYPOINT ["java","-Djava.security.egd=file:/de ...
分类:
编程语言 时间:
2021-04-28 12:04:08
阅读次数:
0
php命名空间在第一个文件开关以namespace 命名空间名,则当前的文件为该命名空间,当include其他文件的,其他文件的命名空间为文件的开头namespace名,如没有为全局,不因为include继承,查看当前文件的命名空间可用echo '"', __NAMESPACE__, '"'; ph ...
分类:
Web程序 时间:
2021-04-28 12:03:18
阅读次数:
0