Skip to content

Instantly share code, notes, and snippets.

View moinnn's full-sized avatar

Mohammed Senjuri moinnn

  • Real Estate Company
  • Kuwait
  • 08:00 (UTC -12:00)
  • X @moinnn
View GitHub Profile
@moinnn
moinnn / windows-keys.md
Created September 26, 2025 12: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

@moinnn
moinnn / AutoPopulateMeasureDescriptionsFromOpenAI.csx
Created September 9, 2025 04:58 — forked from dgosbell/AutoPopulateMeasureDescriptionsFromOpenAI.csx
This is a script for tabular editor that will loop through all the measures in a model and get ChatGPT to write a description of the calculation.
#r "System.Net.Http"
using System.Net.Http;
using System.Text;
using Newtonsoft.Json.Linq;
// You need to signin to https://platform.openai.com/ and create an API key for your profile then paste that key
// into the apiKey constant below
const string apiKey = "<YOUR API KEY HERE>";
const string uri = "https://api.openai.com/v1/completions";
const string question = "Explain the following calculation in a few sentences in simple business terms without using DAX function names:\n\n";