How to compile emacs 28 on Fedora

In this post i want to describe how i compile emacs from source on Fedora
A simple way of checking what system you are currently on

A quick example on how to guess what system (Windows, mac, Linux) and then execute some lisp based upon that
Howto configure irc in doom emacs with circe and pass

Configure irc in emacs with circe and pass (installed with NixOS)