博文

WIN10 LTSBLTSC 恢复使用照片查看器打开图片

WIN10 LTSBLTSC 恢复使用照片查看器打开图片 @echo off&cd\&color 0a&cls echo 恢复Win10照片查看器 reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpeg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".bmp" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".png" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".gif" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".ico" /t REG_S...

Install Shadowsocks-libev + simple-obfs on Ubuntu 16.04

Install shadowsocks-libev via Ubuntu PPA sudo apt-get install software-properties-common -y sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y sudo apt-get update sudo apt install shadowsocks-libev Install  simple-obfs apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev libev-dev asciidoc xmlto automake git clone https://github.com/shadowsocks/simple-obfs.git cd simple-obfs git submodule update --init --recursive ./autogen.sh ./configure && make make install Start  shadowsocks-libev  server systemctl enable shadowsocks-libev.service systemctl start shadowsocks-libev.service systemctl status shadowsocks-libev.service Install & enable BBR TCP congestion control apt install --install-recommends linux-generic-hwe-16.04 apt autoremove modprobe tcp_bbr echo " tcp_bbr " >> /etc/modules-load.d/modules.conf echo " net.core.default_qdisc=fq " >> /etc/sysctl.conf echo " net.ipv4.tcp_cong...

windowns桌面开机背景图片收藏地址

C:\Users\X-zero\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets 找到文件后直接重属名为.JPG

windows 10 激活码

Wins10企业版VOL版KMS客户端安装密钥GVLK: Windows 10 企业版:NPPR9-FWDCX-D2C8J-H872K-2YT43 Windows 10 企业版 N:DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 Windows 10 企业版 G:YYVX9-NTFWV-6MDM3-9PT4T-4M68B Windows 10 企业版 G N:44RPN-FTY23-9VTTB-MP9BX-T84FV Windows10 企业版长期服务支持分支版本: Windows 10 LTSC 2019 Windows 10 企业版 LTSC 2019:M7XTQ-FN8P6-TTKYV-9D4CC-J462D Windows 10 企业版 N LTSC 2019:2NFX-8DJQP-P6BBQ-THF9C-7CG2H Windows 10 LTSB 2016 Windows 10 企业版 LTSB 2016:DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ Windows 10 企业版 N LTSB 2016:FFDN-GRT3P-VKWWX-X7T3R-8B639 Windows 10 LTSB 2015 Windows 10 企业版 2015 长期服务:WNMTR-4C88C-JK8YV-HQ7T2-76DF9 Windows 10 企业版 2015 长期服务 N:2F77B-TNFGY-69QQF-B8YKP-D69TJ GVLK密钥通用批量许可证介绍: GVLK密钥是微软通用批量许可证密钥 , 在默认情况下此类密钥被用于批量授权版的操作系统通过KMS主机激活。 如果企业购买的授权是批量授权版例如批量授权专业版、批量授权教育版和企业版,那需要使用此密钥进行激活。 当然除KMS激活外批量授权版还可以使用多重激活密钥即 MAK 密钥进行激活 , 企业和教育机构可按需进行使用。 需要强调的是此类通用密钥仅用于激活安装用途,密钥本身无法激活,密钥安装后必须配合激活主机使用才可以。 以下是最新的Win10 LTSC/LTSB GVLK密钥: Windows 10 LTSC 2021长期服务版: M7XTQ-FN8P6-TTKYV-9D4CC-J462D Windows 10 LTSC 2021长期服务版 N: 92NFX-8DJQP-P6B...

网件R6220路由器刷机失败 路由器变砖恢复

第一步,下载netgear原厂固件,地址https://www.netgear.com/support/download/ 第二步,下载网件路由器救砖修复工具nmrpflash.exe 第三步,将路由器lan口用网线连到电脑网口,禁用电脑中其他不用的网卡 第四步,在电脑中以管理员方式运行cmd程序,在cmd中运行以下命令(假设下载的固件名为R6220-V1.1.0.114_1.0.1.img,修复工具名为nmrpflash.exe,均放在D盘): D:\nmrpflash.exe -i net0 -f D:\R6220-V1.1.0.114_1.0.1.img (如果提示wpcap.dll丢失,则下载安装winpcap) 第五步,运行上述命令后,立即给路由器通电开机,等待运行结果提示重启,就OK了,否则再试一次。  

The certificate of 'packages.sury.org' has expired.

图片
I have finally fixed it! The issue was the DST Root CA X3 cross-sign has expired To fix it on debian: run sudo dpkg-reconfigure ca-certificates uncheck mozilla/DST_Root_CA_X3.crt OK

Upgrade to Debian Version

apt-get update apt-get upgrade apt-get dist-upgrade Upgrade from Debian Jessie 8 to Debian 9 nano /etc/apt/sources.list deb http://httpredir.debian.org/debian stretch main contrib non-free deb http://httpredir.debian.org/debian stretch-updates main contrib non-free deb http://security.debian.org stretch/updates main contrib non-free apt-get update apt-get upgrade apt-get dist-upgrade cat /etc/os-release apt-get autoremove debian 9升级到debian 10 apt-get update && apt-get upgrade sed -i 's/stretch/buster/g' /etc/apt/sources.list apt-get update && apt-get upgrade apt-get dist-upgrade reboot lsb_release -a

怎么把100多个EXCEL文件合并成一个

方法一: 把所有EXCEL文件复制到同一目录下, 然后新建excel文件,在一个工作表格中 点击查看代码,把下面代码复制到文本框运行,即合并成功 ----------------------代码开始-------------------------------------------------- Sub 合并当前目录下所有工作簿的全部工作表() Dim MyPath, MyName, AWbName Dim Wb As workbook, WbN As String Dim G As Long Dim Num As Long Dim BOX As String Application.ScreenUpdating = False MyPath = ActiveWorkbook.Path MyName = Dir(MyPath & "\" & "*.xls") AWbName = ActiveWorkbook.Name Num = 0 Do While MyName <> "" If MyName <> AWbName Then Set Wb = Workbooks.Open(MyPath & "\" & MyName) Num = Num + 1 With Workbooks(1).ActiveSheet .Cells(.Range("B65536").End(xlUp).Row + 2, 1) = Left(MyName, Len(MyName) - 4) For G = 1 To Sheets.Count Wb.Sheets(G).UsedRange.Copy .Cells(.Range("B65536").End(xlUp).Row + 1, 1) Next WbN = WbN & Chr(13) & Wb.Name Wb.Close False End With End If MyName = Dir Loop Range("B1").Select Application.ScreenUpdating = True MsgBox "共合并...

debian8 最新安装及整理

安装中如果无法找到源,使用SOHU镜像源最好; apt update中出现问题 使用rm -r /var/cache/apt /var/lib/apt/lists 删除再更新 加入源好安装shadowsocks-libev  create /etc/apt/sources.list.d/jessie-backports.list deb http://archive.debian.org/debian jessie-backports main deb http://archive.debian.org/debian jessie-backports-sloppy main apt-get update -o Acquire::Check-Valid-Until=false  apt-get install shadowsocks-libev the -o Acquire::Check-Valid-Until=false is the key information. Hope it is helpful. 将内核更新至4.9以上 apt-cache search linux-image apt-get install -t jessie-backports linux-image-amd64 update-grub apt-get autoclean apt-get autoremove reboot dpkg -l|grep linux-image apt-get purge 开启bbr modprobe tcp_bbr echo "tcp_bbr" >> /etc/modules-load.d/modules.conf echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf 执行这个保存生效更改。 sysctl -p VPS提示: net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bb...