Misc-Plan
激活
注意 : Windows 系统和 Microsoft Office 软件都必须是 VOL 版本.
Wind4/vlmcsd - kms 服务器
TGSAN/CMWTAT_Digital_Edition - 数字权利激活工具
kkkgo/KMS_VL_ALL - kms 激活脚本
massgravel/Microsoft-Activation-Scripts - A collection of scripts for activating Microsoft products using HWID / KMS38 / Online KMS activation methods with a focus on open-source code, fewer antivirus detections and user-friendliness.
激活 Windows
用管理员权限运行 CMD 或 PowerShell,输入如下命令:
slmgr /skms xxx.xxx.xxx.xxx
slmgr /ato
slmgr /xpr验证一下是否激活 : slmgr.vbs -dlv
激活 Office
用管理员权限运行 CMD 或 PowerShell,输入如下命令:
# 进入office 安装目录
cd "C:\Program Files(x86)\Microsoft Office\Office16"
# 注册 kms 服务器地址
cscript ospp.vbs /sethst:xxx.xxx.xxx.xxx
# 执行激活
cscript ospp.vbs /act
# 查看状态
CSCRIPT OSPP.VBS /DSTATUS愉快使用网易云音乐
centos 环境
客户端
配置 http 代理 IP:18080
DNS
快速刷新 DNS 缓存
软件方案
DnsJumper (windows 下快速配置 DNS)
chengr28/Pcap_DNSProxy (DNS 代理)
bitbeans/SimpleDnsCrypt (图形化的 DNS 代理,感觉没上面两个好用)
自建DNS服务
DNS 服务器推荐
国内:223.5.5.5、114.114.114.114
全球:208.67.222.222、208.67.220.220、1.1.1.1
各种代理/源
https://github.com/eryajf/Thanks-Mirror
https://github.com/comwrg/package-manager-proxy-settings
Git
Homebrew
Docker
阿里云 : https://cr.console.aliyun.com/#/accelerator
DaoCloud : https://www.daocloud.io/mirror#accelerator-doc
中科大 : https://lug.ustc.edu.cn/wiki/mirrors/help/docker
网易 : http://hub-mirror.c.163.com
linux
docker info 检查加速器是否生效
windows
对于 Windows 10 以上的用户 推荐使用 Docker for Windows Windows 安装文件:http://mirrors.aliyun.com/docker-toolbox/windows/docker-for-windows/
在系统右下角托盘图标内右键菜单选择 Settings,打开配置窗口后左侧导航菜单选择 Docker Daemon.编辑窗口内的 JSON 串,填写下方加速器地址: { "registry-mirrors": ["https://<你的>.mirror.aliyuncs.com"] } 编辑完成后点击 Apply 保存按钮,等待 Docker 重启并应用配置的镜像加速器.
node&js
pip
常用的国内镜像包括:
阿里云 http://mirrors.aliyun.com/pypi/simple/
豆瓣 http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
华中科技大学 http://pypi.hustunique.com/
临时使用:
可以在使用 pip 的时候,加上参数 -i 和镜像地址
https://pypi.tuna.tsinghua.edu.cn/simple例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pandas,这样就会从清华镜像安装 pandas 库.永久修改,一劳永逸:
Linux 和 Mac 下,修改 ~/.pip/pip.conf (没有就创建一个文件夹及文件.文件夹要加".",表示是隐藏文件夹)
windows 下,直接在 user 目录中创建一个 pip 目录,如:C:\Users\xx\pip,然后新建文件 pip.ini,即 %HOMEPATH%\pip\pip.ini,在 pip.ini 文件中输入以下内容:
终端
windows
cmd
powershell
linux
proxychains
详细安装步骤请移步运维-->Linux-->Power-Linux.md
使用方法:
在需要代理的命令前加上 proxychains4,如 :
proxychains4 wget http://xxx.com/xxx.zipTips:
如果嫌每次命令前加上 proxychain4 麻烦,可以
proxychains4 bash这样 DLL 注入的 bash 里的命令都会走代理.
GO
goproxy
https://goproxy.io/
linux
windows
GoLand
Setting-->Appearance & Behavior-->System Setting-->HTTP Proxy
Chocolatey
https://docs.chocolatey.org/en-us/guides/usage/proxy-settings-for-chocolatey#system-proxy-settings
java
来自文章 : https://mp.weixin.qq.com/s/pVAZvKADFVwPOC4CwrCooQ
命令行挂Socks5代理
命令行挂HTTP代理
HTTPS代理设置如下:
jar使用系统代理
vscode
谁和我一起吹 vscode 我们就是永远的好朋友🤞
Font
https://github.com/tonsky/FiraCode
https://github.com/adobe-fonts/source-code-pro
配置
Extensions
notepad++
Theme
https://github.com/chriskempson/tomorrow-theme/tree/master/notepad%2B%2B
ffmpeg
视频剪切
格式转换
视频合并
TS 格式转 MP4 格式
视频压缩
常规用法
其他用法
Jetbrains
datagrip 离线安装驱动 jar
提取已经安装的 jar,拷贝数据库驱动文件到另一台电脑的当前用户 .DataGrip2019.2\config\jdbc-drivers 路径地址
重启 DataGrip,左侧的 Database 标签页 -> + 按钮 -> Driver and Data Source ,选中指定数据库类型,点击 Switch to ver. xxx 即可
win10
关闭晃动窗口最小化
运行 gpedit.msc 打开组策略编辑器,展开 用户配置 -> 管理模版 -> 桌面,可以在右边区域找到 “关闭 Aero Shake 窗口最小化鼠标手势” 的项目,它的默认状态为 “未配置”,在未配置的情况下,Aero Shake 的功能是默认开启的, 设置为“已启用” 即可
audiodg 无响应
安装 chocolatey
如果没有报错就可以用 choch 进行软件的安装了
家庭版开启 rdp 功能
https://github.com/stascorp/rdpwrap
https://github.com/asmtron/rdpwrap/blob/master/binary-download.md
运行 autoupdate.bat 时, 如果一直卡在网络检测的地方, 直接修改脚本 282 行
ping google.com, 改为ping 127.0.0.1就行,顺便吧几个下载的地址转为国内可以访问的地址如果检查项全部ok,还是连接不了,打开管理员cmd
重启在尝试