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 / readme.md
Last active October 17, 2025 23:39
Orange Pi 5 Max Bluetooth solution

Orange Pi 5 Max solution:

I am using service to run this command to up and run Bluetooth on login screen:

I had run this command:

echo 'mmc2:0001:3' | sudo tee /sys/bus/sdio/drivers/btsdio/unbind
@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
@judero01col
judero01col / Service KMS
Last active December 5, 2025 09:53
Volume License Activation Key Service - KMS
## Find Available Target Editions
DISM.exe /Online /Get-TargetEditions
## Convert Server Standard 2019 Evaluation to Server Standard 2019
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
## How To Activate
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
@dotMorten
dotMorten / MSBuildCheatSheet.xml
Last active December 4, 2025 00:16
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>
@jerodg
jerodg / windows_and_office_kms_setup.adoc
Last active December 8, 2025 17:04
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

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