A template is written in LaTeX for Computer Science in UPC (BarcelonaTech). Note that this is not an official UPC template by the CS department. On GitHub: https://github.com/sabirdvd/LaTeX-template-for-UPC-thesis-
Inspired by Zhijian Jiang's "Cheat Sheet For Programming" and the Cheatography cheat sheet format. Personally, I enjoy using this template because it's visually appealing and the listings package makes adding code chunks effortless.
The minted package provides automatic syntax highlighting for source code listings. It uses the excellent pygments highlighter, which provides very high quality highlighting for a wide range of languages.
This example also shows how you can use minted to typeset LaTeX math embedded in your source code.
This example shows how to use LuaTeX to run software tools and utilities installed on Overleaf’s servers, including how to capture, and then typeset, text that would normally be displayed in a terminal window.