Skip to content

Instantly share code, notes, and snippets.

@haidang10897
haidang10897 / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Created July 1, 2023 06:05
Activate Windows 8, 8.1, 10 and 11 Pro for Free

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:

Windows key buttons

- Windows 11

- Windows 10

@haidang10897
haidang10897 / README.md
Created April 12, 2022 09:34 — forked from LM1LC3N7/README.md
SSH PAM module - Telegram Alert on connect and disconnect, with IP exceptions.

SSH Telegram configuration

telegram

Bot creation

  1. Open your app and search for @BotFather, or open this link: https://telegram.me/botfather.
  2. Type /newbot
  3. Name your new bot (this is the contact name, like "Bot My server")
  4. Give it a unique Telegram name, ending with bot(like "my_server_bot")
  5. Now, you should see a token: keep it safe!
@haidang10897
haidang10897 / vault_logrotate
Created February 7, 2022 01:54 — forked from soloradish/vault_logrotate
logrotate setting file for HashiCorp's Vault audit file
# Change the path below to your own audit log path.
/var/log/vault/audit.log {
rotate 30
daily
# Do not execute rotate if the log file is empty.
notifempty
missingok
compress
# Set compress on next rotate cycl to prevent entry loss when performing compression.
delaycompress
@haidang10897
haidang10897 / rke2-commands.md
Created November 1, 2021 02:00 — forked from superseb/rke2-commands.md
RKE2 commands

RKE2 commands

Install

curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
@haidang10897
haidang10897 / benchmark-commands.txt
Created July 14, 2021 02:01 — forked from jkreps/benchmark-commands.txt
Kafka Benchmark Commands
Producer
Setup
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3
Single thread, no replication
bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196