Skip to content

Instantly share code, notes, and snippets.

@aravindnc
aravindnc / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Created February 19, 2024 17:15
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

@Aditi3
Aditi3 / GitCommitPractices.md
Created July 7, 2023 15:29
Git Commit Best Practices

Git Commit Best Practices - How to Write Meaningful Commits

The purpose of this gist is to gather the best practices for using git in one convenient location and to educate more people about the standards. Especially when collaborating with others, it is essential to establish conventions to follow.

Commit Message norms

1. Make clean, single-purpose commits

A commit should be a wrapper for related changes. For example, fixing two different bugs should produce two separate commits. It is better to keep commits as small and focused as possible for many reasons, some of them include:

Foreward

This document was originally written several years ago. At the time I was working as an execution core verification engineer at Arm. The following points are coloured heavily by working in and around the execution cores of various processors. Apply a pinch of salt; points contain varying degrees of opinion.

It is still my opinion that RISC-V could be much better designed; though I will also say that if I was building a 32 or 64-bit CPU today I'd likely implement the architecture to benefit from the existing tooling.

Mostly based upon the RISC-V ISA spec v2.0. Some updates have been made for v2.2

Original Foreword: Some Opinion

The RISC-V ISA has pursued minimalism to a fault. There is a large emphasis on minimizing instruction count, normalizing encoding, etc. This pursuit of minimalism has resulted in false orthogonalities (such as reusing the same instruction for branches, calls and returns) and a requirement for superfluous instructions which impacts code density both in terms of size and

Proxmox VE tips

Just some tips I gathered over time. All in one easily reachable place so I can share it wherever I want.

Please note that unless you see a shebang (#!/...) these code blocks are usually meant to be copy & pasted directly into the shell. Some of the steps will not work if you run part of them in a script and copy paste other ones as they rely on variables set before.
The { and } surrounding some scripts are meant to avoid poisoning your bash history with individual commands, etc. You can ignore them if you manually copy paste the individual commands.
I chose to write things "in the open" that way so there's still some control and things don't become a black box.

Table of contents

@adinata-id
adinata-id / bwtest.txt
Last active March 27, 2026 18:07
Public Bandwith Test Mikrotik
New Bandwith test Publik (Datacenter JKT)
IP Address : 103.161.184.37
username : mid
password : midtest
@deltatrend
deltatrend / RP-Profits-8AM-ORB.txt
Last active March 27, 2026 18:05
RP Profits' 8AM ORB strategy, implemented in PineScript
//@version=6
// © QuantPad LLC [made with https://quantpad.ai/]
strategy("'RP Profits' 8AM ORB",
overlay = true,
dynamic_requests = true,
initial_capital = 50000,
default_qty_type = strategy.fixed,
default_qty_value = 2,
commission_type = strategy.commission.cash_per_contract,
commission_value = 1.40,
@onomatopellan
onomatopellan / waydroidwsl2.md
Last active March 27, 2026 18:02
Waydroid in WSL2 with sound (Weston on top of Weston approach)

Waydroid in WSL2 with sound

Requirements

Recommended to install Waydroid in a brand new Ubuntu 25.04 install. Waydroid needs a custom linux kernel. Actually just needs latest kernel for WSL2 with just these changes before compiling:

CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
@arianvp
arianvp / SSH_MACOS_SECURE_ENCLAVES.md
Last active March 27, 2026 17:55
Native Secure Enclaved backed ssh keys on MacOS

Native Secure Enclave backed ssh keys on MacOS

It turns out that MacOS Tahoe can generate and use secure-enclave backed SSH keys! This replaces projects like https://github.com/maxgoedjen/secretive

There is a shared library /usr/lib/ssh-keychain.dylib that traditionally has been used to add smartcard support to ssh by implementing PKCS11Provider interface. However since recently it also implements SecurityKeyProivder which supports loading keys directly from the secure enclave! SecurityKeyProvider is what is normally used to talk to FIDO2 devices (e.g. libfido2 can be used to talk to your Yubikey). However you can now use it to talk to your Secure Enclave instead!

@ProdigySim
ProdigySim / hidden_cvars.txt
Created August 29, 2020 15:08
hidden client cvars from 2041 dump l4d2
_fov : 0 : , "cl", "launcher" : Automates fov command to server.
achievement_evaluate : cmd : , "cl", "launcher" : <internal name> Causes failable achievement to be evaluated
achievement_mark_dirty : cmd : , "cl", "launcher" : Mark achievement data as dirty
achievement_notification_test : cmd : , "cheat", "cl", "launcher" : Test the hud notification UI
achievement_reset : cmd : , "cl", "launcher" : <internal name> Clears specified achievement
achievement_reset_all : cmd : , "cl", "launcher" : Clears all achievements
achievement_status : cmd : , "cl", "launcher" : Shows status of all achievement
achievement_test_clan_count : cmd : , "cl", "launcher" : Determines if specified # of teammates belong to same clan w/local player
achievement_test_friend_count : cmd : , "cl", "launcher" : Counts the #
@osipxd
osipxd / !paper-versions.md
Last active March 27, 2026 17:44
Paper versions links