Skip to content

Instantly share code, notes, and snippets.

View default-writer's full-sized avatar
🚩
creating an app

default-writer default-writer

🚩
creating an app
View GitHub Profile
@default-writer
default-writer / kms
Last active August 11, 2022 04:28 — forked from vikassaini01/kms
KMS server Windows
cscript c:\Windows\System32\slmgr.vbs -skms kms.digiboy.ir
Generic Volume License Keys (GVLK)
In the tables that follow, you will find the GVLKs for each version and edition of Windows. LTSC is Long-Term Servicing Channel, while LTSB is Long-Term Servicing Branch.
Windows Server (LTSC versions)
Windows Server 2022
Operating system edition KMS Client Product Key
Windows Server 2022 Datacenter WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Windows Server 2022 Standard VDYBN-27WPP-V4HQT-9VMD4-VMK7H
@dotMorten
dotMorten / MSBuildCheatSheet.xml
Created January 14, 2019 23:19
MSBuild Cheat Sheet
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
How to define a variable.
Just stick a new node in a property group.
-->
<PropertyGroup>
<!-- This node in a property group will define a variable -->
<TestVariable>Test Variable Value</TestVariable>

激活Office2016

网上找来的,详情查看:

免KMS,命令行激活office

管理员身份运行cmd,依次输入下面命令

slmgr.vbs -upk
slmgr.vbs -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX           #注意!!不同系统版本这里的激活码不一样,请往下翻寻找表格!
slmgr.vbs -skms kms.cangshui.net     
@jendas1
jendas1 / TimeDefs.h
Last active February 5, 2023 19:28
__TIME__ and __DATE__ formatting macros
//
// TimeDefs.h
//
// Created by Jan Studený on 15/03/15.
// based on http://stackoverflow.com/questions/11697820/how-to-use-date-and-time-predefined-macros-in-as-two-integers-then-stri
#ifndef TimeDefs_h
#define TimeDefs_h