Skip to content

Instantly share code, notes, and snippets.

View ChandanShakya's full-sized avatar
💤
Sleeping

Chandan Shakya ChandanShakya

💤
Sleeping
View GitHub Profile
@ChandanShakya
ChandanShakya / windows_activation.md
Created September 12, 2022 12:31
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:

@ChandanShakya
ChandanShakya / st.py
Created May 24, 2022 04:21
Python script to do speedtest using speedtest-cli
from speedtest import Speedtest
st = Speedtest()
# Download speed in Mbps
download = round(st.download() / 10**6, 2)
# Upload speed in Mbps
upload = round(st.upload() / 10**6, 2)
# Ping in ms
@ChandanShakya
ChandanShakya / Dark.user.js
Last active July 11, 2023 18:17
Stripped Dark Reader UserScript (Global Dark Mode)
// ==UserScript==
// @name Dark Reader (Unofficial)
// @icon https://darkreader.org/images/darkreader-icon-256x256.png
// @namespace DarkReader
// @description Inverts the brightness of pages to reduce eye strain
// @version 4.7.15
// @author https://github.com/darkreader/darkreader#contributors
// @homepageURL https://darkreader.org/ | https://github.com/darkreader/darkreader
// @run-at document-end
// @grant none