Tutorial by Examples: ase

1) IP based vhosts <VirtualHost 192.168.13.37> ServerName example.com DocumentRoot /var/www/domains/example.com/html ErrorLog /var/log/example.com/error.log CustomLog /var/log/example.com/access.log common </VirtualHost> <VirtualHost 192.168.47.11> ...
Providing your microsoft account credentials you can authenticate and receive subscription keys to start with the services. This document describes the various flows in the tool to create your own knowledge base. QnA Maker works in three steps: extraction, training and publishing. To start, feed ...
<# .SYNOPSIS Gets the content of an INI file. .DESCRIPTION Gets the content of an INI file and returns it as a hashtable. .INPUTS System.String .OUTPUTS System.Collections.Hashtable .PARAMETER FilePath Specifies the path to the input INI file. .EXAMPLE ...
<# .SYNOPSIS Reads a CSV file and filters it. .DESCRIPTION The ReadUsersCsv.ps1 script reads a CSV file and filters it on the 'UserName' column. .PARAMETER Path Specifies the path of the CSV input file. .INPUTS None. You cannot pipe objects to ReadUsersCsv.ps1. ...
The DROP DATABASE command removes a database catalog, regardless of its state (offline, read-only, suspect, etc.), from the current SQL Server instance. A database cannot be dropped if there are any database snapshots associated with it, as the database snapshots must be dropped first. A database ...
Create the Root Certificate The Root Certificate (aka CA File) will be used to sign and identify your certificate. To generate it, run the command below. openssl req -nodes -out ca.pem -new -x509 -keyout ca.key Keep the root certificate and its key carefully, both will be used to sign your cert...
No Mutual SSL In this example, we might use the CA File (ca.pem) that you generated during the "How to configure a ReplicaSet to support TLS/SSL?" section. We will assume that the CA file is located in your current folder. We will assume that your 3 nodes are running on mongo1:27017, mon...
To run WordPress on your computer you need to configurate a database first. Be sure that Apache and MySQL are running (see Installing XAMPP step 3) Start a web browser of your choice and enter "localhost" in the address. Choose your preferred language and select in the category "...
After you installed XAMPP and setup the MySQL database you can install WordPress. Download the latest version of WordPress. Unzip the file and insert the folder in the root directory of your webserver (if you used the suggested path during the setup of XAMPP it is "c:\xampp\htdocs"). ...
This will be our example data frame: color name size 0 red rose big 1 blue violet small 2 red tulip small 3 blue harebell small Accessing a single column from a data frame, we can use a simple comparison == to compare every element in the column to the given...
This will be our example data frame: color size name rose red big violet blue small tulip red small harebell blue small We can create a mask based on the index values, just like on a column value. rose_mask = df.index == 'rose' df[rose_mask...
This example will demonstrate how to get started with Firebase in your web apps with JavaScript. We are going to add a text child in our Firebase Database and display it in realtime on our web app. Lets get started. Go to the Firebase Console - https://console.firebase.google.com and create a...
Many watchOS apps (like Activity) have several pages which you could simply scroll between them, which is a very good way to use Apple Watch. To create a page based navigation, Ctrl-Drag from one controller to another, and select "next page", as shown in the following picture:
Another way to parametrize your performance scripts is to use database data through JDBC. JDBC is an application programming interface that defines how a client can access a database. First of all, download the JDBC driver to your database (refer to the database vendor). For example, mysql driver c...
/** * Add meta box to post types. * * @since 1.0.0 */ function myplugin_add_meta_box() { // Set up the default post types/ $types = array( 'post', ); // Optional filter for adding the meta box to more types. Uncomment to use. // $types = apply_filters( 'mypl...
Elixir allows you to add aliases for your mix commands. Cool thing if you want to save yourself some typing. Open mix.exs in your Elixir project. First, add aliases/0 function to the keyword list that the project function returns. Adding () at the end of the aliases function will prevent compiler...
In a Searched Case statement, each option can test one or more values independently. The code below is an example of a searched case statement: DECLARE @FirstName varchar(30) = 'John' DECLARE @LastName varchar(30) = 'Smith' SELECT CASE WHEN LEFT(@FirstName, 1) IN ('a','e','i','o','u') ...
validate Validates whether the project is correct and all the required information are available for the build. initialize Initializes the build environment, e.g. sets properties or creates directories. generate-sources Generates source code to be processed in the 'compile' phase. proces...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <grou...
RDBMSGraph DatabaseTablesGraphsRowsNodesColumns and DataProperties and its valuesConstraintsRelationshipsJoinsTraversal

Page 36 of 40