All code from NixOfftopic Plugin Tutorials