Tutorial by Examples: ti

Recommended way to install Slim framework is by using composer. Create an empty directory This directory will contain all required files for our Slim application to run. We call this directory root directory so we can address all other application files and directories relative to root directo...
This method doesn't require initialization of the tracker, which is handy if the state should be changed outside of the site context (for example in the shell). var stateManager = AutomationStateManager.Create(contact); automationStateManager.MoveToEngagementState(stateItem.ParentID, stateId); st...
url: /api/data/v8.0/quotedetails json: { "[email protected]": "/products(11c0dbad-91df-e311-b8e5-6c3be5a8b200)", "[email protected]" : "/quotes(69b5e1ae-037f-e611-80ed-fc15b428dcdc)", "[email protected]" : "/uoms(73a5daea-6dd...
Specifies the max degree of parallelism for the query specifying this option. SELECT OrderID, AVG(Quantity) FROM Sales.OrderLines GROUP BY OrderID OPTION (MAXDOP 2); This option overrides the MAXDOP configuration option of sp_configure and Resource Governor. If MAXDOP is set to zero then...
By using the method GET_SUBMATCH of class CL_ABAP_MATCHER, we can get the data in the groups/subgroups. Goal: get the token to the right of the keyword 'Type'. DATA: lv_pattern TYPE string VALUE 'type\s+(\w+)', lv_test TYPE string VALUE 'data lwa type mara'. CREATE OBJECT ref_regex EX...
JSON_MODIFY function enables you to insert JSON objects into JSON text: declare @json nvarchar(4000) = N'{"Id":1,"Name":"Toy Car"}' set @json = JSON_MODIFY(@json, '$.Price', JSON_QUERY('{"Min":34.99,"Recommended":45.49}'))...
1. Bagged Decision Trees Bagging performs best with algorithms that have high variance. A popular example are decision trees, often constructed without pruning. In the example below see an example of using the BaggingClassifier with the Classification and Regression Trees algorithm (DecisionTreeCl...
Create a new text file named HelloWorld.java and paste this code in it: import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class HelloWorld { public static void main(String[] args) { final Display display = new Display(); ...
[UIView animateWithDuration:1.0 animations:^{ someView.alpha = 0; otherView.alpha = 1; } completion:^(BOOL finished) { [someView removeFromSuperview]; }]; The carat “^” character defines a block. For example, ^{ … } is a block. More specifically, it is a blo...
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <list> <value>classpath:ReleaseBundle.properties</value> </list> </bean>
Big Data, in its most basic form, can be described as the umbrella term metricized by different aspects of data. These different aspects are Volume(Huge quantity of Data), Velocity(Greater dataflow speeds), Variety(Structured, Unstructured and Semi-structured Data) and Veracity(Making right decis...
try: metadata = metadata['properties'] except KeyError: pass
Add Firebase to Your Android Project Add Firebase to your app To add Firebase to your app you'll need a Firebase project and a Firebase configuration file for your app. Create a Firebase project in the Firebase console, if you don't already have one. If you already have an existing Google proje...
Creating arrays explicitly using ArrayNew() Declare an array with the ArrayNew function. Specify the number of dimensions as an argument. ArrayNew(dimension) creates an array of 1–3 dimensions. ColdFusion arrays expand dynamically as data is added. ArrayNew() returns an array. History Intr...
The header ctype.h is a part of the standard C library. It provides functions for classifying and converting characters. All of these functions take one parameter, an int that must be either EOF or representable as an unsigned char. The names of the classifying functions are prefixed with 'is'. Ea...
Character modifying functions include converting characters to upper or lower case characters, converting numbers to formatted numbers, performing character manipulation, etc. The lower(char) function converts the given character parameter to be lower-cased characters. SELECT customer_id, lower(cu...
Before Auto Layout, you always had to tell buttons and other controls how big they should be, either by setting their frame or bounds properties or by resizing them in Interface Builder. But it turns out that most controls are perfectly capable of determining how much space they need, based on their...
<!DOCTYPE html> <html lang="en-EN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-param" content="_csrf"> <me...
When browser navigates to a dynamic page (most commonly AJAX-based web application), the elements on the page can take different time to load, and furthermore: some elements will only load in response to some user actions. In such cases direct retrieval of an element may fail: # Don't do this: may ...

Page 348 of 505