Skip to content

Instantly share code, notes, and snippets.

View cousindupree843's full-sized avatar
💭
microsoft

cousindupree843

💭
microsoft
View GitHub Profile
@cousindupree843
cousindupree843 / adobe-font-urls.txt
Created October 30, 2025 06:09 — forked from kgoedecke/adobe-font-urls.txt
Adobe Font URLs - A list of all fonts currently to be found on Adobe Fonts
https://fonts.adobe.com/fonts/novel-mono
https://fonts.adobe.com/fonts/jaf-bernini
https://fonts.adobe.com/fonts/operetta
https://fonts.adobe.com/fonts/beastly
https://fonts.adobe.com/fonts/upgrade
https://fonts.adobe.com/fonts/urbana
https://fonts.adobe.com/fonts/kandin
https://fonts.adobe.com/fonts/bagatela
https://fonts.adobe.com/fonts/brother-1816
https://fonts.adobe.com/fonts/hucklebuckjf
@cousindupree843
cousindupree843 / ReadingPortableExecutable_PE_header.cs
Created October 9, 2025 19:59 — forked from TheWover/ReadingPortableExecutable_PE_header.cs
Reading the Portable Executable (PE) header in C#
// Credits: John Stewien
// From: http://code.cheesydesign.com/?p=572
/*
Reading the Portable Executable (PE) header in C#
My job consists of writing fully custom applications for groups of people. The time pressure of these projects is quite high, so generally people start using the application while I’m still writing it, which means I write it modularly and add features as I go along. I also fix bugs as they are discovered. My clients are 2 tiered where expert users get a new build first, they test if for a while, and if they think it’s acceptable they then pass it on to others.
This method of distribution is quite ad-hoc so when a client rings me up and asks me to view their screen to look at something, it’s useful to know what build they are running. To facillitate this I print the link date in the main Window Title so I instantly have an idea about how old the version is that I am looking at. This date is calculated at run time. To do this requires reading in the Portable Executable (PE) header from th