npm config set registry https://registry.npmmirror.com
npm config set disturl https://npmmirror.com/mirrors/node
npm config set electron_mirror https://registry.npmmirror.com/electron/
npm config set chromedriver_cdnurl https://registry.npmmirror.com/chromedriver/
npm config set sass_binary_site https://registry.npmmirror.com/node-sass/
npm config set phantomjs_cdnurl https://registry.npmmirror.com/phantomjs/
npm config set puppeteer_download_host https://registry.npmmirror.com/mirrors/
npm config set selenium_cdnurl https://registry.npmmirror.com/selenium/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[custom] | |
;geoc自定义规则 | |
;设置规则标志位 | |
;以下规则,按照从上往下的顺序遍历,优先命中上位规则 | |
;修改顺序会影响分流效果 | |
ruleset=🎯 全球直连,https://ghproxy.conns.eu.org/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Lan/Lan.list | |
ruleset=🎯 全球直连,https://ghproxy.conns.eu.org/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Direct/Direct.list | |
ruleset=🎯 全球直连,https://ghproxy.conns.eu.org/https://raw.githubusercontent.com/connself/rules/refs/heads/main/Custom_Direct.list | |
ruleset=🚀 节点选择,https://ghproxy.conns.eu.org/https://raw.githubusercontent.com/connself/rules/refs/heads/main/Custom_Proxy.list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# URL: https://github.com/roacn/build-actions | |
# Description: AutoUpdate for Openwrt | |
# Author: Ss. | |
# Please use the PVE command line to run the shell script. | |
export Openwrt_Path="/tmp/openwrt" | |
export Download_Path="/tmp/openwrt/download" | |
export Creatlxc_Path="/tmp/openwrt/creatlxc" | |
export Backup_Path="/tmp/openwrt/backup" | |
export LANG=en_US.UTF-8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Globalization; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Xml; |
- 下载地址:https://dev.mysql.com/downloads/mysql
- 解压包,放置一个目录下(不含中文或空格的路径)
- 在 bin 同级目录创建 my.ini 文件和 data 文件夹
- my.ini 文件内容
[mysqld]
# 设置3306端口
port=3306
# 设置mysql的安装目录
basedir=E:\\mysql-8.0.22-winx64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
title Install IIS | |
color 5f | |
echo.---------- Install IIS about 3-5 Minutes | |
echo. | |
dism /Online /Enable-Feature /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-ASP /FeatureName:IIS-ASPNET /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-CGI /FeatureName:IIS-ClientCertificateMappingAuthentication /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-CustomLogging /FeatureName:IIS-DefaultDocument /FeatureName:IIS-DigestAuthentication /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-FTPExtensibility /FeatureName:IIS-FTPServer /FeatureName:IIS-FTPSvc /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HostableWebCore /FeatureName:IIS-HttpCompressionDynamic /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpLogging /FeatureName:IIS-HttpRedirect /FeatureName:IIS-HttpTracing /FeatureName:IIS-IIS6ManagementCompatibility /FeatureName:IIS-IISCertificateMappingAuthentication /FeatureName:IIS-IPSecurity /F |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
title .NET Framework Register IIS | |
color 5f | |
echo.---------- .NET Framework v2 Register IIS | |
echo. | |
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i | |
%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: 显示监听的IP列表 | |
netsh http show iplisten | |
:: 添加监听IP | |
netsh http add iplisten ipaddress=127.0.0.1 | |
:: 删除监听IP | |
netsh http delete iplisten 127.0.0.1 |