While browsing some of the projects I'm currently immersed into I came across an old job post (Nov. 2018) from one of the companies that I had my eyes on for a while.
While I am currently employed, I figured it can't help to send an email, right? The answer didn't fail to arrive, tho.
Therefore, after a quick chat with their representative, they asked me submit my CV, a cover letter (?!) and some code sample. Worth to mention that the job posting I initially found was long gone, however they said that they might find something for me. I assume they don't get many random job applications.
So far so good. My CV is up to date, I read a bunch of things about cover letters on dev.to, but I can't figure out a way to submit some code sample.
I have always worked "for someone". All the code I produced belongs to a company. At my current job I do work with the same technologies as the company I am applying to, yet I can't ask my boss to allow me to send some code to a company that might "steal" me.
I can take some classes, change a few variable names and submit that, but I have no idea what the reviewer might see in it.
Therefore, what options do I have? What would you guys recommend?