Tutorial by Examples

#include <vtkAutoInit.h> VTK_MODULE_INIT(vtkRenderingOpenGL2); VTK_MODULE_INIT(vtkRenderingFreeType); VTK_MODULE_INIT(vtkInteractionStyle); #include <vtkSmartPointer.h> #include <vtkTextActor.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include ...
In this example we will implement a custom Checkbox for Android and iOS. Creating the Custom Control namespace CheckBoxCustomRendererExample { public class Checkbox : View { public static readonly BindableProperty IsCheckedProperty = BindableProperty.Create<Checkbox, bool&gt...
Add the following dependency to your pom.xml file: <dependency> <groupId>com.couchbase.client</groupId> <artifactId>java-client</artifactId> <version>2.3.1</version> </dependency> You can check the maven repository for the latest version....
String bucketName = "default"; String bucketPassword = ""; List<String> nodes = Arrays.asList("127.0.0.1"); // IP or hostname of one or more nodes in the cluster Cluster cluster = CouchbaseCluster.create(nodes); Bucket bucket = cluster.openBucket(bucketName,...
Printing webview console messages to logcat To handle console messages from web page you can override onConsoleMessage in WebChromeClient: final class ChromeClient extends WebChromeClient { @Override public boolean onConsoleMessage(ConsoleMessage msg) { Log.d( &quot...
Eclipse would provide its own embedded Maven enviroment out-of-the-box, which is not recommended whenever a certain Maven version must be used or further configuration must be performed (proxy, mirrors and so on): that is, to have full control over which Maven environment would be used by the IDE. ...
.server - create a debugging server .clients - list debugging clients connected to the server .endsrv - end a debugging server .servers - list debugging server connections .remote - start a remote.exe server .noshell - prevent shell commands
<script src='bower_components/webcomponentsjs/webcomponents-lite.min.js'></script> <link rel='import' href='bower_components/polymer/polymer.html'> <link rel='import' href='bower_components/paper-button/paper-button.html'> <link rel='import' href='bower_components/pap...
Tableau is a family of interactive data visualization products focused on Business Intelligence, varying from Tableau Server, aimed for enterprises who want to share dashboards and data across departments, to Tableau Public, that anyone can use for free and publish their dashboards on-line. Indepen...
We are going to say Hello as a message box. function helloWorld() { Browser.msgBox("Hello World"); } To execute the script, either click ▶ or select the menu item Run -> helloWorld
Transaction using JDBC driver is used to control how and when a transaction should commit and rollback. Connection to MySQL server is created using JDBC driver JDBC driver for MySQL can be downloaded here Lets start with getting a connection to database using JDBC driver Class.forName("com.m...
A confusion matrix can be used to evaluate a classifier, based on a set of test data for which the true values are known. It is a simple tool, that helps to give a good visual overview of the performance of the algorithm being used. A confusion matrix is represented as a table. In this example we w...
/_build /cover /deps erl_crash.dump *.ez # Common additions for various operating systems: # MacOS .DS_Store # Common additions for various editors: # JetBrains IDEA, IntelliJ, PyCharm, RubyMine etc. .idea
<ul class="nav nav-tabs" role="tablist"> <li role="presentation"> <a href="#id-of-content-1" role="tab" data-toggle="tab">Tab 1</a> </li> <li role="presentation"> <a href=&...
project structure (ansible best practice). project/ group_vars/ development inventory.development playbook.yaml it all starts with inventory.development [development] dev.fakename.io [development:vars] ansible_host: 192.168.0.1 ansible_user: dev ansible_pass: pass ansible...
Apache 2.4 provides the following 6 directives via the mod_rewrite module: RewriteBase RewriteCond RewriteEngine RewriteMap RewriteOptions RewriteRule The following directives, available previously in Apache 2.2 have been removed: RewriteLock RewriteLog RewriteLogLevel All the dir...
DirectiveDefaultContextDescriptionRewriteBaseNoneDirectory, .htaccessSets base URL for per directory rewriteRewriteEngineoffeverywhereEnable or disable runtime rewrite engine RewriteBase The directive specifies URL prefix to be used for substituting relative paths. RewriteEngine The directive, i...
The directive defines a function which'll lookup a key in the defined map and substitutes the lookup with its replacement from the map. The mapping function is defined with the RewriteMap directive itself as follows: RewriteMap MAPNAME Type:Source and can be referenced in any of the RewriteCond...
Protractor needs only two files to run the first test, spec (test code) file and configuration file. The spec file contains test code and the other one contains configuration details like spec file path, browser details, test url, framework parameters etc. To write first test we will be providing on...
sudo apt-get install libpng-dev on an x86_64 Ubuntu system, this installs libpng version 1.2.x in libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0

Page 828 of 1336