- 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 <boost/type_index.hpp> | |
#include <iostream> | |
#define DEFINE_NAME \ | |
std::string name \ | |
{ \ | |
boost::typeindex::type_id<decltype(*this)>().pretty_name() \ | |
}; | |
class Test2 |
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
// use admin database | |
use admin | |
// create function | |
db.system.js.save( | |
{ | |
_id: "testEchoFunc", | |
value : function(x) { return x; } | |
} | |
) |
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
https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2017 |
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
[[ noreturn ]] void f() { | |
throw "error"; | |
// OK | |
} |
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 <QGuiApplication> | |
#include <QQmlApplicationEngine> | |
#include <QtQml/QQmlContext> | |
#include "YourClass.h" | |
int main(int argc, char *argv[]) | |
{ | |
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); | |
QGuiApplication app(argc, argv); |
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 <algorithm> | |
#include <iostream> | |
#include <string> | |
#include <utility> | |
class TestClass { | |
public: | |
int i; | |
TestClass() : i(100) |