Skip to content

Instantly share code, notes, and snippets.

View Sveagruva's full-sized avatar

Sveagruva Sveagruva

View GitHub Profile
@TheCherno
TheCherno / Instrumentor.h
Last active November 14, 2024 08:36
Basic Instrumentation Profiler
//
// Basic instrumentation profiler by Cherno
// Usage: include this header file somewhere in your code (eg. precompiled header), and then use like:
//
// Instrumentor::Get().BeginSession("Session Name"); // Begin session
// {
// InstrumentationTimer timer("Profiled Scope Name"); // Place code like this in scopes you'd like to include in profiling
// // Code
// }
@Gh61
Gh61 / chrome.intellisense.js
Last active October 5, 2023 19:22 — forked from cmc19/chrome.intellisense.js
Visual studio intellisense file for chrome apps and extensions. Generated from latest source code. Manualy added missing properties.
var chrome = {};
chrome.devtools = {};
chrome.declarativeWebRequest = {};
//#region Types
//#region Chrome.AccessibilityObject
chrome.AccessibilityObject = function () {
/// <field name='type' type='string'>The type of this object, which determines the contents of 'details'.</field>
/// <field name='name' type='string'>The localized name of the object, like OK or Password. Do not rely on an exact string match because the text will be in the user's language and may change in the future.</field>
/// <field name='context' type='string'>The localized name of the context for the object, like the name of the surrounding toolbar or group of controls.</field>
/// <field name='details' type=''>Other details like the state, depending on the type of object.</field>