算法 基础
算法 基础
二分查找的速度比简单查找快得多.
O(log n)比O(n)快. 需要搜索的元素越多, 前者比后者就快得越多.
算法运行时间并不以秒为单位, 而是主要操作执行次数.
算法运行时间是从其增速的角度度量的.
算法运行时间用大O表示法表示.
常见的大O运行时间
O(log n),也叫对数时间,这样的算法包括二分查找。
O(n),也叫线性时间,这样的算法包括简单查找。
O(n * log n),这样的算法包括第4章将介绍的快速排序——一种速度较快的排序算法。
O(n2),这样的算法包括第2章将介绍的选择排序——一种速度较慢的排序算法。
O(n!),这样的算法包括接下来将介绍的旅行商问题的解决方案——一种非常慢的算法。旅行商问题
...
robotic process automation
robotic process automation
web crawling
scrapy
Portia
Beautiful Soup
XPath
browser automation framework
Selenium
Tag UI
test automation framework
appium
ui automation framework
ui.vision
SikuliX
Reference
Robot Framework
Selenium automates browsers
Tag UI
RPA VS Selenium
appium
scrapy
Portia
Beautiful Soup
XPat...
Elastic Stack
Elastic Stack
Filebeat + kafka + Logstash + Elasticsearch + Kibana
curl ip.sb
netstat -natp | grep 5601
filebeat
install
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.15.2-x86_64.rpm
sudo rpm -vi filebeat-7.15.2-x86_64.rpm
elastic search
install
wget https://artifacts.elastic.co/downloads/elasticsearc...
Jupyer Error
Jupyer Error
No module named ‘jupytext’
python3 -m pip install jupytext
Jupyter Notebook : ERROR:asyncio:Exception in callback
jupyter notebook --generate-config
vim ~/.jupyter/jupyter_notebook_config.py
# add
c.NotebookApp.kernel_manager_class = 'notebook.services.kernels.kernelmanager.AsyncMappingKernelManager'
Reference
Jupyter No...
SSL error: dh key is too small
SSL error: dh key is too small
# 允许使用短dh key
sudo update-crypto-policies --set LEGACY
Reference
SSL error ‘dh key is too small’, when connecting to SQL Server using ODBC 17 and Laravel on Centos 8
FLutter 配置
FLutter 配置
IPHONEOS_DEPLOYMENT_TARGET
Set MinimumOSVersion to 9.0 in ios/Flutter/AppFrameworkInfo.plist
Ensure that you uncomment platform :ios, ‘9.0’ in ios/Podfile
Ensure that ios/Podfile contains the following post install script:
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_ad...
453 post articles, 57 pages.