This is a compilation of my personal code I consider useful.
Feel free (as in freedom and as in free of charge) to use, change and share my code. Thanks for using it!
Learn to code in different programming languages. The same line of code but in different languages:
Topic | Python | PHP | JavaScript | C | C++ | Java | Bash | PowerShell |
---|---|---|---|---|---|---|---|---|
Hello, world | Python | PHP | JavaScript | C | C++ | Java | Bash | PowerShell |
Variables | Python | PHP | JavaScript | C | C++ | Java | Bash | PowerShell |
Arrays/Lists | Python | PHP | JavaScript | C | C++ | Java | Bash | PowerShell |
Conditionals | Python | PHP | JavaScript | C | C++ | Java | Bash | PowerShell |
Loops | Python | PHP | JavaScript | C | C++ | Java | Bash | PowerShell |
Functions | Python | PHP | JavaScript | C | C++ | Java | Bash | PowerShell |
Classes | Python | PHP | JavaScript | C | C++ | Java | Bash | PowerShell |
Libraries | Python | PHP | JavaScript | C | C++ | Java | Bash | PowerShell |
Input | Python | PHP | JavaScript | C | C++ | Java | Bash | PowerShell |
I use it only for didactic purposes, it does not cover all the best characteristics and the code styles of each language.
- PHP
- XML.
You can find here my personal scripts, including the popular install-opencv.sh.
- OpenCV Viz: a basic OpenCV Viz application with an axis widget and a cube widget.
- PHP Form: a basic PHP form with JavaScript preprocessing.