QZLin

2024年7月27日 #

ultra vnc viewer无法直接双击打开vnc配置

摘要: 需要修改注册表,为打开方式添加参数/config [HKEY_CLASSES_ROOT\Applications\vncviewer.exe\shell\open\command] @="\"xxxxxx\\vncviewer.exe\" /config \"%1\"" HKEY_CLASSES_R 阅读全文

posted @ 2024-07-27 13:04 QZLin 阅读(3) 评论(0) 推荐(0) 编辑

2024年7月17日 #

vmware安装在scsi磁盘上的grub无法发现/引导其它scsi磁盘

摘要: # 虚拟机盘结构 virtual-disk-1 (scsi,gpt) -- fat32 (EFI,grub) -- ext4 (empty) virutal-disk-2 (scsi,gpt) -- ext4 (ubuntu,system,rootfs) virtual-disk-3 (scsi,g 阅读全文

posted @ 2024-07-17 11:37 QZLin 阅读(1) 评论(0) 推荐(0) 编辑

2024年6月16日 #

VirtualBox删除虚拟网卡

摘要: VirtualBox好像没有类似vmware的图形化拟网络管理界面 在安装目录下: .\VBoxManage.exe hostonlyif remove "VirtualBox Host-Only Ethernet Adapter #2" 阅读全文

posted @ 2024-06-16 22:03 QZLin 阅读(6) 评论(0) 推荐(0) 编辑

2024年5月18日 #

imdisplay.exe不再作为imagemagick windows的一部分

摘要: imdisplay Shortcut "ImageMagick Display" is pointing to old version - 7.1.1.29 #7246 https://github.com/ImageMagick/ImageMagick/issues/7246 This is in 阅读全文

posted @ 2024-05-18 13:59 QZLin 阅读(3) 评论(0) 推荐(0) 编辑

2024年4月16日 #

windows openssh chsh pwsh

摘要: New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Program Files\PowerShell\7\pwsh.exe" -PropertyType String -Force New-Ite 阅读全文

posted @ 2024-04-16 23:48 QZLin 阅读(2) 评论(0) 推荐(0) 编辑

2024年3月3日 #

3proxy快速参考

摘要: socks5 example 3proxy --install 3proxy.cfg How to create user list(https://github.com/3proxy/3proxy/wiki/How-To-(incomplete)#USERS) # log service auth 阅读全文

posted @ 2024-03-03 17:38 QZLin 阅读(40) 评论(0) 推荐(0) 编辑

2024年2月5日 #

termux proot pwsh GC heap initialization failed with error 0x8007000E Failed to create CoreCLR, HRESULT: 0x8007000E

摘要: ^Github Issue GC heap initialization failed with error 0x8007000E Failed to create CoreCLR, HRESULT: 0x8007000E export DOTNET_GCHeapHardLimit=1C000000 阅读全文

posted @ 2024-02-05 17:57 QZLin 阅读(206) 评论(0) 推荐(0) 编辑

2023年12月2日 #

原生js+django POST csrf

摘要: 方法 headers POST请求携带header, formData = new Formdata(formElement) { 'headers': { "X-CSRFToken": formData.get('csrfmiddlewaretoken'), } } headers不设conten 阅读全文

posted @ 2023-12-02 10:41 QZLin 阅读(13) 评论(0) 推荐(0) 编辑

2023年11月4日 #

Powershell Get-Process get started process

摘要: 使用-PassThru参数,Start-Process就会传回process $proc = Start-Process ping -Args "1.1.1.1" -NoNewWindow -PassThru 阅读全文

posted @ 2023-11-04 12:27 QZLin 阅读(10) 评论(0) 推荐(0) 编辑

2023年9月24日 #

openwrt编译make menuconfig出错

摘要: make: *** No rule to make target 'menuconfig'. Stop. 原因 环境不是完整编译环境,而是imagebuilder环境 如解压的openwrt-imagebuilder-23.05.0-rc3-ramips-mt7620.Linux-x86_64.ta 阅读全文

posted @ 2023-09-24 17:02 QZLin 阅读(112) 评论(0) 推荐(0) 编辑

2023年8月17日 #

bios在dos环境下升级的另类办法(ventory+freedos)

摘要: 1. 首先下freedos,使用下到的iso (FD13LIVE.iso) 2. 将Bios升级文件(夹)注入到iso中(比如用ultraiso),并将iso复制到ventoy盘 3. 以**legacy**模式启动ventory,选择iso(不能用uefi) 4. 启动freedos,注入的文件和 阅读全文

posted @ 2023-08-17 10:46 QZLin 阅读(423) 评论(0) 推荐(0) 编辑

2023年8月16日 #

Alpine install to disk/Alpine安装到磁盘 (UEFI)

摘要: * alpine-standard-3.18.0_rc6-x86_64.iso * hyper-v * virtual-disk, max 1GB * hyper-v default NAT switch # 开始 添加光驱,并将其启动顺序调至最前 __,启动! 输入root直接登陆安装环境(无密码 阅读全文

posted @ 2023-08-16 04:42 QZLin 阅读(233) 评论(0) 推荐(0) 编辑

2023年8月3日 #

windows powershell scoop Get-Service

摘要: scoop 在执行时ps1`Get-Service`错误 `Get-Service: ServiceController enables manipulating and accessing Windows services and it is not applicable for other op 阅读全文

posted @ 2023-08-03 01:11 QZLin 阅读(90) 评论(0) 推荐(0) 编辑

2023年7月1日 #

magiskboot binary二进制文件

摘要: 其实`magisk.apk/lib//magiskboot.so`就是, `mv magiskboot.so magiskboot` `chmod 777 magiskboot` 有执行权限就行 阅读全文

posted @ 2023-07-01 01:28 QZLin 阅读(31) 评论(0) 推荐(0) 编辑

npm yarn npmmirror.com

摘要: ``` yarn config set registry https://registry.npmmirror.com -g yarn config set disturl https://npmmirror.com/dist -g yarn config set electron_mirror h 阅读全文

posted @ 2023-07-01 01:27 QZLin 阅读(46) 评论(0) 推荐(0) 编辑

2023年6月5日 #

3Proxy simple forward

摘要: ```conf logformat "L%y/%m/%d %H:%M:%S %C:%c-> %N://%e:%p-> %R:%r (%n:%q) %.ms" allow * parent 1000 socks5+ 127.0.0.1 1081 socks -l -p1080 ``` 阅读全文

posted @ 2023-06-05 13:53 QZLin 阅读(6) 评论(0) 推荐(0) 编辑

2023年6月3日 #

Padavan网络信息页面分析

摘要: ssh 到路由,找到Main_WStatus_Content.asp,发现这一段是动态生成的: <% nvram_dump("wlan11b.log",""); %> 关键是nvram_dump,在github https://github.com/hiboyhiboy/rt-n56u/ 上全文搜索 阅读全文

posted @ 2023-06-03 18:26 QZLin 阅读(68) 评论(0) 推荐(0) 编辑

2023年5月28日 #

Padavan export/import web configured dhcp static

摘要: ## get ```bash nvram showall | grep -E "dhcp_static(ip|mac|name|num)" ``` ## set `nvram set key=value` * example ``` nvram showall | grep -E "dhcp_sta 阅读全文

posted @ 2023-05-28 15:54 QZLin 阅读(11) 评论(0) 推荐(0) 编辑

2023年5月8日 #

C# File.WriteAllText utf-8 bom

摘要: using System; using System.IO; using System.Text; Encoding utf8bom = new UTF8Encoding(true) File.WriteAllText("path", "createText",utf8bom) 阅读全文

posted @ 2023-05-08 21:01 QZLin 阅读(110) 评论(0) 推荐(0) 编辑

2023年5月3日 #

Aria2 下载完立即退出

摘要: 开着rpc当然下载完不会退出了 --enable-rpc=false 阅读全文

posted @ 2023-05-03 18:54 QZLin 阅读(8) 评论(0) 推荐(0) 编辑

2023年4月13日 #

cmd dynamic request admin

摘要: %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1) 阅读全文

posted @ 2023-04-13 18:31 QZLin 阅读(6) 评论(0) 推荐(0) 编辑

2023年4月10日 #

My python logger formats

摘要: logging.basicConfig(format='[%(asctime)s %(levelname)s] [%(funcName)s]: %(message)s', datefmt='%H:%M:%S' 阅读全文

posted @ 2023-04-10 20:52 QZLin 阅读(10) 评论(0) 推荐(0) 编辑

2023年3月3日 #

debian 上 connman(d) 占用53端口

摘要: /usr/lib/systemd/systemconnman.service 在exec 后加 --nodnsproxy 阅读全文

posted @ 2023-03-03 20:46 QZLin 阅读(67) 评论(0) 推荐(0) 编辑

2023年2月28日 #

树莓派 换全部源

摘要: /etc/apt/sources.list sudo sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list (就是debian arm 源) security.debian.org sudo sed -i 's/: 阅读全文

posted @ 2023-02-28 21:44 QZLin 阅读(12) 评论(0) 推荐(0) 编辑

2023年2月22日 #

linux debian arm64 raspi mirror

摘要: sed replace sudo sed -i "s/deb.debian.org/mirrors.aliyun.com/g" /etc/apt/sources.list backup sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 阅读全文

posted @ 2023-02-22 15:06 QZLin 阅读(16) 评论(0) 推荐(0) 编辑

2023年1月31日 #

TLS造轮子

摘要: Python cryptography openssl & ssh-keygen 阅读全文

posted @ 2023-01-31 21:27 QZLin 阅读(3) 评论(0) 推荐(0) 编辑

2023年1月26日 #

ipv4 private range(prefix)

摘要: rfc1918 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 阅读全文

posted @ 2023-01-26 13:21 QZLin 阅读(15) 评论(0) 推荐(0) 编辑

numpy-1.24.1-cp312-cp312-win_amd64.whl

摘要: magnet:?xt=urn:btih:def38754961df019bbf8ee86399129c7e4df0c28&dn=numpy-1.24.1-cp312-cp312-win_amd64.whl def38754961df019bbf8ee86399129c7e4df0c28 阅读全文

posted @ 2023-01-26 02:00 QZLin 阅读(325) 评论(0) 推荐(0) 编辑

2023年1月16日 #

bookmark js write to clipboard

摘要: javascript: (function () { let text = "text"; navigator.clipboard.writeText(text) })() 阅读全文

posted @ 2023-01-16 19:46 QZLin 阅读(25) 评论(0) 推荐(0) 编辑

2022年12月21日 #

[Ubuntu 21.02] Build wine-8.0-rc1 from source

摘要: wiki 2 Build (x64 only) ./configure --enable-win64 sudo apt install clang sudo apt install flex bison libfreetype6-dev mingw-w64 Install missing depen 阅读全文

posted @ 2022-12-21 12:17 QZLin 阅读(119) 评论(0) 推荐(0) 编辑

2022年8月4日 #

linux archive filesystem like commands

摘要: zip ls `` create zip xx extract/copy/tree unzip xx tar extract to . tar -xf xx xz extract/mv xz -d xx gz extract/mv gz -d xx 7z ls 7z l xx add/copy/tr 阅读全文

posted @ 2022-08-04 09:14 QZLin 阅读(18) 评论(0) 推荐(0) 编辑

2022年6月29日 #

entware设置镜像源

摘要: 已有镜像站,本文失效 https://mirrors.bfsu.edu.cn/help/entware/ ^ https://github.com/Entware/Entware/issues/463#issuecomment-622892642 vi /opt/etc/opkg.conf 写入 s 阅读全文

posted @ 2022-06-29 23:16 QZLin 阅读(356) 评论(0) 推荐(0) 编辑

2022年6月25日 #

go 交叉编译设置 windows powershell

摘要: $env:CGO_ENABLED=0; $env:GOOS="linux"; $env:GOARCH="arm64" 阅读全文

posted @ 2022-06-25 23:15 QZLin 阅读(85) 评论(0) 推荐(0) 编辑

coredns源码构建记录&添加插件(>=win10,x64)

摘要: 推荐使用powershell7作为windows shell source github/coredns git clone https://github.com/coredns/coredns env toolchain go (golang) test go version dependenci 阅读全文

posted @ 2022-06-25 00:31 QZLin 阅读(91) 评论(0) 推荐(0) 编辑

2022年6月17日 #

mcedit2源码构建记录(>=win10,x64)

摘要: 推荐使用powershell7作为windows shell mcedit2 (github) clone git clone --depth=1 --recurse-submodules https://github.com/mcedit/mcedit2 python2 python 2.7.9 阅读全文

posted @ 2022-06-17 17:39 QZLin 阅读(49) 评论(0) 推荐(0) 编辑

2022年5月27日 #

en_win_xp_pro_x64_with_sp2_vl_X13-41611.iso

摘要: windows xp pro sp2 x64 没有官方的64位xp sp3?(待确认) en_win_xp_pro_x64_with_sp2_vl_X13-41611.iso magnet Link 点击查看代码 magnet:?xt=urn:btih:1551a05a9827a6e35a63331 阅读全文

posted @ 2022-05-27 10:26 QZLin 阅读(257) 评论(0) 推荐(0) 编辑

2022年5月15日 #

Onenote 代码高亮奇技淫巧🤣

摘要: 把代码放在一个1x1的表格内,并保留源格式🤣 阅读全文

posted @ 2022-05-15 18:39 QZLin 阅读(18) 评论(0) 推荐(0) 编辑

2022年5月5日 #

直接生成windows10/11微软下载链接(Powershell)

摘要: Fido 或者用UUPDump,如uupdump.cn/ 阅读全文

posted @ 2022-05-05 14:36 QZLin 阅读(19) 评论(0) 推荐(0) 编辑

2022年5月3日 #

解压(Inno Setup Module)bin

摘要: 用DIE扫描exe,确定是Inno Setup Module innounp, the Inno Setup Unpacker list files innounp.exe -v xx.exe extract to example folder innounp.exe -x xx.exe -dexa 阅读全文

posted @ 2022-05-03 21:44 QZLin 阅读(247) 评论(0) 推荐(0) 编辑

2022年4月30日 #

8050开关电路3V, 5V

摘要: ![image](https://img2022.cnblogs.com/blog/2414125/202204/2414125-20220430144057692-633897713.png) 阅读全文

posted @ 2022-04-30 14:41 QZLin 阅读(76) 评论(0) 推荐(0) 编辑

导航