摘要:
油猴和收藏栏常用 【基础】不带参数 # 1. 当函数变成立即执行的函数表达式时,表达式中的变量不能从外部访问。 (function () { var name = "Barry"; })(); // 无法从外部访问变量 name name // 抛出错误:"Uncaught ReferenceErr 阅读全文
摘要:
Robot Framework documentation http://robotframework.org/robotframework/ 总体入口解读 https://robot-framework.readthedocs.io/en/2.9.1/_modules/robot/running. 阅读全文
摘要:
https://www.lifewire.com/how-to-install-the-pycharm-python-ide-in-linux-4091033 1. Download PyCharm from the JetBrains website. Install PyCharm. The s 阅读全文
摘要:
sudo apt-get install --reinstall ubuntu-desktop 阅读全文
摘要:
编辑下列文件: sudo vim /etc/systemd/logind.conf 然后将其中的: #HandleLidSwitch=suspend 改成下面,去掉“#”号: HandleLidSwitch=ignore 最后重启服务: service systemd-logind restart 阅读全文
摘要:
# 命令 cp -r --parents /mnt/aaa/bbb/ccc /tmp # 效果 tmp下面有mnt目录【mnt>aaa>bbb>ccc】 阅读全文
摘要:
https://www.jenkins.io/doc/pipeline/steps/ssh-steps/ node { def remote = [:] remote.name = 'test' remote.host = 'test.domain.com' remote.user = 'root' 阅读全文
摘要:
System.out.println(System.getProperty("user.dir")); File directory = new File("");//设定为当前文件夹 System.out.println(directory.getAbsolutePath());//获取绝对路径 阅读全文
摘要:
https://francescocirillo.com/pages/anti-if-campaign # 编程时避免使用 if 语句的五种模式 https://www.techug.com/post/anti-if-the-missing-patterns.html # 设计模式消除大量if-el 阅读全文
摘要:
参考 https://cloud.tencent.com/developer/article/1644787 https://github.com/cnych/pipeline-library-demo 说明 # 说明 ├── README.md ├── src │ └── com │ └── qi 阅读全文