avatar
Articles
159
Tags
23
Categories
4
Home
Tags
Ferry's blogLock the windows every time when you close the lid
Search
Home
Tags

Lock the windows every time when you close the lid

Created2021-12-20|Updated2022-05-22
|Post Views:

Q&A
Previous
自动化播放视频
本次我采用Python+selenium写了一个自动播放视频的脚本。 从账号密码登录,切换一个个window,再到切换一层层frame,最终点击播放按钮的过程。 导入包 1234567from selenium import webdriver from selenium.common.exceptions import NoSuchElementExceptionfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.common.keys import Keysfrom selenium.webdriver.support import expected_conditions as ECfrom selenium.webdriver.support.wait import WebDriverWaitimport time 将webdriver静音 1234options =...
Next
mysql commands
Start 运行mysql程序 启动mysql8.0版本1net start mysql80 进入命令行模式 1mysql -u root -p 接下来就可以用命令操作数据库 12345678910//查看所有的数据库show databases;//改变默认数据库use database_name;//查看默认数据库中所有的表show tables;//查看某个表的结构describe table_name;//查看表中的记录select * from table_name;
Related Articles
2020-10-30
PATH环境变量不见了
Windows下的PATH环境变量不知被哪门子清理软件给清掉了。所以我们New一个PATH variable value: 1%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
2020-11-23
sublime的一些配置
在cmd窗口中执行 tools->Build System->New Build System 12345678910111213{ "cmd": ["g++", "${file}", "-fexec-charset=gbk", "-o", "${file_path}/${file_base_name}"], "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", "working_dir": "${file_path}", "selector": "source.c, source.c++", "variants": [ ...
2022-01-08
使脚本在后台运行
需要在要运行的bat文件前面加上: 123if "%1"=="hide" goto CmdBeginstart mshta vbscript:createobject("wscript.shell").run("""%~0"" hide",0)(window.close)&&exit:CmdBegin
2022-01-10
把Jupyter Notebook放到网站并嵌入
在source目录下放文件或文件夹,在hexo中需要在_config.yml中设置: 1234post_asset_folder: truemarked: prependRoot: true postAsset: true 那么,里面的东西就会放到网站中。本地的source目录就成了网站中的根目录(跟在主机名后面) 让hexo不渲染某个目录下的所有文件(在这里放Jupyter Notebook的html文件)把,在hexo中需要在_config.yml中设置 1skip_render: "Jupyter_notebook/**" 那么Jupyter Notebook的html文件就发布到网站中了 例如: 1[notebook](https://ferrychan666.github.io/Jupyter_notebook/world_colleges.html)
2020-04-13
排错方法
debug 注释部分代码 提取部分代码测试
2020-04-10
错误collect2:ld returned 1 exit status
前言我们遇到这种错误的时候,大多是因为编译器的位数为32位,编译时使用double类型就会发生这样的错误,或者编译过慢。 方法更换成64位的编译器就可以了。
avatar
FerryChan
Articles
159
Tags
23
Categories
4
Follow Me
Recent Posts
js tutorial2025-07-18
JS逆向2025-07-08
正则表达式2025-07-08
python模拟ajax请求2025-07-02
A Django Project2025-06-16
Framework Hexo|Theme Butterfly
Search
Loading Database