#path

idea 使用阿里云仓库下载的jar包出现证书校验问题(PKIX:unable to find valid certification path to requested target)

 1.情景展示  从阿里云仓库下载下来的jar包,在执行编译compile或者打包package时,报错:无效证书问题  sun.security.provider.certpath.SunCertPathBuilderException:unabletofindvalidcertificationpatht...

selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

fromseleniumimportwebdriverbrowser=webdriver.Chrome()browser.get('http://www.baidu.com')运行报错:selenium.common.exceptions.WebDriverException:Message:'chromedriver...

java获取classpath文件路径空格转变成了转义字符%20的问题

java获取classpath文件路径空格转变成了转义字符%20的问题这个问题很纠结,服务器的文件路径带有空格,空格被转化是%20了,悲剧就出现了 下面展示一段代码Stringpath=getClass().getResource("/").getPath();或Stringpath=getClass().g...

centOS7.4 thinkPHP nginx 支持pathinfo和rewrite

server{listen80;server_namewww.demo.commayifanx.com;root/data/www/demo;indexindex.phpindex.htmlindex.htm;#红色部分支持rewritelocation/{if(!-e$request_filename){rewrit...

关于QT的QPainterPath::arcTo 详解

这个函数文档的意思就是画弧,看了文档也不太明白,自己做了demo终于明白了意思voidTestArcTo::paintEvent(QPaintEvent*){QPointstartPt(30,30);QRectrect(startPt.x(),startPt.y(),200,200);QPainterp(this);p...

json解析库jsonpath

 jsonpath用于多层嵌套json格式的解析。pipinstalljsonpath JsonPath描述$根节点@现行节点.or[]取子节点n/a取父节点,jsonpath为支持..就是不管位置,选择所有复合条件的条件*匹配所有元素节点n/a根据属性访问,json不支持,因为json是个key-...
代码星球 ·2021-02-14

python 文件操作,os.path.walk()的回调函数打印文件名

#coding=utf-8importosdeffind_file(arg,dirname,files):   #foriinarg:       #printi   forfileinfi...

LeetCode: 63. Unique Paths II(Medium)

1.原题链接https://leetcode.com/problems/unique-paths-ii/description/...

LeetCode: 62. Unique Paths(Medium)

1.原题链接https://leetcode.com/problems/unique-paths/description/2.题目要求给定一个m*n的棋盘,从左上角的格子开始移动,每次只能向右或向下移动一格,直至右下角的格子。返回所有不同路径的总数。注意:m和n都不超过1003.解题思路 ...
代码星球 ·2021-02-12

zookeeper 监听事件 PathChildrenCacheListener

PathChildrenCacheListener一次父节点注册,监听每次子节点操作,不监听自身和查询。1.测试类:packagecom.qy.learn.zk.curator;importorg.apache.curator.framework.CuratorFramework;importorg.apache.cu...

configure: error: no acceptable C compiler found in $PATH 问题解决

今天在百度云的系统上安装python3 编译的时候提示configure:error:noacceptableCcompilerfoundin$PATH问题解决网上查了是是缺少gccyuminstallgcc 然后继续编译就可以了...

Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/../thinkphp/start.php) is not within the allowed path(s):

Warning:require():open_basedirrestrictionineffect.File(/www/wwwroot//../thinkphp/start.php)isnotwithintheallowedpath(s): 目录的问题thinkphp请设置首页访问的目录是public...

nginx支持pathinfo的方法,亲测有效的

修改配置文件,修改特点域名的配置文件location~.php{#去掉$rootH:/PHPServer/WWW;fastcgi_pass127.0.0.1:9000;fastcgi_indexindex.php;fastcgi_split_path_info^(.+.php)(.*)$;#增加这一句fastcgi_p...

JAVA 运行springboot jar包设置classpath

Java命令行提供了如何扩展bootStrap级别class的简单方法.-Xbootclasspath:完全取代基本核心的Javaclass搜索路径.不常用,否则要重新写所有Java核心class-Xbootclasspath/a:后缀。将classpath添加在核心class搜索路径后面。常用!!-Xbootclas...

解决python 缺少os.fspath

在python3.6下运行pandas会报错缺少os.fspath升级到python3.73.7安装参考:https://www.cnblogs.com/jifeng/p/11221469.html...
首页上一页...1112131415...下一页尾页