TransformNode 是所有参与变换的类和所有需要无效自己或祖先的类的基类 方法: __init__(shorthand_name=None): 参数 [shorthand_name]: 别名 初始化TransformNode,初始化为无效状态 invalidate(): 无效化自身和自身的祖 ...
分类:
其他好文 时间:
2020-04-07 12:29:27
阅读次数:
68
在 windows 下编写 Shell 脚本,在 Linux 上执行时,报错提示: $'\r':command not found。 因为 windows 下的换行符是 \r\n ,而 Linux 的换行符是 \n。因而在 Linux 下运行 windows 编写的 Shell 脚本,会报如上所示的 ...
分类:
系统相关 时间:
2020-04-07 09:16:41
阅读次数:
81
最近学习 JSON 想获取,豆瓣的电影top250电影榜,来练习,练习。 结果输入地址: http://api.douban.com/v2/movie/top25 {"msg":"invalid_apikey, Please contact bd-team@douban.com for author ...
参考以下两种解决: 1.zip While using git-bash, you may need the zip command to zip files. Then you will get error like “command not found“. This is because git ...
1. 报错 ERROR: Network internal declared as external, but could not be found. Please create the network manually using `docker network create internal` ...
分类:
Web程序 时间:
2020-04-06 17:49:24
阅读次数:
307
systemctl network start 找不到命令是因为 centos8没有了network 而是nmcli 代替了 1 排查 本机的ip netmask mac地址是否一致 2 mac机 ifconfig 我的虚拟机使用是nat模式 如果是桥接模式就看vmnet1 如果子网掩码是乱码 就看 ...
分类:
系统相关 时间:
2020-04-06 15:39:07
阅读次数:
293
在 MAC 上 安装 Anaconda 后在 ITerm2 终端输命令总是会出现 zsh:command not found:conda,默认把路径写在 bash_profile 里面 ? bin cat ~/.bash_profile # added by Anaconda3 2.5.0 inst ...
分类:
系统相关 时间:
2020-04-06 15:24:20
阅读次数:
345
错误原因: 即 的缩写,是浏览器中的网站图标。 favicon.ico不是必须的。但网站在加载时,会自动请求favicon.ico文件,如果没有则会报错 解决方案: 在服务器根目录下设置 favicon.ico 文件,浏览器会自动识别使用 在 `` 标签里添加代码 设置link引用文件 或 ...
分类:
Web程序 时间:
2020-04-06 13:55:58
阅读次数:
1022
python在安装第三方模块时候,需要将python的路径写入注册表,否则会提示 ‘python version 3.8-32 required,which was not found in the registry.’此时需要查看你的注册表 以下为检查及写入方法。 一、第一步先检查python路径 ...
分类:
编程语言 时间:
2020-04-06 11:21:47
阅读次数:
108
// 面试题50(二):字符流中第一个只出现一次的字符 // 题目:请实现一个函数用来找出字符流中第一个只出现一次的字符。例如,当从 // 字符流中只读出前两个字符"go"时,第一个只出现一次的字符是'g'。当从该字 // 符流中读出前六个字符"google"时,第一个只出现一次的字符是'l'。 # ...
分类:
其他好文 时间:
2020-04-05 20:37:45
阅读次数:
63