Tutorial by Topics: inter

ParameterDetailshostsArray of hosts in the form of object containing keys host and port. Default host is 'localhost' and port is 9200. A sample entry looks like [{"host": "ip of es server", "port": 9200}]sniff_on_startBoolean if you want the client to sniff nodes on...
Assuming a class named Class... type *ptr = &Class::member; // Point to static members only type Class::*ptr = &Class::member; // Point to non-static Class members For pointers to non-static class members, given the following two definitions: Class instance; Class *...
ActiveRecord is the M in MVC which is the layer of the system responsible for representing business data and logic. The technique that connects the rich objects of an application to tables in a relational database management system is Object Relational Mapper(ORM). ActiveRecord will perform queries...
Elm (receiving): port functionName : (value -> msg) -> Sub msg JS (sending): app.ports.functionName.send(value) Elm (sending): port functionName : args -> Cmd msg JS (receiving): app.ports.functionName.subscribe(function(args) { ... }); Consult http://guide.elm-lang.org/interop...
gettext(message) ngettext(singular, plural, number) ugettext(message) ungettext(singular, plural, number) pgettext(context, message) npgettext(context, singular, plural, number) gettext_lazy(message) ngettext_lazy(singular, plural, number=None) ugettext_lazy(message) ungettext_lazy(singu...
I18n.t("key") I18n.translate("key") # equivalent to I18n.t("key") I18n.t("key", count: 4) I18n.t("key", param1: "Something", param2: "Else") I18n.t("doesnt_exist", default: "key") # specify a default i...
digitalPinToInterrupt(pin); // converts a pin id to an interrupt id, for use with attachInterrupt() and detachInterrupt(). attachInterrupt(digitalPinToInterrupt(pin), ISR, mode); // recommended attachInterrupt(interrupt, ISR, mode); // not recommended detachInterrupt(digitalPinToI...
Quitting the application on window close It's easy to forget to quit the application when the window is closed. Remember to add the following line. frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); //Quit the application when the JFrame is closed
The interface INotifyPropertyChanged is needed whenever you need to make your class report the changes happening to its properties. The interface defines a single event PropertyChanged. With XAML Binding the PropertyChanged event is wired up automatically so you only need to implement the INotify...

Page 2 of 7