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 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 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 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 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 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 |