Python and selenium add socks5 proxy
例程如下
1 | options = webdriver.ChromeOptions() |
ubuntu搭建webdav服务器
用chrome的控制台发送一个post请求
实例
1 | var xml = new XMLHttpRequest(); |
使用screen管理远程会话
创建一个 screen 会话,创建一个一个名为 wap 的会话,
1 | screen -S wpa |
创建成功会有 “#” 在左上角显示。
然后开始你的工作,完成后直接断开
下一次登录后,打开之前创建的 screen 窗口。
列出 screen 窗口列表,
1 | screen -ls |
然后看到 5 位数字,进入会话指令:
zsh的配置安装
Cannot find module ‘app’
发表于
更新于
loadUrl is not working in electron
发表于
更新于
现象
I tried to run the index.js with following lines, it worked
1 | const electron = require("electron") |
but when i tried to add this line,
1 | mainWindow.loadUrl('file://${ __dirname}/index.html') |