Ask HN: What is the most unethical thing you've done as a programmer?
When I finished my studies I was sold as a trainer for Microsoft training
When I was assigned a course, I had about 2 days to a week to discover the technology and prepare the course. Often I didn't even know the name of the technology I was supposed to be an expert on.When you looked at the official conditions of the training, you had to have 10 years of experience just to have the right to follow it, I was supposed to have passed diplomas to have the right to line up. I finally realized that my company had to produce fake degrees with a fake resume or I must have been 10 years older developpers.It is obvious afterwards that employees, or even managers of training centers were in the scheme, there is indeed in my country a law that obliges companies to spend money in training every year.
The company was doing this scheme on a large scale, we were 40 
 The worst part was that most of my colleagues were younger trainees than me, only three or four of us were officially employed and had real diplomas, so we were sent to the most difficult cases.The advice we received was to be aggressive with the students to prevent them from asking too many questions, to be impeccably dressed and to be "handsome". 
It was not easy to teach to 15 years older 
So that my classes were not too pathetic and to make a minimum illusion I often prepared my courses the day before until 5 o'clock in the morning.The trainees who gave the training deemed easier were recruited on the line, preferably if they were foreign, they were sent to give a test training and if it went badly they were sent back on the spot without remuneration. 
I don't know how or why, but I did about nine months of this before I left.