Tutorial by Topics: s

notification name { email = [email protected], [email protected], ... post = http://example.com get = http://example.com next = another-notification-definition timeout = 30m runOnActions = false body = {"text": {{.|json}}} contentType = application/json print = true...
fun TypeName.extensionName(params, ...) { /* body */ } // Declaration fun <T: Any> TypeNameWithGenerics<T>.extensionName(params, ...) { /* body */ } // Declaration with Generics myObj.extensionName(args, ...) // invocation Extensions are resolved statically. This means that t...
When testing, it is sometimes useful to use a test double to manipulate or verify the behaviour of the system under test. The doubles are passed or injected into the class or method under test instead of instances of production code.
Destructuring is a pattern matching technique that is added to Javascript recently in EcmaScript 6. It allows you to bind a group of variables to a corresponding set of values when their pattern matches to the right hand-side and the left hand-side of the expression. let [x, y] = [1, 2] let ...
JSON (JavaScript Object Notation) is a platform and language independent way of serializing objects into plaintext. Because it is often used on web and so is PHP, there is a basic extension for working with JSON in PHP. string json_encode ( mixed $value [, int $options = 0 [, int $depth = 512 ...
new Worker(file) postMessage(data, transfers) onmessage = function(message) { /* ... */ } onerror = function(message) { /* ... */ } terminate() Service workers are only enabled for websites served over HTTPS.
X-macros are a preprocessor-based technique for minimizing repetitious code and maintaining data / code correspondences. Multiple distinct macro expansions based on a common set of data are supported by representing the whole group of expansions via a single master macro, with that macro's replacem...
There are several unit testing tools for Python. This documentation topic describes the basic unittest module. Other testing tools include py.test and nosetests. This python documentation about testing compares several of these tools without going into depth.
Python makes regular expressions available through the re module. Regular expressions are combinations of characters that are interpreted as rules for matching substrings. For instance, the expression 'amount\D+\d+' will match any string composed by the word amount plus an integral number, separate...
__getFunctions() // Returns array of functions for service (WSDL mode only) __getTypes() // Returns array of types for service (WSDL mode only) __getLastRequest() // Returns XML from last request (Requires trace option) __getLastRequestHeaders() // Returns headers from last request (Requires t...
SELECT column_name FROM table_name WHERE column_name operator value SELECT column_name, aggregate_function(column_name) FROM table_name GROUP BY column_name HAVING aggregate_function(column_name) operator value
Apache Subversion (SVN) is a universal and centralized open source version control system. Subversion is currently a project under Apache Software Foundation (ASF) and is licensed under the Apache License, Version 2.0. Subversion is designed to manage and control files and directories and track ...
Some languages require you to define ahead of time what kind of variable you're declaring. JavaScript doesn't do that; it will try to figure that out on its own. Sometimes this can create unexpected behavior. If we use the following HTML <span id="freezing-point">0</span> ...
color: #rgb color: #rrggbb color: rgb[a](<red>, <green>, <blue>[, <alpha>]) color: hsl[a](<hue>, <saturation%>, <lightness%>[, <alpha>]) color: colorkeyword /* green, blue, yellow, orange, red, ..etc */
undef # False '' # Defined, False 0 # Defined, Has Length, False '0' # Defined, Has Length, False Perl does not have a boolean data type, nor does it have any true and false keywords like many other languages. However, every scalar value will evaluate to true or false when evalu...
while (boolean_expression) { block_expression } do { block_expression } while (boolean_expression) ParameterDetailsboolean_expressionAny expression that will evaluate to true or false.block_expressionAny expression or set of expressions that will be evaluated if the boolean_expres...
Pipe operators, available in magrittr, dplyr, and other R packages, process a data-object using a sequence of operations by passing the result of one step as input for the next step using infix-operators rather than the more typical R method of nested function calls. Note that the intended aim of p...
QML is an acronym that stands for Qt Meta-object Language. It is a declarative programming language that is part of the Qt framework. QML's main purpose is fast and easy creation of user interfaces for desktop, mobile and embedded systems. QML allows seamless integration of JavaScript, either dire...

Page 19 of 334