Tutorial by Examples

Protractor Installation and Setup Step 1: Download and install NodeJS from here. Make sure you have latest version of node. Here, I am using node v7.8.0. You will need to have the Java Development Kit(JDK) installed to run selenium. Step 2: Open your terminal and type in the following command to i...
Let us create a simple Hello World console application and log something to the console using log4net. Once we have this running, we can scale it out to use it in real development scenarios in the following examples. Let's start small and build it up from there. First, we need to create a simple Co...
Suppose you need to work on three different projects project A, project B and project C. project A and project B need python 3 and some required libraries. But for project C you need python 2.7 and dependent libraries. So best practice for this is to separate those project environments. To create v...
Angular 4 is now available! Actually Angular uses semver since Angular 2, which requires the major number being increased when breaking changes were introduced. The Angular team postponed features that cause breaking changes, which will be released with Angular 4. Angular 3 was skipped to be able to...
Suppose you need to work on three different projects project A, project B and project C. project A and project B need python 3 and some required libraries. But for project C you need python 2.7 and dependent libraries. So best practice for this is to separate those project environments. For creati...
In order to chain asynchronous operations and avoid a callback hell, Vala supports the yield statement. Used with an asynchronous invocation, it will pause the current coroutine until the call is completed and extract the result. Used alone, yield pause the current coroutine until it's being woken...
class ConversationsTableViewController: UITableViewController, NSFetchedResultsControllerDelegate { private var fetchedResultsController: NSFetchedResultsController<Conversation>! override func viewDidLoad() { super.viewDidLoad() initializeFetchedResultsController() } private...
Two definitions of Machine Learning are offered. Arthur Samuel described it as: the field of study that gives computers the ability to learn without being explicitly programmed. This is an older, informal definition. Tom Mitchell provides a more modern definition: A computer program is sa...
Supervised learning is a type of machine learning algorithm that uses a known data-set (called the training data-set) to make predictions. Category of supervised learning: Regression: In a regression problem, we are trying to predict results within a continuous output, meaning that we are trying...
Unsupervised learning allows us to approach problems with little or no idea what our results should look like. We can derive structure from data where we don't necessarily know the effect of the variables. Example: Clustering: Is used for exploratory data analysis to find hidden patterns or groupi...
Detailed instructions on getting owl set up or installed.
Detailed instructions on getting influxdb set up or installed.
To get started, create a new Maven webapp (how to do this is outside the scope of this example). In your pom.xml, add the following two dependencies <dependency> <groupId>org.glassfish.jersey.containers</groupId> <artifactId>jersey-container-servlet</artifactId&...
The most common use of formatting is to control display of numeric information contained in the cells in a consistent format, such as currency, a certain number of digits to the right of the decimal point, etc. There are several categories for numbers, such as Currency, Accounting, Percentage, and ...
If you want to use a podfile in more than one target, you can do like this. You can choose the download address when you pod this lib. def testpods pod 'YSDPush', :git => 'https://github.com/youshaoduo/YSDPush.git' end target 'One' do testpods end target 'Two' do testpods ...
Install Bazel from here. Bazel is the primary build system for TensorFlow. Now, edit the WORKSPACE, we can find the WORKSPACE file in the root directory of the TensorFlow that we have cloned earlier. # Uncomment and update the paths in these entries to build the Android demo. #android_sdk_reposit...
Calendar : Key : Privacy - Calendars Usage Description Value : $(PRODUCT_NAME) calendar events Reminder : Key : Privacy - Reminders Usage Description Value : $(PRODUCT_NAME) reminder use Contact : Key : Privacy - Contacts Usage Description Value : $(PRODUCT_...
This example shows how to create a cube using 2D transformation methods skewX() and skewY() on pseudo elements. HTML: <div class="cube"></div> CSS: .cube { background: #dc2e2e; width: 100px; height: 100px; position: relative; margin: 50px; } .cube::be...
To list the available databases, use the following command: $ show databases name: databases name ---- _internal devices ... list of your databases You can connect to one specific database: $ use <database_name> By using a single database, the scope for each subsequent query wi...
When compared to a other database types, a measurement in Influx can be considered, on a very high level, as being similar to a table in relational databases or a collection in document databases. List all measurements for the currently active database: $ show measurements Lists all measurement...

Page 1252 of 1336