Being a Software Engineer, I always had this idea to have some kind of element on my personal website which not only showcases my skills but also gives it a bit of “nerd” touch. So, I went ahead and built a static Terminal having custom commands.
Last week I decided to enable dark mode on my personal website. But instead of keeping just dark mode, or keeping a toggle between normal and dark, I decided to keep it smart, and automatically switch between the modes based on browsers preference.
The prefers-color-scheme is used to detect if the content is requested to use a light mode or dark mode. It has one of the following values:
And so it ended up and ended up well. Around 23000 coders from all around the world participated in the 2015 Code Jam Qualification round which took place online on 11th April.
Overall there were four problems arranged from easy level to somewhat intermediate level. I solved small sets for all the four problems and large sets for the first two and ended up @ 2282 world rank with some penalties.
Problem A. Standing Ovation
Here the shyness level of each person is given and that he/she won't stand until other Si audience have already stood up. …