and folders windows access
windows文件搜索;文件预览;全文搜索,只需myso就够了
简介 现在提到windows文件搜索,大家可能会想到Everything、Listary、AnyTXT这三款工具,它们各有自己的专长,不能相互替代,需要安装至少两款才能高效的搜索电脑文件。现在向大家推荐一款集这三家之所长的搜索工具myso,仅需安装myso就可以高效的搜索电脑文件。 介绍myso前, ......
【Vue3响应式原理#02】Proxy and Reflect
本篇文章将解决上一篇文章 结尾遗留的问题:如何让代码自动实现响应性? 换句话说就是,如何让我们的 effect 自动保存 & 自动重新运行?又如何拦截对象属性的访问和赋值操作? ......
window.location.href在IOS上不生效
H5中发现一个问题,window/location.href在安卓上正常生效,但是IOS上不能跳转。 需要和下面一样做个判断。 if (navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) { location.href = '/de ......
[LeetCode] 1359. Count All Valid Pickup and Delivery Options 有效的快递序列数目
Given n orders, each order consists of a pickup and a delivery service. Count all valid pickup/delivery possible sequences such that delivery(i) is al ......
安全 – CSP (Content Security Policy) and X-Frame-Options
前言 之前讲过 CSRF。防 Cookie hacking 的。 也介绍过防 XSS 的 HtmlSanitizer。 今天再介绍多 2 个 CSP 和 X-Frame-Options。 CSP (Content Security Policy) 它是游览器的其中一种防 hack 机制。除 IE 以 ......
在Windows11系统上安装Linux子系统史遇到的问题
在安装完Ubuntu后,打开Ubuntu界面终端发现出现了WslRegisterDistribution failed with error: 0x800701bcError: 0x800701bc WSL 2 ?????????????????? https://aka.ms/wsl2kernel ......
windows10测试时如何构造大图片(如超过8M+的图片)
1.原图片(大小40k) 2. 选怎一个容量大的文件如视频文件8M+ 3.使用copy命令进行扩容(cmd命令行操作): copy test01.jpg /b + 8M.MP4 test01_8M.jpg 4.完成后查看图片大小(8M+) ps:如果文件容量未变化,记得排查一下,使用的文件与视频名字 ......
Dasha and Nightmares 题解
题目传送门 一道字符串题。 既然两个字符串拼接后有一种字符不能出现,那么可以枚举这个字符,我们就只需要关注没有出现过这种字符的字符串了。 剩下的字符串仅会出现 \(25\) 种字符,而我们并不关心字符串里字符的顺序,仅关心字符出现的个数的奇偶性,因此我们可以把字符串看做是一个长度为 \(25\) 的 ......
Entering China's strategies of water pollution and identifying an effective measure, as well as its working principle and impact
Water Pollution Control Strategies in China(Some examples) (1)China’s strategy for controlling water pollution focused first on reducing the discharge ......
SATA基础+更改终端颜色+PCI.ids位置+Linux和Windows的scanf+C语言C++的局部变量与全局变量的重名问题+多个C文件编入到SV中+UVM event pool的例化+ar、nm和ranlib
SATA基础 https://zhuanlan.zhihu.com/p/554251608 物理信号 物理层功能 时钟恢复:对于高频传输,一般是采用差分信号传输,并且没有单独的时钟,时钟存在于编码内部 串并转换:对于高频传输,串联信号可以做到更高的频率。 字节对其:8/10 编码转换的10bit对其 ......
新 Windows 电脑开发环境配置
ssh 基于ED25519算法 ssh-keygen -t ed25519 基础软件 7zip Geek Uninstaller VsCode IntelliJ IDEA Data Grip Navicat 语雀 坚果云 Everything NotePad++ Java 开发环境 JDK injd ......
c: struct sort descending and ascending
/** * @file hello.c * @author your name (geovindu) * @brief * @ide vscode c11,c17 windows 10 * @version 0.1 * @date 2023-11-05 * * @copyright Copyrigh ......
Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) B. Kuroni and Simple Strings
Problem - 1305B - Codeforces 啦啦啦,这题题目有点长,概括一下就是,希望将所有()匹配的括号去掉 问你需要操作多少次 双指针,一个i一个j,从前往后记录匹配的括号 如果发现: 1. 括号匹配 2. i<j ok,就放入ans (⊙o⊙)…,最后记得sort一遍ans,第一 ......
获取图片并进行图片切换(FolderBrowserdDialog and OpenFileDialog用法)
winform布局如下图: 获取文件夹按钮,通过FolderBrowserDialog对话框,选择本地电脑文件路径,后台代码实现如下: private void button1_Click(object sender, EventArgs e) { folderBrowserDialog1.Desc ......
Windows ObjectType Hook 之 OkayToCloseProcedure
1、背景 Object Type Hook 是基于 Object Type的一种深入的 Hook,比起常用的 SSDT Hook 更为深入。 有关 Object Type 的分析见文章 《Windows驱动开发学习记录-ObjectType Hook之ObjectType结构相关分析》。 这里进行的 ......
Windows下,Jar包启动时,自定义cmd窗口名称
新建bat文件; 输入并替换内容; @echo offtitle API_XXXX-%date%-%time%-%cd%)java -Dfile.encoding=utf-8 -jar -Xms1024m -Xmx2048m -XX:PermSize=128M -XX:MaxPermSize=256 ......
CF390B Inna, Dima and Song Solution
转裁自我的洛谷博客 :https://www.luogu.com.cn/blog/653832/solution-cf390b 题目传送门 思路: 如果 $b_i \le 1$ 则无解。 如果 ceil((double)b[i]/2)>a[i],即最好情况下,两个人的音量平均,但是较大的音量还是大于 ......
CF1874F Jellyfish and OEIS
题意 给定一个序列 \(m\) ,你需要求出满足以下性质排列 \(p\) 的个数,对大质数取模: 对于任意 \(l,r\) ,\(p_{l...r}\) 为一个 \([l,r]\) 的排列与 \(r \le m_l\) 不同时成立。 Sol 考虑从题目的奇怪限制入手(也只能从这里入手),我们记一个区 ......
c: Analyzing text in window and Ubuntu
Ubuntu 22.4: /** * @file AnalyzingText.h * @brief Analyzing text * @author geovindu,Geovin Du,涂聚文 (geovindu@163.com) * ide: vscode c11,c17 Ubuntu 22.4 ......
win11右键添加wsl为快捷方式并保留windows terminal主题
小记一下折腾过程,参考了这两篇文章: https://www.cnblogs.com/heyingquan0210/articles/11874941.html https://blog.ichr.me/post/wsl-context-menu/ 效果预览如下: 右键也能实现在对应目录打开 装完w ......
在Windows命令行中是否有等同于'which'的命令?
内容来自 DOC https://q.houxu6.top/?s=在Windows命令行中是否有等同于'which'的命令? 由于我有时会遇到路径问题,即我的一个cmd脚本被另一个程序(在路径中更早出现)隐藏(遮蔽),因此我希望能够在Windows命令行中仅凭程序名称找到程序的完整路径。 在Wind ......
Windows系统 C/C++程序编译后首次执行时间很长 断网则正常执行 的解决方法
Windows系统 C/C++程序编译后首次执行时间很长 断网则正常执行 的解决方法 问题描述 运行环境:Win10、Win11或其他Win环境。 在各类IDE(包括但不限于VC6/Visual Stuido等)编译任意C/C++源码(无论该程序有多简单),首次运行时间异常地长,即在黑窗口无任何输出 ......
Gitlab加入LDAP认证 (windows AD)<03>
环境信息: 主机名称 IP 角色 AD-Server 192.168.61.237 AD服务器 gitlab 192.168.61.112 AD服务器 [root@gitlab ~]# curl -s https://packages.gitlab.com/install/repositories/ ......
Podman Installation for-windows
Podman Installation | Podman podman/docs/tutorials/podman-for-windows.md at main · containers/podman podman/docs/tutorials/podman-win-install.jpg at m ......
Windows Server2019安装MySQL8.0.32
安装包下载: https://downloads.mysql.com/archives/community/ 下载mysql-8.0.32-winx64.zip 1、制定目录配置 basedir=D:\\mysql8.0.32#mysql数据存放目录datadir=D:\\mysql8.0.32\\ ......
pgmodeler在windows的编译
笔者编译的版本为1.1.0-alpha1 安装msys2 下载见 msys2 可选 msys2换国内源这里使用北京外国语大学源 sed -i "s#https\?://mirror.msys2.org/#https://mirrors.bfsu.edu.cn/msys2/#g" /etc/pacma ......
c: c: Eclipse IDE for Embedded C and C++ Developers - 2023-09 in Ubuntu 24.0
创建文件夹mkdir Eclipse移动文件至/usr/Eclipse 文件夹路径mv eclipse-inst-jre-linux64.tar.gz /usr/Eclipse 解压文件tar -zxvf eclipse-inst-jre-linux64.tar.gz ......
Windows 11 搭建Stable Diffusion遇到的问题
趁着双11,将我的 i5 4690 + ddr3 4g x 2 换掉了,换成了 AMD 5600 + ddr4 x 2,另外加了个 1t 的 m2的ssd。 原先的硬件部分留下了: 500w的金河田电源 kingston sdd 128g系统启动盘保留 wd blue 1t 也保留下来,但是最近待机 ......