and folders windows access
Counting principle and Program Testing
# Reference https://www.shuxuele.com/data/basic-counting-principle.html # 基本计数原理 若有m个方法去做一件事,及n个方法去做另一件事, 则有m×n个方法去做这两件事。 # 应用场景 这个原理只适合在所有选择都是独立时才适用。 ......
Jenkins windows节点拉取代码报错: Host key verification failed
说明: 新增一个windows节点之后,在该节点上拉取gitlab上的代码发现报错,代码无法正常拉取下来。 解决办法: 需要在节点上将公钥发送给gitlab服务器。 因为是windwos的节点,所以下面所有的操作都是在git-bash中进行的。 1、生成公钥 ssh-keygen -t rsa 2、 ......
Windows11使用旧版「记事本」(notepad.exe)
概述 Windows11可能会自动更新「记事本」工具为新版。 想使用旧版,若仅将新版记事本卸载,会出现以下问题: txt文本文档无法与记事本(notepad.exe)关联; 右键新建中无「文本文档」。 解决方法 卸载新版记事本(本人未测试不卸载是否可行;也可尝试直接安装新版) 下载旧版记事本安装包( ......
将Windows11/10的图片默认打开方式更为旧版的「Windows 照片查看器」
简述步骤 打开「设置默认程序」或「默认应用」; 键入「.+扩展名」以搜索; 如「.jpg」、「.png」 注意:扩展名前需加「.」 此时,下方会显示当前该扩展名使用的应用,点击它; 此时,会弹出所有相关应用的列表,选择「Windows 照片查看器」,确定。 详细步骤 请参考以下图片 一: 二: Wi ......
在 Windows 系统上实现端口映射可以采用多种方式,以下是其中两种常用的方法
在 Windows 系统上实现端口映射可以采用多种方式,以下是其中两种常用的方法: 使用路由器进行端口映射:将路由器连接到 Internet 上,并将要公网访问的服务所在的计算机连接到路由器上,然后在路由器的设置页面中进行端口映射的配置,将来自公网的访问请求转发到指定的内部 IP 地址和端口号。具体 ......
Windows11中的「注册表」的错别字——「注册表编辑器将删除找到『得』空字符串」
[Window Title]警告 [Content]REG_MULTI_SZ 类型的数据不能包含空字符串。注册表编辑器将删除找到得空字符串。 [确定] ......
要禁用 Windows Server 2022 2025时自动打开服务器管理器,可以通过以下批处理命令实现
要禁用 Windows Server 2022 2025时自动打开服务器管理器,可以通过以下批处理命令实现: 首先打开记事本,输入以下命令: @echo off reg add "HKLM\Software\Microsoft\ServerManager" /v DoNotOpenServerMan ......
An Introduction to Linux Automation, Tools and Techniques
An Introduction to Linux Automation, Tools and Techniques https://linuxconfig.org/an-introduction-to-linux-automation-tools-and-techniques In the fast ......
在Mac上编译可运行在Linux, Windows上的GO程序
编译运行在 amd64位 linux系统 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build 编译运行在 amd64位 windows系统 CGO_ENABLED=0 GOOS=windows go build ......
树莓派4B装Windows 11
# 树莓派4B装Windows 11 ## 下载系统与相关安装软件 ### windows for raspberry https://worproject.ml/ https://pan.baidu.com/s/1ZrVS69Q4b8phlbAiiU6igw?pwd=eyhn ### 下载wind ......
Windows Server 2022 多用户同时登录 开启 批处理
使用批处理在 Windows Server 2022 上配置远程桌面服务和远程桌面会话主机的连接,您可以按照以下步骤进行操作: 启用远程连接: reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" ......
Leetcode Hot 100 & 239. Sliding Window Maximum
参考资料: Python文档heapq部分 考点:子串 & [题干] 1 Input: nums = [1,3,-1,-3,5,3,6,7], k = 3 2 Output: [3,3,5,5,6,7] 3 Explanation: 4 Window position Max 5 6 [1 3 -1 ......
执行存储过程报错:User does not have access to metadata required to determine stored procedure parameter types
在执行存储过程中,报错详细信息如下: java.sql.SQLException: User does not have access to metadata required to determine stored procedure parameter types. If rights can ......
Windows监控软件运行情况
@echo off set _task=notepad.exe set _svr=c:\windows\notepad.exe set _des=start.bat :checkstart tasklist | findstr /I "%_task%" if %errorlevel% == 0 (g ......
CF1770F Koxia and Sequence
一步都没想到,一定是状态不好吧,一定吧一定吧? 加训数数! ## 题意 给定 $n, x, y$,定义好的序列 $\{a_i\}_{i = 1}^n$ 满足 $\sum\limits_{i = 1}^na_i = x, \operatorname{OR}\limits_{i = 1}^na_i = ......
kafka的启动--windows版
首先下载并安装kafka 然后进入到安装目录输入cmd 然后先启动zookeerper输入下面的命令 zookeeper-server-start.bat ../../config/zookeeper.properties 再启动kafka,输入下面命令 kafka-server-start.bat ......
Windows Server 2022 上添加无线网卡组件的批处理命令 启用 Windows Server 2022 无线网卡服务并设置其自动启动的批处理命令
在 Windows Server 2022 上添加无线网卡组件的批处理命令: 打开记事本,将以下命令复制粘贴到记事本中: dism /online /enable-feature /featurename:Wireless-Networking /All 将文件保存为后缀名为 .bat 的批处理文件 ......
使用以下命令来禁用 Windows Server 2022 上的密码复杂性要求
使用以下命令来禁用 Windows Server 2022 上的密码复杂性要求: 打开记事本,将以下命令复制粘贴到记事本中: net accounts /minpwlen:0 net accounts /maxpwage:unlimited net accounts /minpwage:0 将文件保 ......
禁用 Windows Server 2022 密码过期策略的批处理命令 密码永不过期
禁用 Windows Server 2022 密码过期策略的批处理命令: 打开记事本,将以下命令复制粘贴到记事本中: wmic path Win32_UserAccount where "LocalAccount=True AND PasswordExpires=True" set Password ......
使用以下命令来关闭 Windows Server 2022 上的 Internet Explorer 安全增强
使用以下命令来关闭 Windows Server 2022 上的 Internet Explorer 安全增强: 打开记事本,将以下命令复制粘贴到记事本中: @echo off reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\I ......
使用以下命令来禁止 Windows Server 2022 在登录时自动启动服务器管理器
使用以下命令来禁止 Windows Server 2022 在登录时自动启动服务器管理器: 打开记事本,将以下命令复制粘贴到记事本中: reg add "HKLM\Software\Microsoft\ServerManager" /v DoNotOpenServerManagerAtLogon / ......
使用以下命令将 Windows Server 2022 上的 Bluetooth 服务全部设置为自动启动
使用以下命令将 Windows Server 2022 上的 Bluetooth 服务全部设置为自动启动: 打开记事本,将以下命令复制粘贴到记事本中: sc config bthserv start= auto sc config BluetoothAudioGatewayService start ......
MATH is the LOGIC OF CERTAINTY and STATISTICS is the LOGIC OF UNCERTAINTIES
Statistics 110 of Harvard University: Math is the logic of certainty, Statistics is the logic of uncertainty. Strategic practice: Clarity; Honesty ......
找出Windows指定文件夹中的大文件
# -*- coding: utf-8 -*- import os # 字节b转化kb\m\g def format_size(b): try: b = float(b) kb = b / 1024 except: print("传入的字节格式不对") return "Error" if kb >= ......
解决 `remote: You must use a personal access token with 'api' scope for Git over HTTP.`
## 背景 在家远程办公的时候 `git clone` 报错: ``` remote: HTTP Basic: Access denied remote: You must use a personal access token with 'api' scope for Git over HTTP. ......
windows11安装caffe出现的问题
22:57:10 2023-06-17因为要使用C3D模型训练,而C3D是在caffe的基础上,于是安装caffe 主要参考的是csdn上大佬https://blog.csdn.net/pp2373886592/article/details/123816636的博客,我说一下我的安装出现的问题 1 ......
Windows10远程访问Ubuntu服务器上的Jupyter Notebook解决办法
1、nginx反向代理 2、 概要: 可能有的同学在使用Python的时候喜欢使用.py文件,而有的同学喜欢使用Jupyter Notebook做开发,但是苦于不会使用远程服务器的Jupyter Notebook而放弃,而这篇文章将教会你怎样远程访问Jupyter Notebook。 官方地址:官方 ......
Windows All Killer
### 代码大部分来自网络 ```cpp #include #include #include #include #include #include using namespace std; #define NTMODEF 1 #define ZWMODEF 0 DWORD ProtectProce ......
windows下mysql使用mysqldump定时备份数据库,删除过期备份
windows下mysql使用mysqldump定时备份数据库,删除过期备份 创建备份脚本: @echo offforfiles /p "d:\mysql_backup" /m backup_*.sql -d -7 /c "cmd /c del /f @path"set "Ymd=%date:~0, ......
python: encode and decode
import binascii geovin=b"geovindu" adu=base64.b64encode(geovin) #加密码 print(adu) edu=base64.b64decode(adu) #解密 print(edu) s=["医疗",400,1] column=('Insur ......