为什么要关闭Windows更新 微软有时候推送的更新会导致系统奔溃 影响正常工作、资料丢失 会有漏洞 更新失败导致的各种问题 关闭Windows更新之后会有什么影响 无法自动更新驱动程式 微软应用商店无法正常使用,微软商店的app 无法正常更新 无法自动更新.Net 运行库 我已经在设置里面关闭了自动更新, 它有效吗? 无用,Windows 的贴心服务会为你再次开启 如何彻底关闭Windows更新? 正常情况下 在系统设置、服务管理、注册表中设置好Windows的自动更新之后即可 在这里推荐使用sordum的 wub 软件的简单操作来实现一键关闭,而且永久有效哦。 复制下方链接到浏览器即可自动下载wub, 解压之后即可直接使用。 https://www.sordum.org/downloads/?st-windows-update-blocker

July 23, 2023 0comments 59hotness 0likes Read all

Introduction: So, you've got an amazing website that you want to share with the world? Fantastic! But how do you actually get it live on the internet? Don't worry, we've got you covered. In this guide, we'll take you through the exciting journey of getting your website published and accessible to everyone. Step 1: Register and Purchase a Domain Name: First things first, you need a unique domain name that represents your website. Choose a name that resonates with your brand and is easy to remember. Once you've found the perfect domain name, register it with a reliable domain registrar and complete the purchase. Voila, you've secured your online identity! Step 2: Register a Paid Web Host: To make your website accessible to users, you'll need a web hosting service. Consider registering with a paid web host, which offers advantages like better speed, more storage, and enhanced security features. Explore different hosting providers, compare their offerings, and choose the one that best fits your needs. Step 3: Free Web Hosting Alternatives: If you're on a tight budget or just starting out, free web hosting options can be a great alternative. Platforms like Github Pages or services like Cloudflare offer free hosting for static websites. Keep in mind that free hosting may have limitations, such as limited storage or ads on your site, but it's a good starting point. Step 4: Configure Your Domain's A Record: Now that you have your domain and hosting sorted, it's time to connect them. To do this, you'll need to configure your domain's A record.…

May 30, 2023 0comments 33hotness 0likes Read all

SQL Server installation note SQL Server & SQL Server Manager SQL Server Download (Choose SQL Server 2022 Developer) https://www.microsoft.com/en-us/sql-server/sql-server-downloads SQL Server Manager Download https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver16 After installed SQL Server you can see SQL Server 2022 Configuration Manager In computer manager , find Service and Applications Change SQL Server Browser to Automatic and start it / Then back to SQL server managere You can see SQL Server Browser is display on SQL Server Services Windows Authentication Mode and SQL Server Authentication Mode https://learn.microsoft.com/en-us/sql/relational-databases/security/choose-an-authentication-mode?view=sql-server-ver16 During setup, you must select an authentication mode for the Database Engine. There are two possible modes: Windows Authentication mode and mixed mode. Windows Authentication mode enables Windows Authentication and disables SQL Server Authentication. Mixed mode enables both Windows Authentication and SQL Server Authentication. Windows Authentication is always available and cannot be disabled After the setup is complete, Please remember restart SQL Server service Then try to connect SQL server use SQL Server Authentication In Visual Studio 2022 Complete

April 24, 2023 0comments 35hotness 0likes Read all

ReIcon 一款桌面图标整理和布局软件 软件介绍 Reicon是便携式免费软件,使您能够保存和还原桌面布局。 如果您经常更改屏幕分辨率(例如,玩游戏或使用需要特定分辨率的应用程序),则您可能会熟悉桌面图标的问题,因为您切换回正常的分辨率后会陷入混乱。 Reicon通过允许您保存桌面布局来解决此问题,然后单击按钮(或使用右键单击上下文菜单)还原它。 Reicon非常易于使用。 设置您的图标,按照您喜欢它们的方式,保存布局,然后在需要时稍后还原该布局。 如何使用 GUI操作 将你想要的图标位置摆至你想要的坐标 点开Reicon程序,将布局保存好 选择你想要恢复的布局 ,在布局列表中鼠标右键选择恢复即可 命令行使用 Reicon还支持命令行操作 以下是命令操作指南 Usage: <command> [<additional commands>] Commands: /S : Save desktop icons layout /R : Restore desktop icon layout /File : Icon layout file location /ID : Desktop icon layout ID or order /Name : Desktop icon layout name Examples: ReIcon_x64.exe /S ReIcon_x64.exe /S /File C:\Test.ini /Name New icon layout /ID abc ReIcon_x64.exe /R ReIcon_x64.exe /R /ID abc ReIcon_x64.exe /R /ID 1 ReIcon_x64.exe /R /File C:\Test.ini /ID abc 以下批处理示例了使用Reicon命令行恢复图标布局 D:\ReIcon\ReIcon\ReIcon_x64.exe /R /ID nmj 更多用法可以参考软件官方说明: https://www.sordum.org/8366/reicon-v2-0-restore-desktop-icon-layouts/ 参考:https://www.sordum.org/8366/reicon-v2-0-restore-desktop-icon-layouts/

March 5, 2023 0comments 30hotness 0likes Read all

Windows11 基本设置 Windows11 鼠标右键显示更多选项 以管理员权限运行终端 在终端中输入以下内容 回车 系统会提示操作完成 reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve 操作完成之后重启exporer进程即可 Windwos11 安装系统跳过联机账户登录 安装Windows 11时 将设备离线 按住Shift+F10 呼出终端界面 在终端界面中输入一下内容 然后回车 oobe\BypassNRO.cmd 设备会自动重启,重启完成之后即可

February 24, 2023 0comments 47hotness 0likes Read all

CUP 安装笔记 CUP 介绍 CUPS 是Apple inc 开源的打印服务 ,你可以将它部署在您的局域网内,将打印机接入该服务器,其它工作站可以通过局域网来访问打印机。 Official website: http://www.cups.org/index.html Github page: https://github.com/apple/cups CUPS支持局域网内打印服务共享,无需再繁琐的设置打印机共享了,并且还能将老打印机也接入局域网。同时还支持mac os, linux,windows,安卓以及ios air print; 笔记概要 Linux服务器版本 Ubuntu 18.4 下载并安装CUP CUP配置修改 使用WEB GUI 添加打印机 通过局域网访问打印机 配置文件说明 下载安装 sudo apt-get install cups cups-pdf cups-bsd #下载安装 CUP 配置修改 sudo cp /etc/cups/cupsd.conf cupsd.conf.bak #备份配置文件 sudo nano /etc/cups/cupsd.conf #修改配置文件 # 1. Configuration file for the CUPS scheduler. See "man cupsd.conf" for a 1. complete description of this file. 1. 1. Log general information in error_log - change "warn" to "debug" 1. for troubleshooting... LogLevel warn PageLogFormat 1. Deactivate CUPS' internal logrotating, as we provide a better one, especially 1. LogLevel debug2 gets usable now MaxLogSize 0 1. Only listen for connections from the local machine. Listen 631 #更改监听端口 Listen /run/cups/cups.sock 1. Show shared printers on the local network. Browsing on #打开局域网发现打印机 BrowseLocalProtocols dnssd 1. Default authentication type, when authentication is required... DefaultAuthType Basic 1. Web interface setting... WebInterface Yes 1. Restrict access to the server... <Location /> #Order allow,deny Allow @LOCAL #允许LOCAL </Location> 1. Restrict access to the admin pages... <Location /admin> #Order allow,deny Allow @LOCAL #同上 </Location> 1. Restrict access to configuration files... <Location /admin/conf> #AuthType Default 1. Require user @SYSTEM #Order allow,deny Allow @LOCAL </Location> 1. Restrict access to log files... <Location /admin/log> #AuthType Default #Require user @SYSTEM #Order allow,deny Allow @LOCAL </Location> 修改完配置之后重启服务 sudo systemctl retsart cups #重启服务 sudo systemctl enable cups #设置开机启动 到这里就可以使用局域网访问WEBGUI并添加打印机 配置文件说明 MaxLogSize 2000000000 #最大日志,当日志文件超过此值时,开始循环 LogLevel info #需要记录的日志等级 SystemGroup sys root #CUPS的系统管理组名称 Listen localhost:631 #WEB管理监听的IP和端口号 Browsing On #允许客户端浏览打印机 BrowseOrder allow,deny #访问权限设置,deny列表取代allow BrowseAllow @LOCAL #除了以@LOCAL结尾的帐号外 DefaultAuthType Basic <Location /> #系统默认认证 Order allow,deny Allow localhost…

January 20, 2023 0comments 36hotness 0likes Read all

公有云安装Panabit 专业版 笔记 Release date: Dec 22,2022 Th . Panabit Version: R0.00[TANG(大唐)r3],Build date 20221031.132102 [Linux 3.10]Author: Duke Hsu 此笔记记录了使用单网卡轻量云服务器安装panabit的过程。 准备工作 云服务器 操作系统: Centos 7.6 x64配置: 2C 8G 1 eth Panabit 材料 Panabit一键上传 云服务器工具(包含安装和解压 GUI.exe)Panabit专业版Linux安装包(LPanabitOEM_WUDAIr1_20201125_Linux3.tar.gz)云服务器的IP地址和密码云服务器需要开启SSH 端口和服务 安装步骤 云服务器初始化 关闭防火墙 #停止防火墙 systemctl stop firewalld #关闭开机自启动 systemctl disable firewalld 检查网卡配置 #打印IP地址信息 ifconfig #查看网卡详细信息(ifcfg-eth0为网卡名,有些不一样,视情况而定) cat /etc/sysconfig/network-scripts/ifcfg-eth0 记录下来IP地址信息以备稍后做Panabit配置使用 Panabit安装 使用GUI.exe 工具根据提示 将安装包上传到云服务器 全自动安装 重启服务器之后即可使用web登入Panabit进行管理 如果无法访问请检查管理口名称是否与云服务器网卡名不一致 如果提示安全问题,请使用低版本的chrome浏览器访问,比如360急速浏览器 Panabit 配置 网络接口配置 在将eth接口方向更改为接外 在应用路由-接口线路-WAN线路 添加一个接口 如下图 请注意 WAN线路的IP地址是填写云服务器的内网地址 需要克隆mac地址 使用ping来验证配置是否正确有效 SD-WAN配置 在panabit中 他们把整合进panabit的sd-wan功能称为 iWAN服务,win客户端基于gretunnel协议(wintun.dll)进行与服务端通信(若有误请删除) Panabit 的SD-WAN服务端配置 用户认证-账号管理-组织构架创建组织构架> 添加用户组 >为用户组设置地址池 用户认证-账号管理-组织构架-本地账号添加用户账号-设定用户组-其它信息 应用路由-iWAN服务-服务列表 新增一个iWAN服务-设置服务名称和网关(服务网关和地址池不能与其他内网冲突) 应用路由-iWAN服务-服务映射 将你设置好的服务名称。设置好你需要的服务端口,然后点击添加即可 请注意 需要在云服务防火墙中配置允许改端口访问权限 UDP&TCP 应用路由-策略路由-IPv4路由 添加一个策略将iWAN的服务网关转发到WAN(如果你有多条线路可以设置你想要的线路) 跟着以上步骤,Pnabait的SD-WAN服务端就配置完成了。在客户端,Pnabit提供了多平台,多方式的连接方案 Linux客户端 Windows客户端 Panabit所有版本 都有提供iWAN接口的选项 SD-WAN客户端连接 Panabit设备 应用路由-接口线路-WAN线路 新增一条iWAN类型的外网线路 ,设置好服务端地址和端口以及MTU ,账号密码,连通之后你可以使用ping来验证是否工作。 请注意 如果无法连接 请检查服务端地址池配置是否有冲突 账号密码是否不正确 云服务防火墙是否已经配置并允许服务端口 无法上网请检查应用路由中的策略路由是否配置了转发 至此,在公有云中安装Panabit并配置SD-WAN的笔记就完成了。我使用一张网卡配置完成SD-WAN 比官方说明的需求的3-4张网卡成本更低。当然目前业务量小,还没出现问题。不知道到当业务量大了之后会不会出现其它问题。

December 22, 2022 1comments 57hotness 0likes Read all

由于某些游戏在运行时候会检测显卡驱动版本,如果不是最新版本就需要更新,某些时候太麻烦了,索性使用批处理更改文件名来实现跳过显卡驱动版本检测。下面的示例以Windows操作系统为主。 Tips: 将下面的命令保存为批处理(bat)格式的文件即可在Windows下执行。 重命名NVAPI文件 if exist C:\Windows\System32\nvapi64.Old goto Old chdir /d C:\Windows\System32 ren nvapi64.dll nvapi64.Old echo @ Named pause goto End 恢复NVAPI文件名 :Old chdir /d C:\Windows\System32 ren nvapi64.Old nvapi64.dll echo @ Renamed pause goto End :End

November 17, 2022 0comments 33hotness 0likes Read all

TCPING介绍 tcping 是由美国人 Eli Fulkerson先生用C++ 编写的一个开源网络检测工具;你可以下载可执行文件, 也可以下载源码自行编译。 Offical website: https://download.elifulkerson.com/files/tcping/0.39/ tcping和ping类似,也是用于检测网络连通性的一个工具。不同于ping的是,tcping 可以检查端口,更多的用法请在程序中执行 ? 来查阅。 程序的帮助信息 使用tcping检测应用程序的端口延迟 从Eli Fulkerson 的网站下载下来,通过命令行的方式来运行 在程序所在目录输入程序 和目标地址进行检测 .\tcping.exe google.com 443 //.\tcping.exe 目标地址/域名 目标端口 即可获得结果,也可以在程序后面添加参数 .\tcping.exe -t google.com 443 //.\tcping.exe -t 目标地址/域名 目标端口 (-t长ping) .\tcping.exe -h google.com //.\tcping.exe -h 目标地址/域名 目标端口 示例图 使用tcping来检查网络游戏的网络波动 当我接到有用户反馈网络游戏延迟高或者连接不上的时候,通常我会使用tcping,tracert,nslookup,ping 这几个命令来协助排查故障;总结一下几个步骤如下 拿到与游戏相关的服务器地址有时候游戏服务器是通过域名连接,我会使用nslookup检查解析地址 使用ping检查基本的延迟状态有些游戏服务器禁ping,我会使用tracert 来跟踪路由,顺便找一下游戏连接的端口(后面使用tcping检查端口) 使用tracert跟踪路由运营商链路调整 有时候会影响游戏体验;某个节点断掉tracert可以协助你判断路由节点的问题 使用tcping检查游戏服务器端口延迟和是否开放有些游戏是UDP协议,我会用hping,或者nc。基本上tcping已经很够用所以我这里只介绍tcping。 前面的文章 使用 PsPing进行网络测试https://www.itiohub.com/share/psping.html 以上所述内容均以Windows操作系统为主。如果你有其它更好用的工具 ,欢迎在下方留言分享。

November 15, 2022 0comments 36hotness 0likes Read all

What is Classes in C#? Objects Access Modifiers https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/access-modifiers https://www.cnblogs.com/xinaixia/p/5775471.html Code using System; //class declaration public class Car { //instance 6 variables String name; String color; String transmission; String bodytype; int seat; int year; //constructor declaration of class public Car(String name, String color, String transmission, String bodytype, int seat, int year) { this.name = name; this.color = color; this.transmission = transmission; this.bodytype = bodytype; this.seat = seat; this.year = year; } //property 6 public String getName() { return name; } public String getColor() { return color; } public String getTransmission() { return transmission; } public String getType() { return bodytype; } public int getSeat() { return seat; } public int getYear() { return year; } //method public String ToString() { return ("This is Car detail- CarName:" + this.getName() + "\n Color :" + this.getColor() + "\n Transmission: " + this.getTransmission() + "\n Body type: " + this.getType() + "\n Seat : " + this.getSeat() + "\n Year: " + this.getYear())+"\n ================="; } //main method public static void Main(string[] args) { // 5 object Car Toyota = new Car("Toyota Rush", "Silver", "Auto", "SUV", 7, 2020); Car Bmw = new Car("BMX X1", "Silver", "Auto", "SUV", 7, 2022); Car Honda = new Car("Accord", "Black", "Auto", "Sedan", 4, 2016); Car Tesla = new Car("Tesla S", "Red", "Auto", "Sedan", 4, 2017); Car Mazda = new Car("Mazda 929 Legato", "White", "Manual", "Sedan", 4, 1980); //output Console.WriteLine(Toyota.ToString()); Console.WriteLine(Bmw.ToString()); Console.WriteLine(Honda.ToString()); Console.WriteLine(Tesla.ToString()); Console.WriteLine(Mazda.ToString()); Console.WriteLine("==============\n Thank you !"); //out put date and time DateTime now = DateTime.Now; Console.WriteLine("Print date: " + now); Console.ReadLine(); } }

October 20, 2022 0comments 38hotness 0likes Read all
1234513