QZLin

2022年4月30日 #

Powershell PSReadLine Complete Word(History) 根据历史补全词

摘要: 根据历史补全词(一次只补全部分) Set-PSReadLineKeyHandler -Key "Ctrl+RightArrow" -Function ForwardWord 搜索历史时(↑)移动光标到行未而不是行首 Set-PSReadLineOption -HistorySearchCursorM 阅读全文

posted @ 2022-04-30 02:56 QZLin 阅读(123) 评论(1) 推荐(1) 编辑

2022年4月13日 #

My Env Configures for Ubuntu

摘要: account & verify ssh-copy-id for windows Get-Content ~\.ssh\id_rsa.pub | ssh <user>@<hostname> "mkdir -p .ssh;cat >> .ssh/authorized_keys" new user wi 阅读全文

posted @ 2022-04-13 22:56 QZLin 阅读(17) 评论(0) 推荐(0) 编辑

ubuntu raspi arm64 apt source mirror

摘要: sudo sed -i 's/ports.ubuntu.com/repo.huaweicloud.com/g' /etc/apt/sources.list 阅读全文

posted @ 2022-04-13 20:24 QZLin 阅读(25) 评论(0) 推荐(0) 编辑

2022年4月12日 #

使Powershell ls(Get-ChildItem)命令输出易读的大小

摘要: ref: Show human-readable file sizes in the default PowerShell ls command 优化?的MyFileFormat.format.ps1xml <?xml version="1.0" encoding="utf-8" ?> <Confi 阅读全文

posted @ 2022-04-12 19:34 QZLin 阅读(149) 评论(0) 推荐(0) 编辑

2022年3月23日 #

qttabbar编译记录

摘要: Info: repo: qttabbar qttabbar#Build 安装 wix311.exe 安装 wix visual 插件 安装 visual studio 2010 百度网盘 拉取代码安装插件 NotifyPropertyWeaverVsPackage.vsix Qttabbar项目 添 阅读全文

posted @ 2022-03-23 00:48 QZLin 阅读(146) 评论(0) 推荐(0) 编辑

2022年2月19日 #

ip,子网掩码,前缀

摘要: e.g. Type IP(10) IP(2) IP 192.168.0.1 110000001010100000000000-[00000001] Subnet Mask 255.255.255.0 111111111111111111111111-[00000000] Prefix 192.168 阅读全文

posted @ 2022-02-19 17:47 QZLin 阅读(415) 评论(0) 推荐(0) 编辑

2022年2月12日 #

Windows Terminal 同一路径/复制/拆分标签页

摘要: Tutorial: Opening a tab/pane in the same directory in Windows Terminal Open new terminal tab in same directory as existing tab (OSC 7?) #3158 For CMD 阅读全文

posted @ 2022-02-12 14:02 QZLin 阅读(220) 评论(0) 推荐(0) 编辑

2022年2月1日 #

Windows 11 UAC/管理员权限授权/提权 窗口极慢

摘要: 临时解决方案 让UAC不变暗,等微软修复再改回来 ^ref 阅读全文

posted @ 2022-02-01 00:14 QZLin 阅读(141) 评论(0) 推荐(0) 编辑

2021年12月12日 #

Install forge for 1.18 mc server/为 1.18 的minecraft服务器安装forge

摘要: Forge server.jar java -jar forge-xxx-installer.jar --installServer 注意将jdk>=17添加到path, 然后运行run.bat或run.sh 阅读全文

posted @ 2021-12-12 11:58 QZLin 阅读(1065) 评论(0) 推荐(0) 编辑

2021年10月9日 #

rust cargo build some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified[待确认]

摘要: = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` fl 阅读全文

posted @ 2021-10-09 21:47 QZLin 阅读(971) 评论(0) 推荐(0) 编辑

2021年10月8日 #

测试Doh服务器

摘要: curl --http2 -H 'accept: application/dns-json' https://1.1.1.1/dns-query?name=cloudflare.com curl https://dns.alidns.com/resolve?name=taobao.com how-t 阅读全文

posted @ 2021-10-08 18:51 QZLin 阅读(1353) 评论(0) 推荐(0) 编辑

2021年10月7日 #

Visual Studio 2022 Preview 不支持dsp(dsw)

摘要: Visual Studio 2022 Preview 不支持dsp(dsw)项目 From vs 2019 Conversion from Visual C++ 6 projects (.dsp) is deprecated and will be removed in a future Visua 阅读全文

posted @ 2021-10-07 14:47 QZLin 阅读(2035) 评论(0) 推荐(0) 编辑

2021年9月30日 #

clang mingw wrap -target with cmd

摘要: File cl.cmd, location: [llvm]/bin clang.exe -target x86_64-w64-mingw32 %* According to the official Microsoft documentation: The %* batch parameter is 阅读全文

posted @ 2021-09-30 17:25 QZLin 阅读(35) 评论(0) 推荐(0) 编辑

2021年9月29日 #

NTFS 权限重置工具 ResetPermission

摘要: ResetPermission (c++ & cmd) 对C:\Windows文件夹有效 官网 Github (Release在ResetPermission/BIN/archive下) 阅读全文

posted @ 2021-09-29 23:30 QZLin 阅读(114) 评论(0) 推荐(0) 编辑

2021年9月28日 #

Windows python pip 使用mingw作为c/c++编译器

摘要: Setup Config Add mingw/bin to path Errors division by zero untwist/transforms/meddis.c:216:41: warning: division by zero [-Wdiv-by-zero] enum { __pyx_ 阅读全文

posted @ 2021-09-28 16:55 QZLin 阅读(526) 评论(0) 推荐(0) 编辑

Windows简单维护常用命令

摘要: Stage I Command Win + r 执行 控制面板 control 软件卸载 appwiz.cpl 网络 ncpa.cpl 系统属性(配置path) sysdm.cpl 任务计划 taskschd.msc 注册表 regedit Stage II Shell 脚本所在文件夹 cmd cd 阅读全文

posted @ 2021-09-28 16:49 QZLin 阅读(232) 评论(0) 推荐(0) 编辑

2021年9月27日 #

Powershell常用片段集锦

摘要: Powershell常用片段集锦 foreach in folder and replace Get-ChildItem | foreach {ffmpeg -i $_ ($_ -replace ".wav",".flac")} script file folder $PSScriptRoot re 阅读全文

posted @ 2021-09-27 20:56 QZLin 阅读(38) 评论(0) 推荐(0) 编辑

2021年7月8日 #

TWRP 要求密码解密data分区

摘要: 真的没加密手机 可尝试方法 try 1 刷出一个新一点的TWRP try 2 设一个带字母的锁屏密码,输入到TWRP 阅读全文

posted @ 2021-07-08 13:37 QZLin 阅读(6077) 评论(0) 推荐(0) 编辑

2021年7月7日 #

c# try catch 捕获Inner Exception

摘要: c# try catch 捕获Inner Exception 参考: how-to-catch-the-original-inner-exception-in-c TryFindInnerException /// <summary> /// Get a inner exception /// </ 阅读全文

posted @ 2021-07-07 20:23 QZLin 阅读(319) 评论(0) 推荐(0) 编辑

导航