Ex Machina Easter Egg Code

Recently I watched Ex Machina (2015) and a scene made me curious. During a scene that Caleb is hacking into Nathan’s computer, you can see him typing a code, clearly in Python if you know the language. I decided to rewrite this code and run it to see the output. You can check the code below or download it from my GitHub: https://github.com/doretox/ex-machina-easter-egg Just looking at the code it says nothing, but if you run it using Python 2 you will get the following output:...

March 20, 2021 · doreox

A really simple guessing game in C

Here is the first of three basic C programs that I intend to post here as examples. In my early days I struggled to find real programs to exercise and see how concepts are applied. In this first program, I applied inicial concepts such as: variables; functions; loops (ifs, while…). I think the only part of my program that can confuse beginners is how I generated a random number here:...

May 2, 2020 · doreox