Skip to content

Instantly share code, notes, and snippets.

View Pdawg-bytes's full-sized avatar
🤩
Writing apps in .NET

Pdawg11239 Pdawg-bytes

🤩
Writing apps in .NET
View GitHub Profile
@ahmed605
ahmed605 / CompositionExpressions.md
Last active April 1, 2024 17:31
Composition Expression Language

Composition Expression Language

Important

Composition Expression Language is case-insensitive.

Note

Only functions/operators not in the Microsoft Learn doc have their full signature mentioned here, others are just listed by their name

This gist documents the primitive types, subchannels, keywords, operators, functions, member functions, and animatable properties of the Composition Expression Language used for Composition Expression Animations since the Microsoft Learn documentation is outdated.

@NSG650
NSG650 / NtGdiGetCharWidthInfo_DoS_PoC.c
Last active February 8, 2023 10:21
Denial of Service bug in Windows Insider build 25284.1000 NtGdiGetCharWidthInfo
// This works on Windows 11 Build 25290.1010 as well
#include <stdio.h>
#include <windows.h>
// Ripped out from ReactOS
typedef struct _CHWIDTHINFO // Based on FD_DEVICEMETRICS
{
LONG lMinA;
LONG lMinC;
@pvieito
pvieito / gist:ee6d2c8934a8f84b9aeb467585277b8a
Last active April 13, 2024 05:39
Consumer keys of official Twitter clients

Twitter API Keys

Twitter for iPhone

Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU

Twitter for Android

Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for Google TV

Consumer key: iAtYJ4HpUVfIUoNnif1DA

@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active May 20, 2024 11:33
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S