Tutorial by Examples: st

(Beginner level; IDE: CLion) First, install boost from the Cygwin mirror: open the install exe, search for boost, install the packages. After boost is installed: it will be located in /usr/include/boost. This is where everything is. All #include statements will be a path from the boost folder,...
Generally, most of the data that is to be analyzed will be produced by various data sources like applications servers, social networking sites, cloud servers, and enterprise servers. This data will be in the form of log files and events. Log file − In general, a log file is a file that lists events...
cf apps I usually start with this as now I get the AppName for cut-n-paste and if verifies I am where I want to be in space and cloud. And yes, I really really want to say space and time.
The If control statement allows different code to be executed depending upon the evaluation of a conditional (Boolean) statement. A conditional statement is one that evaluates to either True or False, e.g. x > 2. There are three patterns that can be used when implementing an If statement, which ...
You can install Solr in any system where a suitable Java Runtime Environment (JRE) is available, as detailed below. Currently this includes Linux, OS X, and Microsoft Windows. You will need the Java Runtime Environment (JRE) version 1.8 or higher. At a command line, check your Java version like thi...
You can start Solr by running bin/solr from the Solr directory and this will start Solr in the background, listening on port 8983. $ bin/solr start To change the port Solr listens on, you can use the -p parameter when starting, such as: $ bin/solr start -p 8984 Since Solr is a server, it is more...
The common case for injecting dependencies into a class is with constructor injection. This involves annotating a constructor on the class with @Inject. The CDI manager will look for a constructor with the @Inject annotation when creating an instance of the class. When it finds an @Inject-annotated ...
@RequestScoped public class RequestScopedClass { //This class gets constructed once per Servlet request, and is shared among all CDI-managed classes within that request. @Inject public RequestScopedClass(SomeDependency someDependency) { doSomethingWith(someDependency); ...
Add the rx-android dependency as well as a current version of rx-java to the build.gradle. Because RxAndroid releases are few and far between, it is recommended you also explicitly depend on RxJava's latest version for bug fixes and new features. Rx1 compile 'io.reactivex:rxandroid:1.2.1' co...
Bridge Mode $ docker run –d –-name my_app -p 10000:80 image_name Note that we did not have to specify --net=bridge because this is the default working mode for docker. This allows to run multiple containers to run on same host without any assignment of dynamic port. So BRIDGE mode avoids the por...
Dialog dlg; DialogGroup dGrp; DialogField dfGender; dlg = new Dialog("Enum Dialog"); dGrp = dlg.addGroup("A Group"); dfGender = dlg.addField(enumStr(Gender), "Your Gender"); if (dlg.run()) { info(dfGender.value()); } Enums have to be wrapped inside a...
Detailed instructions on getting DotNetNuke set up or installed.
The Manifest file in DNN provides the framework with the information necessary to install and register a module. Here's a sample Manifest file for the dnnSimpleArticle module. <dotnetnuke type="Package" version="5.0"> <packages> <package name="dnnsimp...
Detailed instructions on getting sharedpreferences set up or installed.
Create a new rails app hello-world from command in Windows and Terminal in Linux. rails new hello-world Now move to new app directory cd hello-world Now generate a controller rails generate controller hello_world index Here index is the name of method in hello_world controller. You can c...
Detailed instructions on getting uicollectionview set up or installed.
The advantage of using vim over a simple text editor like notepad or gedit is that it allows the user to customize it's almost everything about itself. If you ever find yourself doing some kind of action over and over again, vim has a multitude of features that will help you do this action faster a...
Detailed instructions on getting google-compute-engine set up or installed.

Page 332 of 369