嵌入式-uboot
启动的时候 按任意键 进入u-boot 交互模式
查看系统环境变量
printenv
在线更新 u-boot
# 设置server ip |
启动的时候 按任意键 进入u-boot 交互模式
查看系统环境变量
printenv
# 设置server ip |
std::shared_ptr<spdlog::logger> m_logger; |
模板路径
%USERPROFILE%\Documents\Visual Studio 2019\Templates\ProjectTemplates |
BeautifulSoup + requests 简单网页
selenium
web driver chrome two site below is same
https://chromedriver.chromium.org/
https://sites.google.com/chromium.org/driver/
driver.find_element_by_id("some_id") |
爬虫需要遵守 robot 协议
selenium webdriver 有哪些爬虫特征,可以直接打开这个页面去检测:Antibot
options.add_experimental_option('excludeSwitches', ['enable-automation'])options.add_argument('--disable-blink-features=AutomationControlled')npx extract-stealth-evasionswith open('./js/stealth.min.js') as f: |
The XPath is the language used to select elements in an HTML page. XPath can be used to locate any element on a page based on its tag name, ID, CSS class, and so on. There are two types of XPath in Selenium.
Absolute XPath
Relative XPath
Absolute Xpath is the simplest form of XPath in Selenium. It starts with a single slash ‘/’ and provides the absolute path of an element in the entire DOM.
/html//div/div/div/div[1]/div/a/img
In the case of relative XPath in Selenium, the XPath expression starts from the middle of the DOM structure. It is represented by a double slash ‘//’ denoting the current node.
//img[@alt=’LambdaTest’]
private bool windowCreate = true ; |
使用 Qt 提供的集合类传递数据,例如:QVector
qRegisterMetaType<QVector<uchar> >("QVector<uchar>"); |
CInfoWnd* wnd = new CInfoWnd( main_wnd ); |