- https://mohtava.info/git-github-tutorial-part1
- https://mohtava.info/git-github-tutorial-part2
- https://mohtava.info/git-github-tutorial-part3
- https://mohtava.info/git-github-tutorial-part4
- https://mohtava.info/git-github-tutorial-part5
- https://mohtava.info/git-github-tutorial-part6
- https://mohtava.info/git-github-tutorial-part7
- https://mohtava.info/git-github-tutorial-part8
- https://mohtava.info/git-github-tutorial-part9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QtWidgets> | |
#include "addressbook.h" | |
int main(int argc, char *argv[]) | |
{ | |
QApplication app(argc, argv); | |
AddressBook addressBook; | |
addressBook.show(); |
https://github.com/pantor/inja
depends on :
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Upper and lower function, for string cases | |
render("Hello {{ upper(neighbour) }}!", data); // "Hello PETER!" | |
render("Hello {{ lower(neighbour) }}!", data); // "Hello peter!" | |
// Range function, useful for loops | |
render("{% for i in range(4) %}{{ loop.index1 }}{% endfor %}", data); // "1234" | |
render("{% for i in range(3) %}{{ at(guests, i) }} {% endfor %}", data); // "Jeff Tom Patrick " | |
// Length function (please don't combine with range, use list directly...) | |
render("I count {{ length(guests) }} guests.", data); // "I count 3 guests." |