Skip to content

Instantly share code, notes, and snippets.

View firefinchdev's full-sized avatar
🎯
Focusing

Anirudh Gupta firefinchdev

🎯
Focusing
View GitHub Profile
@firefinchdev
firefinchdev / Mime Type Mappings
Last active November 26, 2020 20:28
Mime Type Mappings for general use
// Kotlin
// The "most popular" extension must come first, so that it's the one returned
// by list["mimeType"].
val mimeTypeList = mutableListOf<Pair<String, String>>()
fun add(mimeType: String, extension: String) {
// If we have an existing x -> y mapping, we do not want to
// override it with another mapping x -> y2.
// If a mime type maps to several extensions
// the first extension added is considered the most popular
// so we do not want to overwrite it later.
Organization name: leexij@gmail.com
Serial Key: eNrzzU/OLi0odswsqslJTa3IzHJIz03MzNFLzs+tMTQyNrcwsTQyAIEa5xpDAIFxDy8k
@firefinchdev
firefinchdev / gist:a5b0edf60d877952d05dcda35cbc5935
Created May 24, 2020 20:35
UEFI boot: how does that actually work
Original Source: https://www.happyassassin.net/posts/2014/01/25/uefi-boot-how-does-that-actually-work-then/
UEFI boot: how does that actually work, then?
Adam Williamson 2014-01-25 21:07 Source
It's AdamW Essay Time again! If you're looking for something short and snappy, look elsewhere.
Kamil Paral kindly informs me I'm a chronic sufferer of Graphomania. Always nice to know what's wrong with you.
IMPORTANT NOTE TO INDUSTRY FOLKS: This blog post is aimed at regular everyday folks; it's intended to dispel a few common myths and help regular people understand UEFI a bit better. It is not a low-level fully detailed and 100% technically accurate explanation, and I'm not a professional firmware engineer or anything like that. If you're actually building an operating system or hardware or something, please don't rely on my simplified explanations or ask me for help; I'm just an idiot on the internet. If you're doing that kind of thing and you have money, join the UEFI Forum or ask your suppliers or check your ref
@firefinchdev
firefinchdev / Activate Office 2019 for macOS VoL.md
Created March 25, 2020 19:17 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref