Posts

Showing posts from September, 2018

Python implementation of 30-seconds-of-code

Image
Welcome to 30-seconds-of- -code! A Python implementation of 30-seconds-of-code. Note :- This is in no way affiliated with the original  30-seconds-of-code . If you've come here from javascript land then you should be aware that this project uses  python 3 , therefore not all snippets will work as expected in every python interpreter or on system. You'll need to check your python version with the command  python -v . If you need help installing the latest stable release of python 3 on your system checkout docs.python.org if you run into trouble make sure you research stackoverflow. Eventually it might be worth looking into how to set up a virtual environment for python projects with virtualenv or even a tool like anaconda. This project contains plenty of useful snippets which can help beginners and newcomers quickly ramp-up on grasping python 3's syntax. link:  https://github.com/kriadmin/30-seconds-of-python-code

30 seconds of code

Image
Curated collection of useful Javascript snippets that you can understand in 30 seconds or less.  link:  https://github.com/30-seconds/30-seconds-of-code

How to create an OS from scratch

How to use this tutorial Start with the first folder and go down in order. They build on previous code, so if you jump right to folder 05 and don't know why there is a  mov ah, 0x0e , it's because you missed lecture 02. Really, just go in order. You can always skip stuff you already know. Open the README and read the first line, which details the concepts you should be familiar with before reading the code. Google concepts you are not familiar with. The second line states the goals for each lesson. Read them, because they explain why we do what we do. The "why" is as important as the "how". Read the rest of the README. It is  very concise . (Optional) Try to write the code files by yourself after reading the README. Look at the code examples. They are extremely well commented. (Optional) Experiment with them and try to break things. The only way to make sure you understood something is trying to break it or replicate it with different comm