Skip to content

Instantly share code, notes, and snippets.

Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home/Core N 3KHY7-WNT83-DGQKR-F7HPR-844BM
Professional W269N-WFGWX-YVC9B-4J6C9-T83GX
Professional N MH37W-N47XK-V7XM9-C7227-GCQG9
Professional Enterprise
Professional Workstation
Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
@mfd
mfd / _sanfrancisco-font.md
Last active May 4, 2024 22:33
San Francisco Web Font

Web fonts

Custom webfonts

https://gist.githubusercontent.com/mfd/614e2e80a22b878bde63cb471cbe677e/raw/4996edf5eb9aea434e0cbdc81923fb110a29d060/sanfrancisco-font.css

<link rel="stylesheet prefetch" href="https://gist.githubusercontent.com/mfd/614e2e80a22b878bde63cb471cbe677e/raw/eef2aabfd0d588d43285431186a0cf70305ceb80/sanfrancisco-font.css">

#include <atlbase.h>
#include <atlapp.h>
#include <atlwin.h>
#include <atlimage.h>
#define IDB_TOP_LEFT_CORNER 101
#define IDB_TOP_RIGHT_CORNER 102
#define IDB_TOP_EDGE 103
#define IDB_BOTTOM_LEFT_CORNER 104
#define IDB_BOTTOM_RIGHT_CORNER 105
#include <atlbase.h>
#include <atlapp.h>
#include <atlwin.h>
#include <atlimage.h>
#define IDB_TOP_LEFT_CORNER 101
#define IDB_TOP_RIGHT_CORNER 102
#define IDB_TOP_EDGE 103
#define IDB_BOTTOM_LEFT_CORNER 104
#define IDB_BOTTOM_RIGHT_CORNER 105
#include <atlbase.h>
#include <atlapp.h>
#include <atlwin.h>
#include <atlimage.h>
class CustomWindow : public CWindowImpl<CustomWindow> {
public:
DECLARE_WND_CLASS_EX(_T("CustomWindowClass"), CS_HREDRAW | CS_VREDRAW, COLOR_WINDOW)
BEGIN_MSG_MAP(CustomWindow)
@BlackOz-DM
BlackOz-DM / windows-keys.md
Created May 4, 2024 22:32 — forked from rvrsh3ll/windows-keys.md
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@rvrsh3ll
rvrsh3ll / windows-keys.md
Created February 18, 2024 22:44
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@MarkRBest
MarkRBest / risk_manager.py
Created April 6, 2024 18:42
Risk manager using array indexing
from enum import IntEnum
class Exchange(IntEnum):
Binance = 0
Bybit = 1
Okx = 2
class Currency(IntEnum):
BTC = 0
ETH = 0