Skip to content

Instantly share code, notes, and snippets.

@tcminh1987
tcminh1987 / windows_activation.md
Created September 29, 2025 02:54 — forked from ryanhossain9797/windows_activation.md
Activate Windows for free

For Windows 10

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

@tcminh1987
tcminh1987 / reset-terminal-services.ps1
Created September 16, 2025 04:27 — forked from heywoodlh/reset-terminal-services.ps1
Script for renewing RDP License
## This Script is intended to be used for Querying remaining time and resetting Terminal Server (RDS) Grace Licensing Period to Default 120 Days.
## Developed by Prakash Kumar ([email protected]) May 28th 2016
## www.adminthing.blogspot.com
## Disclaimer: Please test this script in your test environment before executing on any production server.
## Author will not be responsible for any misuse/damage caused by using it.
Clear-Host
$ErrorActionPreference = "SilentlyContinue"
## Display current Status of remaining days from Grace period.
@tcminh1987
tcminh1987 / container_update.rsc
Created June 19, 2025 08:37 — forked from belthesar/container_update.rsc
Mikrotik Container Update Script
:local containerToUpdate
:set $containerToUpdate "name-of-container"
:local containerVeth
:set $containerVeth "container-veth-interface"
:local containerImage
:set $containerImage "org/image:tag"
:local containerEnvlist
@tcminh1987
tcminh1987 / hosts
Last active July 12, 2025 01:36
DNS
This file has been truncated, but you can view the full file.
# Title: StevenBlack/hosts
#
# This hosts file is a merged collection of hosts from reputable sources,
# with a dash of crowd sourcing via GitHub
#
# Date: 05 April 2025 23:36:51 (UTC)
# Number of unique domains: 133,640
#
# Fetch the latest version of this file: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
# Project home page: https://github.com/StevenBlack/hosts
@tcminh1987
tcminh1987 / vmware.md
Created December 6, 2024 07:18 — forked from ayebrian/vmware.md
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024
SQL Server 2017
----------------
Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83
Developer - 22222-00000-00000-00000-00000
Enterprise - TDKQD-PKV44-PJT4N-TCJG2-3YJ6B
Standard - PHDV4-3VJWD-N7JVP-FGPKY-XBV89
Web - WV79P-7K6YG-T7QFN-M3WHF-37BXC
https://www.teamos-hkrg.com/index.php?threads/microsoft-sql-server-english-2017-rtm-teamos.42103/
@tcminh1987
tcminh1987 / custom-telegram.py
Created October 23, 2024 01:34 — forked from vncloudsco/custom-telegram.py
Wazuh config integration alert telegram
#!/usr/bin/env python
import sys
import json
import requests
import logging
import urllib
import urllib2
from requests.auth import HTTPBasicAuth
reload(sys)
@tcminh1987
tcminh1987 / enterprise_token.rb
Created July 24, 2024 01:49 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ it doesn't show that enterprise mode is enabled in the settings, but all ################
############ enterprise mode features, such as KanBan boards, are enabled. ################
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2023 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.